mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Thomas Bonnefille <thomas.bonnefille@bootlin.com>,
	Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 2/4] amend! FIT: add cmdline to whitelist of non-hashed properties
Date: Fri,  2 Oct 2026 13:26:32 +0200	[thread overview]
Message-ID: <20261002112648.2899729-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20261002112648.2899729-1-a.fatoum@pengutronix.de>

FIT: add cmdline to whitelist of non-hashed properties

The cmdline parameter of the fitimage is an additional optional property
in a configuration node that is used to transmit information to the next
bootstage.

Just like description, compatible and default, this property doesn't
reference an image (e.g. a kernel, a ramdisk or an fdt) and so it is
hashed as property within the node and not as part of the list of hashed
images.

Add `cmdline` to the whitelist of property in a configuration node that
aren't images.

Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Link: https://lore.barebox.org/20260924-add-cmdline-fitimage-v2-3-4a665e165002@bootlin.com
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[ahmad: point out that the property is hashed, just not as an image]
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
-- 
2.47.3




  reply	other threads:[~2026-10-02 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 11:26 [PATCH 1/4] bootm: define LINUX_BOOTARGS_BOOTM_EARLY/LATE in <bootm.h> Ahmad Fatoum
2026-10-02 11:26 ` Ahmad Fatoum [this message]
2026-10-02 11:26 ` [PATCH 3/4] amend! bootm: add fitimage command line to bootargs Ahmad Fatoum
2026-10-02 11:26 ` [PATCH 4/4] test: py: add test for fit cmdline parameter order Ahmad Fatoum

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=20261002112648.2899729-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=thomas.bonnefille@bootlin.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