UCM-iMX95 Yocto Linux: Device trees

From Compulab Mediawiki
Revision as of 15:52, 9 January 2025 by Igor (talk | contribs) (Created page with "== Available Device Trees == The current release includes the following '''dtb''' files: {| class="wikitable" style="text-align:left;" |- | align="center" | '''Device Tree'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Available Device Trees

The current release includes the following dtb files:

Device Tree Hardware Configuration and Features Description
ucm-imx95-headless.dtb default hardware configuration

ucm-imx95.dtb

ucm-imx95-headless.dtb
ucm-imx95-lvds.dtbo

headless
+lvds

Set a device tree

The current release provides two methods to switch between dtb files:

  • U-Boot environment

The U-boot fdtfile variable contains the device tree name that will be loaded into the RAM. This variable can be changed by:

Environment Command
U-Boot setenv fdtfile <fdt_file_name>; saveenv;
Linux fw_setenv fdtfile <fdt_file_name>
  • GRUB environment (if the image was created with the meta-compulab-uefi layer)
Environment Command/Procedure
GRUB Boot Menu Goto "Advanced Boot Options" and choose a device tree from the provided dtb list.
Linux grub-editenv /boot/EFI/BOOT/grubenv set fdt_file=<fdt_file_name>