mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 21:41:16 +02:00
imx: imx8qm: cgtqmx8: switch to binman
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>
This commit is contained in:
committed by
Stefano Babic
parent
55be8433d5
commit
5a878c9472
@@ -12,6 +12,7 @@
|
|||||||
/memreserve/ 0x80000000 0x00020000;
|
/memreserve/ 0x80000000 0x00020000;
|
||||||
|
|
||||||
#include "fsl-imx8qm.dtsi"
|
#include "fsl-imx8qm.dtsi"
|
||||||
|
#include "imx8qm-u-boot.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Congatec QMX8 Qseven series";
|
model = "Congatec QMX8 Qseven series";
|
||||||
|
@@ -76,6 +76,7 @@ config TARGET_IMX8QM_MEK
|
|||||||
|
|
||||||
config TARGET_CONGA_QMX8
|
config TARGET_CONGA_QMX8
|
||||||
bool "Support congatec conga-QMX8 board"
|
bool "Support congatec conga-QMX8 board"
|
||||||
|
select BINMAN
|
||||||
select BOARD_LATE_INIT
|
select BOARD_LATE_INIT
|
||||||
select SUPPORT_SPL
|
select SUPPORT_SPL
|
||||||
select IMX8QM
|
select IMX8QM
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* Boot from SD, sector size 0x400 */
|
BOOT_FROM sd
|
||||||
BOOT_FROM SD 0x400
|
|
||||||
/* SoC type IMX8QM */
|
/* SoC type IMX8QM */
|
||||||
SOC_TYPE IMX8QM
|
SOC_TYPE IMX8QM
|
||||||
/* Append seco container image */
|
/* Append seco container image */
|
||||||
|
@@ -20,8 +20,10 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|||||||
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
|
||||||
CONFIG_REMAKE_ELF=y
|
CONFIG_REMAKE_ELF=y
|
||||||
CONFIG_FIT=y
|
CONFIG_FIT=y
|
||||||
|
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
|
||||||
CONFIG_SPL_LOAD_FIT=y
|
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_OF_BOARD_SETUP=y
|
||||||
CONFIG_BOOTDELAY=3
|
CONFIG_BOOTDELAY=3
|
||||||
CONFIG_USE_BOOTCOMMAND=y
|
CONFIG_USE_BOOTCOMMAND=y
|
||||||
|
@@ -57,8 +57,7 @@ Build U-Boot
|
|||||||
$ export ATF_LOAD_ADDR=0x80000000
|
$ export ATF_LOAD_ADDR=0x80000000
|
||||||
$ export BL33_LOAD_ADDR=0x80020000
|
$ export BL33_LOAD_ADDR=0x80020000
|
||||||
$ make cgtqmx8_defconfig
|
$ make cgtqmx8_defconfig
|
||||||
$ make u-boot.bin
|
$ make
|
||||||
$ make flash.bin
|
|
||||||
|
|
||||||
Flash the binary into the SD card
|
Flash the binary into the SD card
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
Reference in New Issue
Block a user