MCM-iMX95 Yocto Linux: Device trees

From Compulab Mediawiki
Jump to: navigation, search

Available Device Trees

The current release includes the following dtb files:

Deafualt Device tree: mcm-imx95-evk.dtb [1]

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 and device tree overlay name that will be loaded into the RAM.

The U-boot fdtofile variable contains the device tree overlay name that will be loaded into the RAM in addition to main device tree.

This variable can be changed by:

Environment Command
U-Boot setenv fdtfile <fdt_file_name>; saveenv;
Linux fw_setenv fdtfile <fdt_file_name>

fw_setenv fdtofile 'fdto_file_name_1 fdto_file_name_2 fdto_file_name_3'

  • 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>