]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
uboot-sign: Add support for setting firmware property in FIT configuration
authorJamin Lin <jamin_lin@aspeedtech.com>
Wed, 21 May 2025 01:21:21 +0000 (09:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 May 2025 10:13:15 +0000 (11:13 +0100)
commit82e1d7cbc855dbe4bec93f9b049851cbe376ea5e
treea7e122e0ba11d2991b4d6832d3a89054ff979d73
parent1d5d22a38188f2c879e289a9732b620b0a6f7a6e
uboot-sign: Add support for setting firmware property in FIT configuration

Add the ability to set the "firmware" property in the FIT configuration node
by introducing the UBOOT_FIT_CONF_FIRMWARE variable.

This property defines the primary image to be executed during boot. If it is
set, its value will be written into the FIT configuration under the "firmware"
field. If not set, the bootloader will fall back to using the first entry in
the "loadables" list.

Using this property improves control over the boot sequence, especially in
multi-binary boot scenarios.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/uboot-sign.bbclass