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>; | ||||
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"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 72 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 73 | #address-cells = <1>; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 74 | |
75 | images { | ||||
76 | uboot { | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 77 | arch = "arm64"; |
78 | compression = "none"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 79 | description = "U-Boot (64-bit)"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 80 | load = <CONFIG_SYS_TEXT_BASE>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 81 | type = "standalone"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 82 | |
83 | uboot_blob: blob-ext { | ||||
84 | filename = "u-boot-nodtb.bin"; | ||||
85 | }; | ||||
86 | }; | ||||
87 | |||||
88 | atf { | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 89 | arch = "arm64"; |
90 | compression = "none"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 91 | description = "ARM Trusted Firmware"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 92 | entry = <0x910000>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 93 | load = <0x910000>; |
94 | type = "firmware"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 95 | |
96 | atf_blob: blob-ext { | ||||
97 | filename = "bl31.bin"; | ||||
98 | }; | ||||
99 | }; | ||||
100 | |||||
101 | fdt { | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 102 | compression = "none"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 103 | description = "NAME"; |
104 | type = "flat_dt"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 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"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 117 | fdt = "fdt"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 118 | firmware = "uboot"; |
119 | loadables = "atf"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 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 { | ||||
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 130 | filename = "spl.bin"; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 131 | offset = <0x0>; |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 132 | }; |
133 | |||||
134 | uboot: blob-ext@2 { | ||||
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 135 | filename = "u-boot.itb"; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame^] | 136 | offset = <0x57c00>; |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 137 | }; |
138 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 139 | }; |