Oliver Graute | 61c57b6 | 2022-11-04 16:03:39 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2018, 2021 NXP |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | }; |
| 11 | |
| 12 | &binman { |
Fabio Estevam | c9713c1 | 2022-11-11 15:46:42 -0300 | [diff] [blame] | 13 | #ifdef CONFIG_SPL_BUILD |
Oliver Graute | 61c57b6 | 2022-11-04 16:03:39 +0100 | [diff] [blame] | 14 | u-boot-spl-ddr { |
| 15 | align = <4>; |
| 16 | align-size = <4>; |
| 17 | filename = "u-boot-spl-ddr.bin"; |
| 18 | pad-byte = <0xff>; |
| 19 | |
| 20 | u-boot-spl { |
| 21 | align-end = <4>; |
| 22 | filename = "u-boot-spl.bin"; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | spl { |
| 27 | filename = "spl.bin"; |
| 28 | |
| 29 | mkimage { |
| 30 | args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x100000"; |
| 31 | |
| 32 | blob { |
| 33 | filename = "u-boot-spl-ddr.bin"; |
| 34 | }; |
| 35 | }; |
| 36 | }; |
| 37 | #endif |
| 38 | |
| 39 | itb { |
| 40 | filename = "u-boot.itb"; |
| 41 | |
| 42 | fit { |
| 43 | description = "Configuration to load ATF before U-Boot"; |
| 44 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 45 | fit,fdt-list = "of-list"; |
| 46 | #address-cells = <1>; |
| 47 | |
| 48 | images { |
| 49 | uboot { |
| 50 | arch = "arm64"; |
| 51 | compression = "none"; |
| 52 | description = "U-Boot (64-bit)"; |
Stefano Babic | cca660c | 2022-11-09 16:50:49 +0100 | [diff] [blame] | 53 | load = <CONFIG_TEXT_BASE>; |
Oliver Graute | 61c57b6 | 2022-11-04 16:03:39 +0100 | [diff] [blame] | 54 | type = "standalone"; |
| 55 | |
| 56 | uboot-blob { |
| 57 | filename = "u-boot-nodtb.bin"; |
| 58 | type = "blob-ext"; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | atf { |
| 63 | arch = "arm64"; |
| 64 | compression = "none"; |
| 65 | description = "ARM Trusted Firmware"; |
| 66 | entry = <0x00910000>; |
| 67 | load = <0x00091000>; |
| 68 | type = "firmware"; |
| 69 | |
| 70 | atf-blob { |
| 71 | filename = "bl31.bin"; |
| 72 | type = "atf-bl31"; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | scfw { |
| 77 | arch = "arm64"; |
| 78 | compression = "none"; |
| 79 | description = "System Controler Firmware"; |
| 80 | type = "firmware"; |
| 81 | |
| 82 | scfw_blob { |
| 83 | filename = "mx8qx-mek-scfw-tcm.bin"; |
| 84 | type = "blob-ext"; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | seco { |
| 89 | arch = "arm64"; |
| 90 | compression = "none"; |
| 91 | description = "Seco Firmware"; |
| 92 | type = "firmware"; |
| 93 | |
| 94 | seco_blob { |
| 95 | filename = "mx8qxc0-ahab-container.img"; |
| 96 | type = "blob-ext"; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | fdt { |
| 101 | type = "flat_dt"; |
| 102 | compression = "none"; |
| 103 | |
| 104 | uboot-fdt-blob { |
| 105 | filename = "u-boot.dtb"; |
| 106 | type = "blob-ext"; |
| 107 | }; |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | configurations { |
| 112 | default = "conf"; |
| 113 | |
| 114 | conf { |
| 115 | fdt = "fdt"; |
| 116 | firmware = "uboot"; |
| 117 | loadables = "atf"; |
| 118 | }; |
| 119 | }; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | imx-boot { |
| 124 | filename = "flash.bin"; |
| 125 | pad-byte = <0x00>; |
| 126 | |
| 127 | spl { |
| 128 | filename = "spl.bin"; |
| 129 | offset = <0x0>; |
| 130 | type = "blob-ext"; |
| 131 | }; |
| 132 | }; |
| 133 | }; |