From: Jamin Lin <jamin_lin@aspeedtech.com>
To: <docs@lists.yoctoproject.org>
Cc: <troy_lee@aspeedtech.com>, <jamin_lin@aspeedtech.com>
Subject: [PATCH v2] ref-manual: uboot-sign: Support firmware property in FIT config
Date: Fri, 23 May 2025 16:43:14 +0800 [thread overview]
Message-ID: <20250523084314.775497-1-jamin_lin@aspeedtech.com> (raw)
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.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
documentation/ref-manual/classes.rst | 2 ++
documentation/ref-manual/variables.rst | 8 ++++++++
2 files changed, 10 insertions(+)
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 5187033f7..54a98bf24 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -3426,6 +3426,8 @@ The variables used by this class are:
- :term:`UBOOT_FIT_USER_SETTINGS`: adds a user-specific snippet to the U-Boot
Image Tree Source (ITS). Users can include their custom U-Boot Image Tree
Source (ITS) snippet in this variable.
+- :term:`UBOOT_FIT_CONF_FIRMWARE`: adds one image to the ``firmware`` property
+ of the configuration node.
- :term:`UBOOT_FIT_CONF_USER_LOADABLES`: adds one or more user-defined images
to the ``loadables`` property of the configuration node.
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 643a3e7ae..b382e2281 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -10327,6 +10327,14 @@ system and gives an overview of their function and contents.
do_compile[depends] += "trusted-firmware-a:do_deploy"
+ :term:`UBOOT_FIT_CONF_FIRMWARE`
+ Adds one image to the ``firmware`` property of the configuration node
+ of the U-Boot Image Tree Source (ITS). Sets the firmware property to select
+ the image to boot first. If not set, the first entry in "loadables" is used
+ to boot instead::
+
+ UBOOT_FIT_CONF_FIRMWARE = "fwa"
+
:term:`UBOOT_FIT_CONF_USER_LOADABLES`
Adds one or more user-defined images to the ``loadables`` property of the
configuration node of the U-Boot Image Tree Source (ITS). This variable
--
2.43.0
next reply other threads:[~2025-05-23 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-23 8:43 Jamin Lin [this message]
2025-05-26 6:41 ` [docs] [PATCH v2] ref-manual: uboot-sign: Support firmware property in FIT config Antonin Godard
2025-05-26 7:30 ` Jamin Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250523084314.775497-1-jamin_lin@aspeedtech.com \
--to=jamin_lin@aspeedtech.com \
--cc=docs@lists.yoctoproject.org \
--cc=troy_lee@aspeedtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox