From: Oliver Graute <oliver.graute@kococonnector.com>
To: sbabic@denx.de
Cc: oliver.graute@kococonnector.com, oliver.graute@gmail.com,
festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com,
"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
"Gaurav Jain" <gaurav.jain@nxp.com>,
"Denys Drozdov" <denys.drozdov@toradex.com>,
"Horia Geantă" <horia.geanta@nxp.com>, "Ye Li" <ye.li@nxp.com>,
u-boot@lists.denx.de
Subject: [PATCH v2 8/8] imx: imx8: apalis: switch to binman
Date: Fri, 4 Nov 2022 16:03:44 +0100 [thread overview]
Message-ID: <20221104150345.23853-9-oliver.graute@kococonnector.com> (raw)
In-Reply-To: <20221104150345.23853-1-oliver.graute@kococonnector.com>
Switch to use binman to pack images
Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
---
Changes for v2
- use common imx8qm-u-boot.dtsi
- guard SPL nodes with CONFIG_SPL
arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi | 2 ++
arch/arm/dts/imx8qm-u-boot.dtsi | 2 ++
arch/arm/mach-imx/imx8/Kconfig | 1 +
configs/apalis-imx8_defconfig | 1 +
4 files changed, 6 insertions(+)
diff --git a/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi b/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi
index 956d724979..8fd0e33d2b 100644
--- a/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi
+++ b/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi
@@ -3,6 +3,8 @@
* Copyright 2019 Toradex AG
*/
+#include "imx8qm-u-boot.dtsi"
+
&mu {
u-boot,dm-pre-proper;
};
diff --git a/arch/arm/dts/imx8qm-u-boot.dtsi b/arch/arm/dts/imx8qm-u-boot.dtsi
index f3fc90c9bb..3507489a81 100644
--- a/arch/arm/dts/imx8qm-u-boot.dtsi
+++ b/arch/arm/dts/imx8qm-u-boot.dtsi
@@ -10,6 +10,7 @@
};
&binman {
+#ifdef CONFIG_SPL
u-boot-spl-ddr {
align = <4>;
align-size = <4>;
@@ -33,6 +34,7 @@
};
};
};
+#endif
itb {
filename = "u-boot.itb";
diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig
index 37d12d1895..91bd888308 100644
--- a/arch/arm/mach-imx/imx8/Kconfig
+++ b/arch/arm/mach-imx/imx8/Kconfig
@@ -46,6 +46,7 @@ choice
config TARGET_APALIS_IMX8
bool "Support Apalis iMX8 module"
+ select BINMAN
select BOARD_LATE_INIT
select IMX8QM
diff --git a/configs/apalis-imx8_defconfig b/configs/apalis-imx8_defconfig
index 32e105a557..0c331b62cb 100644
--- a/configs/apalis-imx8_defconfig
+++ b/configs/apalis-imx8_defconfig
@@ -17,6 +17,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
CONFIG_REMAKE_ELF=y
CONFIG_FIT=y
+CONFIG_FIT_EXTERNAL_OFFSET=0x3000
CONFIG_FIT_VERBOSE=y
CONFIG_OF_SYSTEM_SETUP=y
CONFIG_LOG=y
--
2.17.1
next prev parent reply other threads:[~2022-11-04 15:21 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 15:03 [PATCH v2 0/8] imx8: switch missing boards to binman Oliver Graute
2022-11-04 15:03 ` [PATCH v5 1/8] imx: imx8qm-rom7720: switch " Oliver Graute
2022-11-12 16:26 ` sbabic
2022-11-04 15:03 ` [PATCH v6 2/8] imx: imx8qm: cgtqmx8: " Oliver Graute
2022-11-12 16:26 ` sbabic
2022-11-04 15:03 ` [PATCH v2 3/8] imx: imx8qxp: imx8qxp_mek " Oliver Graute
2022-11-12 16:25 ` sbabic
2022-11-04 15:03 ` [PATCH v2 4/8] imx: imx8qm: imx8qm_mek " Oliver Graute
2022-11-12 16:26 ` sbabic
2022-11-04 15:03 ` [PATCH v2 5/8] imx: imx8qxp: giedi " Oliver Graute
2022-11-12 16:25 ` sbabic
2022-11-04 15:03 ` [PATCH v1 6/8] imx: imx8qxp: deneb " Oliver Graute
2022-11-12 16:26 ` sbabic
2022-11-04 15:03 ` [PATCH v2 7/8] imx: imx8x: colibri: " Oliver Graute
2022-11-12 16:25 ` sbabic
2022-11-04 15:03 ` Oliver Graute [this message]
2022-11-09 17:47 ` [PATCH v2 8/8] imx: imx8: apalis: " Marcel Ziswiler
2022-11-10 16:35 ` oliver.graute@kococonnector.com
2022-11-12 16:26 ` sbabic
2022-11-15 10:05 ` Marcel Ziswiler
2022-11-15 10:23 ` Stefano Babic
2022-11-04 16:31 ` [PATCH v2 0/8] imx8: switch missing boards " Fabio Estevam
2022-11-08 16:43 ` Stefano Babic
2022-11-08 22:16 ` Fabio Estevam
2022-11-09 15:44 ` Stefano Babic
2022-11-09 16:14 ` Oliver Graute
2022-11-09 16:19 ` Oliver Graute
2022-11-09 17:45 ` Fabio Estevam
2022-11-10 16:11 ` Tom Rini
2022-11-11 12:53 ` Oliver Graute
2022-11-11 17:40 ` Fabio Estevam
2022-11-11 17:55 ` Fabio Estevam
2022-11-16 9:47 ` Marcel Ziswiler
2022-11-18 13:41 ` Oliver Graute
2022-11-18 13:50 ` Fabio Estevam
2022-11-22 14:23 ` Oliver Graute
2022-12-02 1:00 ` Fabio Estevam
2022-11-18 12:35 ` Oliver Graute
2022-11-09 16:50 ` Marcel Ziswiler
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=20221104150345.23853-9-oliver.graute@kococonnector.com \
--to=oliver.graute@kococonnector.com \
--cc=denys.drozdov@toradex.com \
--cc=festevam@gmail.com \
--cc=gaurav.jain@nxp.com \
--cc=horia.geanta@nxp.com \
--cc=marcel.ziswiler@toradex.com \
--cc=oliver.graute@gmail.com \
--cc=peng.fan@nxp.com \
--cc=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
--cc=ye.li@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