Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [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 | |
| 13 | &binman { |
| 14 | u-boot-spl-ddr { |
| 15 | filename = "u-boot-spl-ddr.bin"; |
| 16 | pad-byte = <0xff>; |
| 17 | align-size = <4>; |
| 18 | align = <4>; |
| 19 | |
| 20 | u-boot-spl { |
| 21 | align-end = <4>; |
| 22 | }; |
| 23 | |
| 24 | blob_1: blob-ext@1 { |
| 25 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
| 26 | size = <0x8000>; |
| 27 | }; |
| 28 | |
| 29 | blob_2: blob-ext@2 { |
| 30 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
| 31 | size = <0x4000>; |
| 32 | }; |
| 33 | |
| 34 | blob_3: blob-ext@3 { |
| 35 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
| 36 | size = <0x8000>; |
| 37 | }; |
| 38 | |
| 39 | blob_4: blob-ext@4 { |
| 40 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
| 41 | size = <0x4000>; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | signed_hdmi { |
| 46 | filename = "signed_hdmi.bin"; |
| 47 | |
| 48 | blob_5: blob-ext@5 { |
| 49 | filename = "signed_hdmi_imx8m.bin"; |
| 50 | }; |
| 51 | }; |
| 52 | |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame^] | 53 | spl { |
| 54 | filename = "spl.bin"; |
| 55 | |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 56 | mkimage { |
| 57 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; |
| 58 | |
| 59 | blob { |
| 60 | filename = "u-boot-spl-ddr.bin"; |
| 61 | }; |
| 62 | |
| 63 | }; |
| 64 | |
| 65 | }; |
| 66 | |
| 67 | itb { |
| 68 | filename = "u-boot.itb"; |
| 69 | |
| 70 | fit { |
| 71 | description = "Configuration to load ATF before U-Boot"; |
| 72 | #address-cells = <1>; |
| 73 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 74 | |
| 75 | images { |
| 76 | uboot { |
| 77 | description = "U-Boot (64-bit)"; |
| 78 | type = "standalone"; |
| 79 | arch = "arm64"; |
| 80 | compression = "none"; |
| 81 | load = <CONFIG_SYS_TEXT_BASE>; |
| 82 | |
| 83 | uboot_blob: blob-ext { |
| 84 | filename = "u-boot-nodtb.bin"; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | atf { |
| 89 | description = "ARM Trusted Firmware"; |
| 90 | type = "firmware"; |
| 91 | arch = "arm64"; |
| 92 | compression = "none"; |
| 93 | load = <0x910000>; |
| 94 | entry = <0x910000>; |
| 95 | |
| 96 | atf_blob: blob-ext { |
| 97 | filename = "bl31.bin"; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | fdt { |
| 102 | description = "NAME"; |
| 103 | type = "flat_dt"; |
| 104 | compression = "none"; |
| 105 | |
| 106 | uboot_fdt_blob: blob-ext { |
| 107 | filename = "u-boot.dtb"; |
| 108 | }; |
| 109 | }; |
| 110 | }; |
| 111 | |
| 112 | configurations { |
| 113 | default = "conf"; |
| 114 | |
| 115 | conf { |
| 116 | description = "NAME"; |
| 117 | firmware = "uboot"; |
| 118 | loadables = "atf"; |
| 119 | fdt = "fdt"; |
| 120 | }; |
| 121 | }; |
| 122 | }; |
| 123 | }; |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame^] | 124 | |
| 125 | imx-boot { |
| 126 | filename = "flash.bin"; |
| 127 | pad-byte = <0x00>; |
| 128 | |
| 129 | spl: blob-ext@1 { |
| 130 | offset = <0x0>; |
| 131 | filename = "spl.bin"; |
| 132 | }; |
| 133 | |
| 134 | uboot: blob-ext@2 { |
| 135 | offset = <0x57c00>; |
| 136 | filename = "u-boot.itb"; |
| 137 | }; |
| 138 | }; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 139 | }; |