summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2020-12-11 17:34:00 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2020-12-11 19:37:54 -0300
commit6fc0971cb236284cd2ac325da677a87ca31723d8 (patch)
tree5a2866974174347da00a722c6d56bc93312dec30 /conf
parent64fe53c2f23bd802a3090f5c6c8b3b45326b40d6 (diff)
downloadmeta-freescale-6fc0971cb236284cd2ac325da677a87ca31723d8.tar.gz
imx-mkimage: allow to be used with mainline bsp for mx8m
imx-boot provides a boot container, which is required for mx8m family of SOCs to execute a boot sequence. Allow the imx-boot to generate boot container for Mini, Nano and Plus SOCs by adding use-mainline-bsp to the list of compatible machines. In order to accommodate new boot container generation model, former SOC_TARGET variable has been renamed to IMX_BOOT_SOC_TARGET and should be explicitly defined in the target machine recipes. This is done to indicate that even if the mx8mm machine is finter out from MACHINEOVERRIDES by extender filter - this recipe picks up a proper target definition for boot container construction. Default ATF binary image is also now based on ATF_PLATFORM, which is explicitly defined in the machine configuration file. Current support includes only Mini, Nano and Plus SOCs from i.MX8M family, and additions of further machines would require the definition of ATF_PLATFORM and IMX_BOOT_SOC_TARGET to be moved out from imx-boot recipe to a machine configuration file. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/imx8mmevk.conf1
-rw-r--r--conf/machine/imx8mnevk.conf1
-rw-r--r--conf/machine/imx8mpevk.conf1
3 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine/imx8mmevk.conf b/conf/machine/imx8mmevk.conf
index fcd78fb5..44e3781d 100644
--- a/conf/machine/imx8mmevk.conf
+++ b/conf/machine/imx8mmevk.conf
@@ -61,6 +61,7 @@ ATF_PLATFORM = "imx8mm"
61 61
62# Set imx-mkimage boot target 62# Set imx-mkimage boot target
63IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}" 63IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}"
64IMX_BOOT_SOC_TARGET = "iMX8MM"
64 65
65# Set Serial console 66# Set Serial console
66SERIAL_CONSOLES = "115200;ttymxc1" 67SERIAL_CONSOLES = "115200;ttymxc1"
diff --git a/conf/machine/imx8mnevk.conf b/conf/machine/imx8mnevk.conf
index fa0cb7b4..5d8f3001 100644
--- a/conf/machine/imx8mnevk.conf
+++ b/conf/machine/imx8mnevk.conf
@@ -49,6 +49,7 @@ ATF_PLATFORM = "imx8mn"
49 49
50# Set imx-mkimage boot target 50# Set imx-mkimage boot target
51IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_ddr4_evk_flexspi', 'flash_ddr4_evk', d)}" 51IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_ddr4_evk_flexspi', 'flash_ddr4_evk', d)}"
52IMX_BOOT_SOC_TARGET = "iMX8MN"
52 53
53# Set Serial console 54# Set Serial console
54SERIAL_CONSOLES = "115200;ttymxc1" 55SERIAL_CONSOLES = "115200;ttymxc1"
diff --git a/conf/machine/imx8mpevk.conf b/conf/machine/imx8mpevk.conf
index 9addae7d..1fbf0eef 100644
--- a/conf/machine/imx8mpevk.conf
+++ b/conf/machine/imx8mpevk.conf
@@ -56,6 +56,7 @@ ATF_PLATFORM = "imx8mp"
56 56
57# Set imx-mkimage boot target 57# Set imx-mkimage boot target
58IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}" 58IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}"
59IMX_BOOT_SOC_TARGET = "iMX8MP"
59 60
60# Set Serial console 61# Set Serial console
61SERIAL_CONSOLES = "115200;ttymxc1" 62SERIAL_CONSOLES = "115200;ttymxc1"