]> code.ossystems Code Review - meta-freescale.git/commit
imx-mkimage: allow to be used with mainline bsp for mx8m
authorAndrey Zhizhikin <andrey.z@gmail.com>
Fri, 11 Dec 2020 17:34:00 +0000 (17:34 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 11 Dec 2020 22:37:54 +0000 (19:37 -0300)
commit6fc0971cb236284cd2ac325da677a87ca31723d8
tree5a2866974174347da00a722c6d56bc93312dec30
parent64fe53c2f23bd802a3090f5c6c8b3b45326b40d6
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>
conf/machine/imx8mmevk.conf
conf/machine/imx8mnevk.conf
conf/machine/imx8mpevk.conf
recipes-bsp/imx-mkimage/imx-boot_1.0.bb