imx: mkimage_fit_atf: Fix FIT image for correct boot order
Fix the FIT image metadata for i.MX8 to result in the intended boot order (SPL -> ATF -> U-Boot). Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
committed by
Stefano Babic
parent
4f761dd237
commit
fa99af41e0
@@ -55,6 +55,7 @@ cat << __HEADER_EOF
|
|||||||
images {
|
images {
|
||||||
uboot@1 {
|
uboot@1 {
|
||||||
description = "U-Boot (64-bit)";
|
description = "U-Boot (64-bit)";
|
||||||
|
os = "u-boot";
|
||||||
data = /incbin/("$BL33");
|
data = /incbin/("$BL33");
|
||||||
type = "standalone";
|
type = "standalone";
|
||||||
arch = "arm64";
|
arch = "arm64";
|
||||||
@@ -63,6 +64,7 @@ cat << __HEADER_EOF
|
|||||||
};
|
};
|
||||||
atf@1 {
|
atf@1 {
|
||||||
description = "ARM Trusted Firmware";
|
description = "ARM Trusted Firmware";
|
||||||
|
os = "arm-trusted-firmware";
|
||||||
data = /incbin/("$BL31");
|
data = /incbin/("$BL31");
|
||||||
type = "firmware";
|
type = "firmware";
|
||||||
arch = "arm64";
|
arch = "arm64";
|
||||||
@@ -114,8 +116,8 @@ if [ -f $BL32 ]; then
|
|||||||
cat << __CONF_SECTION_EOF
|
cat << __CONF_SECTION_EOF
|
||||||
config@$cnt {
|
config@$cnt {
|
||||||
description = "$(basename $dtname .dtb)";
|
description = "$(basename $dtname .dtb)";
|
||||||
firmware = "uboot@1";
|
firmware = "atf@1";
|
||||||
loadables = "atf@1", "tee@1";
|
loadables = "uboot@1", "tee@1";
|
||||||
fdt = "fdt@$cnt";
|
fdt = "fdt@$cnt";
|
||||||
};
|
};
|
||||||
__CONF_SECTION_EOF
|
__CONF_SECTION_EOF
|
||||||
@@ -123,8 +125,8 @@ else
|
|||||||
cat << __CONF_SECTION1_EOF
|
cat << __CONF_SECTION1_EOF
|
||||||
config@$cnt {
|
config@$cnt {
|
||||||
description = "$(basename $dtname .dtb)";
|
description = "$(basename $dtname .dtb)";
|
||||||
firmware = "uboot@1";
|
firmware = "atf@1";
|
||||||
loadables = "atf@1";
|
loadables = "uboot@1";
|
||||||
fdt = "fdt@$cnt";
|
fdt = "fdt@$cnt";
|
||||||
};
|
};
|
||||||
__CONF_SECTION1_EOF
|
__CONF_SECTION1_EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user