From: Sascha Hauer <s.hauer@pengutronix.de>
To: Robin van der Gracht <robin@protonic.nl>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: boards: protonic-imx6: Re-introduce generic boot target board string
Date: Mon, 31 Mar 2025 09:44:53 +0200 [thread overview]
Message-ID: <Z-pH9YkFy9vGiFKU@pengutronix.de> (raw)
In-Reply-To: <20250327100122.654317-1-robin@protonic.nl>
Hi Robin,
On Thu, Mar 27, 2025 at 11:01:22AM +0100, Robin van der Gracht wrote:
> This allows using a single bootable usb drive for multiple boards.
>
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> ---
> arch/arm/boards/protonic-imx6/board.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boards/protonic-imx6/board.c b/arch/arm/boards/protonic-imx6/board.c
> index 19e58627c6..e4debb1c66 100644
> --- a/arch/arm/boards/protonic-imx6/board.c
> +++ b/arch/arm/boards/protonic-imx6/board.c
> @@ -374,7 +374,7 @@ static int prt_imx6_usb_boot(struct bootentry *entry, int verbose, int dryrun)
>
> *second_word = 0;
>
> - if (strcmp(buf, priv->name)) {
> + if (strcmp(buf, priv->name) && strcmp(buf, "prti6qp")) {
Where does this "prti6qp" string come from? It sounds like a very
specific machine, but is used as a generic value to short circuit the
compatible check.
Shouldn't it be something like "prt,generic-imx6" or whatever else this
image is supposed to work on?
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-03-31 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-27 10:01 Robin van der Gracht
2025-03-31 7:44 ` Sascha Hauer [this message]
2025-03-31 8:01 ` Robin van der Gracht
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=Z-pH9YkFy9vGiFKU@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=robin@protonic.nl \
/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