[Buildroot] [PATCH 2/8] board/boundarydevices: add i.MX 93 support to post-build.sh

Chris Dimich cdimich2188 at gmail.com
Tue Jun 11 18:02:01 UTC 2024


Signed-off-by: Chris Dimich <cdimich2188 at gmail.com>
---
 board/boundarydevices/common/post-build.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/board/boundarydevices/common/post-build.sh b/board/boundarydevices/common/post-build.sh
index 161ec0643f..12341ae75f 100755
--- a/board/boundarydevices/common/post-build.sh
+++ b/board/boundarydevices/common/post-build.sh
@@ -10,7 +10,11 @@ UBOOT_DEFCONFIG="$(grep BR2_TARGET_UBOOT_BOARD_DEFCONFIG ${BR2_CONFIG} | sed 's/
 
 if grep -Eq "^BR2_aarch64=y$" ${BR2_CONFIG}; then
 	MKIMAGE_ARCH=arm64
-	UBOOT_BINARY=imx8-boot-sd.bin
+	if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX93=y$" ${BR2_CONFIG}; then
+		UBOOT_BINARY=imx9-boot-sd.bin
+	else
+		UBOOT_BINARY=imx8-boot-sd.bin
+	fi
 else
 	MKIMAGE_ARCH=arm
 	UBOOT_BINARY=u-boot.imx
-- 
2.43.0



More information about the buildroot mailing list