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 { |
| 13 | u-boot-spl-ddr { |
| 14 | align = <4>; |
| 15 | align-size = <4>; |
| 16 | filename = "u-boot-spl-ddr.bin"; |
| 17 | pad-byte = <0xff>; |
| 18 | |
| 19 | u-boot-spl { |
| 20 | align-end = <4>; |
| 21 | filename = "u-boot-spl.bin"; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | spl { |
| 26 | filename = "spl.bin"; |
| 27 | |
| 28 | mkimage { |
| 29 | args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x100000"; |
| 30 | |
| 31 | blob { |
| 32 | filename = "u-boot-spl-ddr.bin"; |
| 33 | }; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | itb { |
| 38 | filename = "u-boot.itb"; |
| 39 | |
| 40 | fit { |
| 41 | description = "Configuration to load ATF before U-Boot"; |
| 42 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 43 | fit,fdt-list = "of-list"; |
| 44 | #address-cells = <1>; |
| 45 | |
| 46 | images { |
| 47 | uboot { |
| 48 | arch = "arm64"; |
| 49 | compression = "none"; |
| 50 | description = "U-Boot (64-bit)"; |
| 51 | load = <CONFIG_SYS_TEXT_BASE>; |
| 52 | type = "standalone"; |
| 53 | |
| 54 | uboot-blob { |
| 55 | filename = "u-boot-nodtb.bin"; |
| 56 | type = "blob-ext"; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | atf { |
| 61 | arch = "arm64"; |
| 62 | compression = "none"; |
| 63 | description = "ARM Trusted Firmware"; |
| 64 | entry = <0x00910000>; |
| 65 | load = <0x00091000>; |
| 66 | type = "firmware"; |
| 67 | |
| 68 | atf-blob { |
| 69 | filename = "bl31.bin"; |
| 70 | type = "atf-bl31"; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | scfw { |
| 75 | arch = "arm64"; |
| 76 | compression = "none"; |
| 77 | description = "System Controler Firmware"; |
| 78 | type = "firmware"; |
| 79 | |
| 80 | scfw_blob { |
| 81 | filename = "mx8qm-val-scfw-tcm.bin"; |
| 82 | type = "blob-ext"; |
| 83 | }; |
| 84 | }; |
| 85 | |
| 86 | seco { |
| 87 | arch = "arm64"; |
| 88 | compression = "none"; |
| 89 | description = "Seco Firmware"; |
| 90 | type = "firmware"; |
| 91 | |
| 92 | seco_blob { |
| 93 | filename = "mx8qm-ahab-container.img"; |
| 94 | type = "blob-ext"; |
| 95 | }; |
| 96 | }; |
| 97 | |
| 98 | @fdt-SEQ { |
| 99 | compression = "none"; |
| 100 | description = "NAME"; |
| 101 | type = "flat_dt"; |
| 102 | |
| 103 | uboot-fdt-blob { |
| 104 | filename = "u-boot.dtb"; |
| 105 | type = "blob-ext"; |
| 106 | }; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | configurations { |
| 111 | default = "@config-DEFAULT-SEQ"; |
| 112 | |
| 113 | binman_configuration: @config-SEQ { |
| 114 | description = "NAME"; |
| 115 | fdt = "fdt-SEQ"; |
| 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 | }; |