blob: 76664a86fa464848db4a74a923d4e824f61aa9ed [file] [log] [blame]
Peng Fanb5661ca2019-08-22 07:42:49 +00001Introduction:
2=============
3
4This documentation entry describes the i.MX8 container format and how
5to use.
6
7A Boot image consists of:
8 - Primary Boot Container Set
9 - Optional Secondary Boot Container Set
10
11The imx8image only support the Primary Boot Container Set.
12
13The Primary Boot Container Set contains two containers. The 1st container
14only contain the SECO firmware image, the 2nd container can contain
15multiple images and typically have:
16 - SCF FW image
17 - M4 FW image
18 - AP FW image
19
20For more details, refer i.MX8 Reference Mannual Chapter 5
21"System Boot and section", "5.9 (Boot image) of the processor's manual"
22
23Configuration file:
24==================
25BOOT_FROM [sd|emmc_fastboot|fspi|nand_4k|nand_8k|nand_16k] [sector_size]
26 - indicates the boot media
27SOC_TYPE [IMX8QM|IMX8QX]
28 - indicates the soc
29APPEND [ahab container image]
30 - indicates the ahah image that will be put in the 1st container
31 When creating container image will be loaded by SPL, this entry
32 should not this included
33CONTAINER
34 - indicates to create the 2nd container
35IMAGE [SCU|M40|M41|A35|A53|A72] [image file] [load address]
36 - indicates images will be put in the 2nd container
37
38Example:
39=======
40BOOT_FROM SD 0x400
41SOC_TYPE IMX8QM
42APPEND mx8qm-ahab-container.img
43CONTAINER
44IMAGE SCU mx8qm-mek-scfw-tcm.bin
45IMAGE A35 spl/u-boot-spl.bin 0x00100000