summaryrefslogtreecommitdiff
path: root/board/freescale/imx8qm_mek
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-08-22 10:42:46 +0300
committerStefano Babic <sbabic@denx.de>2019-10-08 17:35:58 +0300
commitf31f8b0434fd3f6f855b1d58cc66fc9b4c0b8cd9 (patch)
treee5cd6066fd08b053c1c288451c2912a8a7a8689a /board/freescale/imx8qm_mek
parentd94049ce19e20a07e12dbf2175981cbfeb43d8a7 (diff)
downloadu-boot-f31f8b0434fd3f6f855b1d58cc66fc9b4c0b8cd9.tar.xz
imx8qm_mek: switch to use container image
Because FIT could not be used for AHAB secure boot on i.MX8, so switch to use container image that could let SPL verify ATF and U-Boot with AHAB. Enable HUSH_PARSER in defconfig to make run netboot could work. Note: The AHAB related code has not been added. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale/imx8qm_mek')
-rw-r--r--board/freescale/imx8qm_mek/README4
-rw-r--r--board/freescale/imx8qm_mek/uboot-container.cfg13
2 files changed, 14 insertions, 3 deletions
diff --git a/board/freescale/imx8qm_mek/README b/board/freescale/imx8qm_mek/README
index c3523801ae..ebf630c446 100644
--- a/board/freescale/imx8qm_mek/README
+++ b/board/freescale/imx8qm_mek/README
@@ -39,11 +39,9 @@ $ cp imx-sc-firmware-0.7/mx8qm-mek-scfw-tcm.bin .
Build U-Boot
============
-$ export ATF_LOAD_ADDR=0x80000000
-$ export BL33_LOAD_ADDR=0x80020000
$ make imx8qm_mek_defconfig
$ make flash.bin
-$ dd if=u-boot.itb of=flash.bin bs=512 seek=1984
+$ dd if=u-boot.cnt of=flash.bin bs=512 seek=1984
Flash the binary into the SD card
=================================
diff --git a/board/freescale/imx8qm_mek/uboot-container.cfg b/board/freescale/imx8qm_mek/uboot-container.cfg
new file mode 100644
index 0000000000..6cc47cd102
--- /dev/null
+++ b/board/freescale/imx8qm_mek/uboot-container.cfg
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2019 NXP
+ */
+
+#define __ASSEMBLY__
+
+/* This file is to create a container image could be loaded by SPL */
+BOOT_FROM SD 0x400
+SOC_TYPE IMX8QM
+CONTAINER
+IMAGE A35 bl31.bin 0x80000000
+IMAGE A35 u-boot.bin CONFIG_SYS_TEXT_BASE