]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: imx8qm: cgtqmx8: switch to binman
authorOliver Graute <oliver.graute@kococonnector.com>
Fri, 4 Nov 2022 15:03:38 +0000 (16:03 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Nov 2022 16:12:32 +0000 (17:12 +0100)
Switch to use binman to pack images

Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8qm-cgtqmx8.dts
arch/arm/mach-imx/imx8/Kconfig
board/congatec/cgtqmx8/imximage.cfg
configs/cgtqmx8_defconfig
doc/board/congatec/cgtqmx8.rst

index 555c357f6f79b3f24ea971d6fae02505f38fc2f4..919d00644ff3690a2be754ed07ddb3da91ae0a7b 100644 (file)
@@ -12,6 +12,7 @@
 /memreserve/ 0x80000000 0x00020000;
 
 #include "fsl-imx8qm.dtsi"
+#include "imx8qm-u-boot.dtsi"
 
 / {
        model = "Congatec QMX8 Qseven series";
index a7e3af57dc68ca6051fb0c84204836a617f1f38b..d423cf8563f26180741314f001a4c32a3e3f5929 100644 (file)
@@ -76,6 +76,7 @@ config TARGET_IMX8QM_MEK
 
 config TARGET_CONGA_QMX8
        bool "Support congatec conga-QMX8 board"
+       select BINMAN
        select BOARD_LATE_INIT
        select SUPPORT_SPL
        select IMX8QM
index 5ecde0c530907b0d0393422d6710205b24d5ea19..43035088e3779b34b7074acfb3cf432af0cfae04 100644 (file)
@@ -4,8 +4,8 @@
  */
 
 
-/* Boot from SD, sector size 0x400 */
-BOOT_FROM SD 0x400
+BOOT_FROM      sd
+
 /* SoC type IMX8QM */
 SOC_TYPE IMX8QM
 /* Append seco container image */
index ba2b09fb441c8e3b791a6b8a8ef7033590b42995..94a31d1677564cf9440651a09e68d874af91652f 100644 (file)
@@ -20,8 +20,10 @@ 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_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_SPL_BINMAN_UBOOT_SYMBOLS is not set
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTCOMMAND=y
index bccdef2f16ef380af82b27f64f2745f00205dd0b..16711a844d59eefbaf1648547fdcaea3b39e5e94 100644 (file)
@@ -57,8 +57,7 @@ Build U-Boot
      $ export ATF_LOAD_ADDR=0x80000000
      $ export BL33_LOAD_ADDR=0x80020000
      $ make cgtqmx8_defconfig
-     $ make u-boot.bin
-     $ make flash.bin
+     $ make
 
 Flash the binary into the SD card
 ---------------------------------