Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/7] board/freescale/common/imx: add support for i.MX8QM
@ 2019-09-09 12:14 Maeva Manuel
  2019-09-09 12:14 ` [Buildroot] [PATCH 2/7] package/freescale-imx: add option " Maeva Manuel
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Maeva Manuel @ 2019-09-09 12:14 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Maeva Manuel <maeva.manuel@nxp.com>
---
 board/freescale/common/imx/imx8-bootloader-prepare.sh | 7 +++++--
 board/freescale/common/imx/post-image.sh              | 4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh
index df528b0df5..6c49fe02a7 100755
--- a/board/freescale/common/imx/imx8-bootloader-prepare.sh
+++ b/board/freescale/common/imx/imx8-bootloader-prepare.sh
@@ -27,8 +27,11 @@ main ()
 		cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin
 		cp ${BINARIES_DIR}/bl31.bin ${BINARIES_DIR}/u-boot-atf.bin
 		dd if=${BINARIES_DIR}/u-boot-hash.bin of=${BINARIES_DIR}/u-boot-atf.bin bs=1K seek=128
-
-		${HOST_DIR}/bin/mkimage_imx8 -soc QX -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qx-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
+		if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then
+			${HOST_DIR}/bin/mkimage_imx8 -soc QM -rev B0 -append ${BINARIES_DIR}/mx8qm-ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qm-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a53 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
+		else
+			${HOST_DIR}/bin/mkimage_imx8 -soc QX -rev B0 -append ${BINARIES_DIR}/mx8qx-ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qx-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
+		fi
 	fi
 
 	exit $?
diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh
index 19d8fffb63..138ea7b123 100755
--- a/board/freescale/common/imx/post-image.sh
+++ b/board/freescale/common/imx/post-image.sh
@@ -32,7 +32,9 @@ linux_image()
 
 genimage_type()
 {
-	if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
+	if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then
+		echo "genimage.cfg.template_imx8"
+	elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
 		echo "genimage.cfg.template_imx8"
 	elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then
 		echo "genimage.cfg.template_imx8"
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-02-05 11:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-09 12:14 [Buildroot] [PATCH 1/7] board/freescale/common/imx: add support for i.MX8QM Maeva Manuel
2019-09-09 12:14 ` [Buildroot] [PATCH 2/7] package/freescale-imx: add option " Maeva Manuel
2019-11-08 17:30   ` Gary Bisson
2020-02-05 10:36     ` Thomas Petazzoni
2020-02-05 10:31   ` Thomas Petazzoni
2019-09-09 12:15 ` [Buildroot] [PATCH 3/7] package/freescale-imx/imx-sc-firmware: bump to version 1.1 to support i.MX8QM Maeva Manuel
2019-11-08 17:33   ` Gary Bisson
2020-02-05 10:38   ` Thomas Petazzoni
2019-09-09 12:15 ` [Buildroot] [PATCH 4/7] package/freescale-imx/imx-sc-firmware: add hash file Maeva Manuel
2019-11-08 17:34   ` Gary Bisson
2020-02-05 10:38   ` Thomas Petazzoni
2019-09-09 12:15 ` [Buildroot] [PATCH 5/7] package/freescale-imx/firmware-imx: Maeva Manuel
2019-09-13 15:44   ` André Hentschel
2020-02-05 10:39   ` Thomas Petazzoni
2019-09-09 12:15 ` [Buildroot] [PATCH 6/7] configs/freescale_imx8qmmek: new defconfig Maeva Manuel
2020-02-05 11:20   ` Thomas Petazzoni
2019-09-09 12:15 ` [Buildroot] [PATCH 7/7] board/freescale/imx8qxpmek: update instructions Maeva Manuel
2020-02-05 11:12   ` Thomas Petazzoni
2020-02-05 10:30 ` [Buildroot] [PATCH 1/7] board/freescale/common/imx: add support for i.MX8QM Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox