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