Oliver Graute | 3e0bf76 | 2022-11-04 16:03:37 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2021 NXP |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | }; |
| 11 | |
| 12 | &binman { |
Simon Glass | 85ed77d | 2024-09-29 19:49:46 -0600 | [diff] [blame] | 13 | #ifdef CONFIG_XPL_BUILD |
Oliver Graute | 3e0bf76 | 2022-11-04 16:03:37 +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 | }; |
Oliver Graute | 870e8ff | 2022-11-04 16:03:44 +0100 | [diff] [blame] | 37 | #endif |
Oliver Graute | 3e0bf76 | 2022-11-04 16:03:37 +0100 | [diff] [blame] | 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 | 02cb9bc | 2022-11-09 16:50:49 +0100 | [diff] [blame] | 53 | load = <CONFIG_TEXT_BASE>; |
Oliver Graute | 3e0bf76 | 2022-11-04 16:03:37 +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 = "mx8qm-val-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 = "mx8qm-ahab-container.img"; |
| 96 | type = "blob-ext"; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | @fdt-SEQ { |
| 101 | compression = "none"; |
| 102 | description = "NAME"; |
| 103 | type = "flat_dt"; |
| 104 | |
| 105 | uboot-fdt-blob { |
| 106 | filename = "u-boot.dtb"; |
| 107 | type = "blob-ext"; |
| 108 | }; |
| 109 | }; |
| 110 | }; |
| 111 | |
| 112 | configurations { |
| 113 | default = "@config-DEFAULT-SEQ"; |
| 114 | |
Simon Glass | ceea784 | 2023-08-23 19:18:01 -0600 | [diff] [blame] | 115 | @config-SEQ { |
Oliver Graute | 3e0bf76 | 2022-11-04 16:03:37 +0100 | [diff] [blame] | 116 | description = "NAME"; |
| 117 | fdt = "fdt-SEQ"; |
| 118 | firmware = "uboot"; |
| 119 | loadables = "atf"; |
| 120 | }; |
| 121 | }; |
| 122 | }; |
| 123 | }; |
| 124 | |
| 125 | imx-boot { |
| 126 | filename = "flash.bin"; |
| 127 | pad-byte = <0x00>; |
| 128 | |
| 129 | spl { |
| 130 | filename = "spl.bin"; |
| 131 | offset = <0x0>; |
| 132 | type = "blob-ext"; |
| 133 | }; |
| 134 | }; |
| 135 | }; |