summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2021-02-04 10:38:42 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2021-03-17 10:53:42 -0300
commitaf1befc57af48bfd556a487487663cd3628433f5 (patch)
tree59b6cd88f911380cf57828ef201c5d439f0af9e3 /conf/machine/include
parentad48c133fa19aad480a27b7d3000f5e6401c8db0 (diff)
downloadmeta-freescale-af1befc57af48bfd556a487487663cd3628433f5.tar.gz
conf: machine: mx8m[m,n,p]: use boot container class
Use the new boot container build on mainline BSP for mx8mm, mx8mn and mx8mp machines. Boot container serves as a replacement for imx-boot package present in NXP BSP, and is created by U-Boot build system. Define ATF machine name and required load address. Define dependency on firmware package, as it provides DDR firmware binaries needed to construct boot container. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/imx8mm-evk.inc9
-rw-r--r--conf/machine/include/imx8mn-evk.inc9
2 files changed, 14 insertions, 4 deletions
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc
index 20bc9b77..6f21ce8e 100644
--- a/conf/machine/include/imx8mm-evk.inc
+++ b/conf/machine/include/imx8mm-evk.inc
@@ -1,4 +1,4 @@
1MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:" 1MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mm:"
2 2
3require conf/machine/include/imx-base.inc 3require conf/machine/include/imx-base.inc
4require conf/machine/include/tune-cortexa53.inc 4require conf/machine/include/tune-cortexa53.inc
@@ -27,6 +27,10 @@ UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"
27SPL_BINARY = "spl/u-boot-spl.bin" 27SPL_BINARY = "spl/u-boot-spl.bin"
28 28
29ATF_PLATFORM = "imx8mm" 29ATF_PLATFORM = "imx8mm"
30ATF_LOAD_ADDR = "0x920000"
31
32# Extra firmware package name, that is required to build boot container for fslc bsp
33IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
30 34
31IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}" 35IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}"
32 36
@@ -36,10 +40,11 @@ SERIAL_CONSOLES = "115200;ttymxc1"
36 40
37LOADADDR = "" 41LOADADDR = ""
38UBOOT_SUFFIX = "bin" 42UBOOT_SUFFIX = "bin"
39UBOOT_MAKE_TARGET = "" 43UBOOT_MAKE_TARGET = "all"
40IMX_BOOT_SEEK = "33" 44IMX_BOOT_SEEK = "33"
41 45
42OPTEE_BIN_EXT = "8mm" 46OPTEE_BIN_EXT = "8mm"
47TEE_LOAD_ADDR = "0xbe000000"
43 48
44# Add additional firmware 49# Add additional firmware
45MACHINE_FIRMWARE_append = " linux-firmware-ath10k" 50MACHINE_FIRMWARE_append = " linux-firmware-ath10k"
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc
index 8e68f2fe..265b594c 100644
--- a/conf/machine/include/imx8mn-evk.inc
+++ b/conf/machine/include/imx8mn-evk.inc
@@ -1,4 +1,4 @@
1MACHINEOVERRIDES =. "mx8:mx8m:mx8mn:" 1MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mn:"
2 2
3require conf/machine/include/imx-base.inc 3require conf/machine/include/imx-base.inc
4require conf/machine/include/tune-cortexa53.inc 4require conf/machine/include/tune-cortexa53.inc
@@ -28,6 +28,10 @@ UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"
28SPL_BINARY = "spl/u-boot-spl.bin" 28SPL_BINARY = "spl/u-boot-spl.bin"
29 29
30ATF_PLATFORM = "imx8mn" 30ATF_PLATFORM = "imx8mn"
31ATF_LOAD_ADDR = "0x960000"
32
33# Extra firmware package name, that is required to build boot container for fslc bsp
34IMX_EXTRA_FIRMWARE = "firmware-imx-8m"
31 35
32IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}" 36IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}"
33 37
@@ -38,7 +42,7 @@ SERIAL_CONSOLES = "115200;ttymxc1"
38BOOT_SPACE = "65536" 42BOOT_SPACE = "65536"
39LOADADDR = "" 43LOADADDR = ""
40UBOOT_SUFFIX = "bin" 44UBOOT_SUFFIX = "bin"
41UBOOT_MAKE_TARGET = "" 45UBOOT_MAKE_TARGET = "all"
42 46
43# Image boot offset as defined in section 6.1.6.1 "Primary image offset and IVT offset" of 47# Image boot offset as defined in section 6.1.6.1 "Primary image offset and IVT offset" of
44# i.MX 8M Nano Applications Processor Reference Manual, Rev. 0, 12/2019 48# i.MX 8M Nano Applications Processor Reference Manual, Rev. 0, 12/2019
@@ -46,6 +50,7 @@ UBOOT_MAKE_TARGET = ""
46IMX_BOOT_SEEK = "32" 50IMX_BOOT_SEEK = "32"
47 51
48OPTEE_BIN_EXT = "8mn" 52OPTEE_BIN_EXT = "8mn"
53TEE_LOAD_ADDR = "0x56000000"
49 54
50# Add additional firmware 55# Add additional firmware
51MACHINE_FIRMWARE_append = " linux-firmware-ath10k" 56MACHINE_FIRMWARE_append = " linux-firmware-ath10k"