summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-05-26 15:26:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-26 13:02:49 +0100
commitfe11965d145fd74617adbfb107e13132f2c68f16 (patch)
tree137dd37b5816ff831c68dd8e64a211164ce22820
parente2192ecec1572ce83544d40f3b325760e33db45c (diff)
downloadpoky-fe11965d145fd74617adbfb107e13132f2c68f16.tar.gz
ref-manual: uboot-sign: Support firmware property in FIT config
Add documentation for the UBOOT_FIT_CONF_FIRMWARE variable, which allows users to specify an image to be assigned to the "firmware" property of the FIT configuration node. This explicitly defines the primary image to boot, instead of relying on the first entry in the "loadables" list. (From yocto-docs rev: f72fc69e2d2a074d5eaf1cc36b30726de58e3ab5) Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/classes.rst2
-rw-r--r--documentation/ref-manual/variables.rst9
2 files changed, 11 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 5187033f77..54a98bf24f 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -3426,6 +3426,8 @@ The variables used by this class are:
3426- :term:`UBOOT_FIT_USER_SETTINGS`: adds a user-specific snippet to the U-Boot 3426- :term:`UBOOT_FIT_USER_SETTINGS`: adds a user-specific snippet to the U-Boot
3427 Image Tree Source (ITS). Users can include their custom U-Boot Image Tree 3427 Image Tree Source (ITS). Users can include their custom U-Boot Image Tree
3428 Source (ITS) snippet in this variable. 3428 Source (ITS) snippet in this variable.
3429- :term:`UBOOT_FIT_CONF_FIRMWARE`: adds one image to the ``firmware`` property
3430 of the configuration node.
3429- :term:`UBOOT_FIT_CONF_USER_LOADABLES`: adds one or more user-defined images 3431- :term:`UBOOT_FIT_CONF_USER_LOADABLES`: adds one or more user-defined images
3430 to the ``loadables`` property of the configuration node. 3432 to the ``loadables`` property of the configuration node.
3431 3433
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 36cc78bb0a..c697bdbbb7 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -10439,6 +10439,15 @@ system and gives an overview of their function and contents.
10439 10439
10440 do_compile[depends] += "trusted-firmware-a:do_deploy" 10440 do_compile[depends] += "trusted-firmware-a:do_deploy"
10441 10441
10442 :term:`UBOOT_FIT_CONF_FIRMWARE`
10443 Adds one image to the ``firmware`` property of the configuration node of
10444 the U-Boot Image Tree Source (ITS). Sets the ``firmware`` property to
10445 select the image to boot first::
10446
10447 UBOOT_FIT_CONF_FIRMWARE = "fwa"
10448
10449 If not set, the first entry in "loadables" is used to boot instead.
10450
10442 :term:`UBOOT_FIT_CONF_USER_LOADABLES` 10451 :term:`UBOOT_FIT_CONF_USER_LOADABLES`
10443 Adds one or more user-defined images to the ``loadables`` property of the 10452 Adds one or more user-defined images to the ``loadables`` property of the
10444 configuration node of the U-Boot Image Tree Source (ITS). This variable 10453 configuration node of the U-Boot Image Tree Source (ITS). This variable