]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: imx8qm: imx8qm_mek switch to binman
authorOliver Graute <oliver.graute@kococonnector.com>
Fri, 4 Nov 2022 15:03:40 +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>
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi
arch/arm/mach-imx/imx8/Kconfig
board/freescale/imx8qm_mek/README
configs/imx8qm_mek_defconfig

index a95209e141950c25382b222387c4728ccffe331a..eefdccf9922786a35e0c34030eae437d155af852 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright 2018, 2021 NXP
  */
 
+#include "imx8qm-u-boot.dtsi"
+
 &{/imx8qm-pm} {
 
        u-boot,dm-spl;
index 23a7fcf3613b47e5e7f0e9c7e71bef7f611d724e..4ccbabf50612b01742c080c57e33fede80a11051 100644 (file)
@@ -68,6 +68,7 @@ config TARGET_GIEDI
 
 config TARGET_IMX8QM_MEK
        bool "Support i.MX8QM MEK board"
+       select BINMAN
        select BOARD_LATE_INIT
        select IMX8QM
        select FSL_CAAM
index 570ed7e2109a9500c8645fd69e80c845035b5e39..b1a4c6cc8227fba9a1950efb1ea1d81d224f02a5 100644 (file)
@@ -40,7 +40,7 @@ And copy the following firmwares to U-Boot folder:
 Build U-Boot
 ============
 $ make imx8qm_mek_defconfig
-$ make flash.bin
+$ make
 
 Flash the binary into the SD card
 =================================
index da27383e687b92a788d458b02845511980fddd5f..4fc828681b6c7d7b1a78273b894ca83d03621584 100644 (file)
@@ -23,6 +23,8 @@ CONFIG_SYS_LOAD_ADDR=0x80280000
 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_OF_BOARD_SETUP=y
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_BOOTDELAY=3