summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-12-02 16:27:52 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-04-26 13:07:33 +0200
commit8b464544c74e0ae2c9eb8eb417f6a1ff4eb70b39 (patch)
tree57bf22658644a23c1e284d5d9d425591917cb44d /conf
parent92e8eeae29938efe5264ceb1ce69df827bb4d869 (diff)
verdin-imx8mm: mainline u-boot: build imx-boot with u-boot
U-Boot is now able to build imx-boot as part of the u-boot build. Use that instead of using imx-boot and imx-mkimage recipes. Also remove a comment on missing USB functionality as that starts to work. Related-to: ELB-4243 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/verdin-imx8mm.conf12
1 files changed, 9 insertions, 3 deletions
diff --git a/conf/machine/verdin-imx8mm.conf b/conf/machine/verdin-imx8mm.conf
index b2d0e40..f70c2cf 100644
--- a/conf/machine/verdin-imx8mm.conf
+++ b/conf/machine/verdin-imx8mm.conf
@@ -77,9 +77,15 @@ IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
# Currently we use the nxp 2020.04 downstream for mx8 as some features are
# not yet available in 2020.07.
PREFERRED_VERSION_u-boot-toradex = "2020.04%"
-# With use-head-next build mainline U-Boot even if USB functionality is
-# currently (Nov 2021) missing.
-IMX_DEFAULT_BOOTLOADER:use-head-next = "u-boot"
+# With use-mainline-bsp build mainline U-Boot
+IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot"
+# if using the mainline u-boot, build imx-boot from within u-boot
+MACHINEOVERRIDES:prepend:use-mainline-bsp = "imx-boot-container:"
+# variables to control imx-boot with u-boot
+ATF_LOAD_ADDR = "0x920000"
+IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
+TEE_LOAD_ADDR = "0xbe000000"
+UBOOT_MAKE_TARGET:use-mainline-bsp = "all"
MACHINE_FIRMWARE:append = " linux-firmware-sd8997"
MACHINE_FIRMWARE:append = " firmware-imx-vpu-imx8"