]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: pico-imx8mq: switch to use binman
authorPeng Fan <peng.fan@nxp.com>
Fri, 22 Oct 2021 02:42:18 +0000 (10:42 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 20:42:41 +0000 (15:42 -0500)
Switch to use binman to pack images

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Patrick Wildt <patrick@blueri.se>
arch/arm/dts/imx8mq-pico-pi.dts
arch/arm/mach-imx/imx8m/Kconfig
board/technexion/pico-imx8mq/Kconfig
board/technexion/pico-imx8mq/imximage.cfg [new file with mode: 0644]
configs/pico-imx8mq_defconfig

index d2af18ad0e13be800f25dd9bb6136b496fd779fd..8ed6e9166b90b1139576291f26ffc7b0d6d64767 100644 (file)
@@ -9,6 +9,7 @@
 /dts-v1/;
 
 #include "imx8mq.dtsi"
+#include "imx8mq-u-boot.dtsi"
 
 / {
        model = "TechNexion PICO-PI-8M";
index 54e62e7f84bed85d464d6510ec902b7314d004e4..d630a73f13ba2a8bb18eaadb408f9e7c319f651f 100644 (file)
@@ -107,6 +107,7 @@ config TARGET_IMX8MP_EVK
 
 config TARGET_PICO_IMX8MQ
        bool "Support Technexion Pico iMX8MQ"
+       select BINMAN
        select IMX8MQ
        select IMX8M_LPDDR4
 
index 628b0511490a5f7c6ae4130c9bc07959628a10fb..97655517d8ae7100b1a856a8d577b01fc9557828 100644 (file)
@@ -10,6 +10,6 @@ config SYS_CONFIG_NAME
        default "pico-imx8mq"
 
 config IMX_CONFIG
-       default "arch/arm/mach-imx/imx8m/imximage.cfg"
+       default "board/technexion/pico-imx8mq/imximage.cfg"
 
 endif
diff --git a/board/technexion/pico-imx8mq/imximage.cfg b/board/technexion/pico-imx8mq/imximage.cfg
new file mode 100644 (file)
index 0000000..74f12b3
--- /dev/null
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2021 NXP
+ */
+
+#define __ASSEMBLY__
+
+FIT
+BOOT_FROM      sd
+SIGNED_HDMI    signed_hdmi.bin
+LOADER         mkimage.flash.mkimage   0x7e1000
index 419537090f500c47cc3ac049cfe4119e9acc6114..e1bed3430a755c2d1c19f42e4ea56865fc346996 100644 (file)
@@ -23,7 +23,7 @@ CONFIG_SYS_LOAD_ADDR=0x40480000
 CONFIG_FIT=y
 CONFIG_FIT_EXTERNAL_OFFSET=0x3000
 CONFIG_SPL_LOAD_FIT=y
-CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-imx/mkimage_fit_atf.sh"
+# CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_BOARD_INIT=y