From: Hendrik Donner <hd@os-cillation.de>
To: u-boot@lists.denx.de
Cc: Hendrik Donner <hd@os-cillation.de>,
Oliver Graute <oliver.graute@kococonnector.com>,
Stefano Babic <sbabic@denx.de>,
Fabio Estevam <festevam@gmail.com>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>
Subject: [PATCH 1/2] imx8qm: Fix build when using SPL
Date: Wed, 5 Mar 2025 19:35:42 +0100 [thread overview]
Message-ID: <20250305183544.40525-2-hd@os-cillation.de> (raw)
In-Reply-To: <20250305183544.40525-1-hd@os-cillation.de>
Analog to 645a42d7ee88dc8c3848c15d178b0f111c636933, imx8qm based boards
which use SPL currently fail during make all:
Image 'imx-boot' is missing external blobs and is non-functional: spl
/binman/imx-boot/spl (spl.bin):
Missing blob
Image 'imx-boot' has faked external blobs and is non-functional: spl.bin
Some images are invalid
Guard creation of flash.bin with CONFIG_XPL_BUILD option.
Fixes: c9713c155127 ("imx8-u-boot: Fix SPL guard option")
Tested-by: Oliver Graute <oliver.graute@kococonnector.com>
Signed-off-by: Hendrik Donner <hd@os-cillation.de>
---
arch/arm/dts/imx8qm-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/imx8qm-u-boot.dtsi b/arch/arm/dts/imx8qm-u-boot.dtsi
index af229501a4d..6679c9de462 100644
--- a/arch/arm/dts/imx8qm-u-boot.dtsi
+++ b/arch/arm/dts/imx8qm-u-boot.dtsi
@@ -122,6 +122,7 @@
};
};
+#ifdef CONFIG_XPL_BUILD
imx-boot {
filename = "flash.bin";
pad-byte = <0x00>;
@@ -132,4 +133,5 @@
type = "blob-ext";
};
};
+#endif
};
--
2.43.0
next prev parent reply other threads:[~2025-03-05 18:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-05 18:35 [PATCH 0/2] Build fixes for CONFIG_XPL_BUILD in dts files Hendrik Donner
2025-03-05 18:35 ` Hendrik Donner [this message]
2025-03-05 18:35 ` [PATCH 2/2] Makefile.lib: Set xPL build related defines for DTB build Hendrik Donner
2025-03-06 10:18 ` Quentin Schulz
2025-03-06 10:22 ` Oliver Graute
2025-03-06 16:28 ` Hendrik Donner
2025-03-06 17:40 ` Quentin Schulz
2025-03-14 20:08 ` [PATCH 0/2] Do not use CONFIG_XPL_BUILD in device tree Hendrik Donner
2025-03-14 20:08 ` [PATCH 1/2] imx8qxp: " Hendrik Donner
2025-03-15 11:58 ` Fabio Estevam
2025-03-17 11:10 ` Quentin Schulz
2025-03-17 12:41 ` Hendrik Donner
2025-03-17 13:40 ` Tom Rini
2025-03-14 20:08 ` [PATCH 2/2] imx8qm: " Hendrik Donner
2025-03-06 17:56 ` [PATCH 2/2] Makefile.lib: Set xPL build related defines for DTB build Simon Glass
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=20250305183544.40525-2-hd@os-cillation.de \
--to=hd@os-cillation.de \
--cc=festevam@gmail.com \
--cc=oliver.graute@kococonnector.com \
--cc=sbabic@denx.de \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.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