summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2022-01-23 11:15:21 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-04-26 13:14:05 +0200
commit227f7c9516be473c7265bfa678d473e5292a6049 (patch)
tree71d2603edb91d012540b43bd883ee646b6131adc /conf
parenta1b1a0a06b3c82ad2c315e07957428062e5dc880 (diff)
verdin-imx8mp: 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. Related-to: ELB-4243 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/verdin-imx8mp.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/machine/verdin-imx8mp.conf b/conf/machine/verdin-imx8mp.conf
index ba0f0fd..0ba87a3 100644
--- a/conf/machine/verdin-imx8mp.conf
+++ b/conf/machine/verdin-imx8mp.conf
@@ -81,6 +81,13 @@ IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_VERSION_u-boot-toradex = "2020.04%"
# 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"
# handle machine firmware
MACHINE_FIRMWARE:append = " linux-firmware-sd8997"