Marcel Ziswiler | 475ceff | 2019-05-31 19:00:20 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2019 Toradex |
| 4 | * |
Patrick Delaunay | 258117a | 2020-02-28 15:18:13 +0100 | [diff] [blame] | 5 | * Refer doc/imx/mkimage/imx8image.txt for more details about how-to configure |
Marcel Ziswiler | 475ceff | 2019-05-31 19:00:20 +0300 | [diff] [blame] | 6 | * and create imx8image boot image |
| 7 | */ |
| 8 | |
| 9 | #define __ASSEMBLY__ |
| 10 | |
| 11 | /* Boot from SD, sector size 0x400 */ |
| 12 | BOOT_FROM EMMC_FASTBOOT 0x400 |
| 13 | /* SoC type IMX8QM */ |
| 14 | SOC_TYPE IMX8QM |
| 15 | /* Append seco container image */ |
| 16 | APPEND mx8qm-ahab-container.img |
| 17 | /* Create the 2nd container */ |
| 18 | CONTAINER |
| 19 | /* Add scfw image with exec attribute */ |
| 20 | IMAGE SCU mx8qm-apalis-scfw-tcm.bin |
| 21 | /* Add ATF image with exec attribute */ |
| 22 | IMAGE A35 bl31.bin 0x80000000 |
| 23 | /* Add U-Boot image with load attribute */ |
| 24 | DATA A35 u-boot-dtb.bin 0x80020000 |