DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>,
	Ahmad Fatoum <a.fatoum@pengutronix.de>,
	Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH v2 2/3] blspec-entry: Backport fix from ptxdist master
Date: Wed,  6 Mar 2024 10:25:29 +0100	[thread overview]
Message-ID: <20240306092530.1448784-3-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20240306092530.1448784-1-a.fatoum@pengutronix.de>

From: Alexander Dahl <ada@thorsis.com>

Backport PTXdist commit 0d360df876bc26f709cf (2024-02-02, Alexander
Dahl: "blspec-entry: Fix kernel entry for FIT image"), otherwise
barebox fails when trying to boot a FIT image like this:

    ERROR: could not open /mnt/mmc0.1//boot//boot/linux.fit: No such file or directory
    ERROR: blspec: Booting failed

Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
v1 -> v2:
  - amended commit message like suggested by Roland
---
 rules/blspec-entry.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/blspec-entry.make b/rules/blspec-entry.make
index 7523009f6197..4421594016e1 100644
--- a/rules/blspec-entry.make
+++ b/rules/blspec-entry.make
@@ -30,7 +30,7 @@ endif
 BLSPEC_ENTRY_LICENSE	= ignore
 
 ifdef PTXCONF_KERNEL_FIT
-BLSPEC_KERNEL_IMAGE	= /boot/linux.fit
+BLSPEC_KERNEL_IMAGE	= linux.fit
 else
 BLSPEC_KERNEL_IMAGE	= $(KERNEL_IMAGE)
 endif
-- 
2.39.2




  parent reply	other threads:[~2024-03-06  9:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06  9:25 [DistroKit] [PATCH v2 0/3] v7a: barebox: Support FIT images Ahmad Fatoum
2024-03-06  9:25 ` [DistroKit] [PATCH v2 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Ahmad Fatoum
2024-03-13 11:59   ` Roland Hieber
2024-03-06  9:25 ` Ahmad Fatoum [this message]
2024-03-06  9:25 ` [DistroKit] [PATCH v2 3/3] platform: v7a: barebox: Enable FIT image support Ahmad Fatoum
2024-03-11 12:05 ` [DistroKit] [PATCH v2 0/3] v7a: barebox: Support FIT images Robert Schwebel

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=20240306092530.1448784-3-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=ada@thorsis.com \
    --cc=distrokit@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /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