3/6/2023 10:26 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating: (43) |
Almost, but DEVICE_TREE_OVERLAYS is Yocto, this is Isar. In Isar, you can add overlays to u-boot-script (when not using UEFI boot) by defining a custom /etc/default/u-boot-script config file (https://github.com/ilbers/isar/blob/master/meta/recipes-bsp/u-boot-script/files/u-boot-script). How to build an overlay can be derived from https://github.com/siemens/jailhouse-images/tree/master/recipes-bsp/rpi-firmware. For installing on the target, the overlay dtbo has to be added to IMAGE_BOOT_FILES, similar to https://github.com/siemens/jailhouse-images/blob/master/conf/machine/rpi4.conf#L26. All that is not very convenient I have to admit, likely because that case was not stressed frequently enough yet. Much simpler would be writing a patch for the kernel that modifies the effective dtb and adding that in a bbappend to the iot2050 kernel recipe so that no extra deployment is needed. That would also be compatible with UEFI and secure boot out of the box. |
Follow us on