blob: d8208ae7b0fccb11fc6aa52badc5f9ae192dfd05 [file] [log] [blame]
Peng Fan4311f5a2021-10-22 10:42:16 +08001// 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 Wildt3d5ce4e2022-01-13 15:21:24 +010015 align = <4>;
16 align-size = <4>;
Peng Fan4311f5a2021-10-22 10:42:16 +080017 filename = "u-boot-spl-ddr.bin";
18 pad-byte = <0xff>;
Peng Fan4311f5a2021-10-22 10:42:16 +080019
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 Wildt3d906722022-01-08 16:34:17 +010053 spl {
54 filename = "spl.bin";
55
Peng Fan4311f5a2021-10-22 10:42:16 +080056 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 Fan4311f5a2021-10-22 10:42:16 +080072 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010073 #address-cells = <1>;
Peng Fan4311f5a2021-10-22 10:42:16 +080074
75 images {
76 uboot {
Peng Fan4311f5a2021-10-22 10:42:16 +080077 arch = "arm64";
78 compression = "none";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010079 description = "U-Boot (64-bit)";
Peng Fan4311f5a2021-10-22 10:42:16 +080080 load = <CONFIG_SYS_TEXT_BASE>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010081 type = "standalone";
Peng Fan4311f5a2021-10-22 10:42:16 +080082
83 uboot_blob: blob-ext {
84 filename = "u-boot-nodtb.bin";
85 };
86 };
87
88 atf {
Peng Fan4311f5a2021-10-22 10:42:16 +080089 arch = "arm64";
90 compression = "none";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010091 description = "ARM Trusted Firmware";
Peng Fan4311f5a2021-10-22 10:42:16 +080092 entry = <0x910000>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010093 load = <0x910000>;
94 type = "firmware";
Peng Fan4311f5a2021-10-22 10:42:16 +080095
96 atf_blob: blob-ext {
97 filename = "bl31.bin";
98 };
99 };
100
101 fdt {
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100102 compression = "none";
Peng Fan4311f5a2021-10-22 10:42:16 +0800103 description = "NAME";
104 type = "flat_dt";
Peng Fan4311f5a2021-10-22 10:42:16 +0800105
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 Wildt3d5ce4e2022-01-13 15:21:24 +0100117 fdt = "fdt";
Peng Fan4311f5a2021-10-22 10:42:16 +0800118 firmware = "uboot";
119 loadables = "atf";
Peng Fan4311f5a2021-10-22 10:42:16 +0800120 };
121 };
122 };
123 };
Patrick Wildt3d906722022-01-08 16:34:17 +0100124
125 imx-boot {
126 filename = "flash.bin";
127 pad-byte = <0x00>;
128
129 spl: blob-ext@1 {
Patrick Wildt3d906722022-01-08 16:34:17 +0100130 filename = "spl.bin";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100131 offset = <0x0>;
Patrick Wildt3d906722022-01-08 16:34:17 +0100132 };
133
134 uboot: blob-ext@2 {
Patrick Wildt3d906722022-01-08 16:34:17 +0100135 filename = "u-boot.itb";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100136 offset = <0x57c00>;
Patrick Wildt3d906722022-01-08 16:34:17 +0100137 };
138 };
Peng Fan4311f5a2021-10-22 10:42:16 +0800139};