]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic/bootimg-efi: Add support for loading devicetree files
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 30 Jul 2022 08:24:43 +0000 (10:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Aug 2022 10:29:57 +0000 (11:29 +0100)
commitc5a14f39a6717a99b510cb97aa2fb403d4b98d99
treeb3151e7e0cd2cc0c10e2562048087616d90667fe
parentc700cfd88473b9ed4e12a6620fb089f41bd95a9e
wic/bootimg-efi: Add support for loading devicetree files

For device tree using systems, add support to set a custom devices tree
during UEFI boot. This requires to copy the DTB file to the boot
partition and to add the respective loader entries to the configuration
files.

Both grub and systemd-boot support only loading a specific device tree.
Therefore refuse to work if the 'dtb' parameter contains more than one
entry.

Out of scope for now are overlays (only supported by systemd-boot).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
[Luca: rebased on commit 98e9d435b278 ("wic/bootimg-efi: use cross objcopy when building unified kernel image")]
scripts/lib/wic/plugins/source/bootimg-efi.py