blob: 566b8b80354ada944c2e7ebb2a619c56a7d3fe74 [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>;
Patrick Wildt4cbc3b62022-01-13 15:21:47 +010022 filename = "u-boot-spl.bin";
Peng Fan4311f5a2021-10-22 10:42:16 +080023 };
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 Wildt3d906722022-01-08 16:34:17 +010054 spl {
55 filename = "spl.bin";
56
Peng Fan4311f5a2021-10-22 10:42:16 +080057 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 Fan4311f5a2021-10-22 10:42:16 +080073 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010074 #address-cells = <1>;
Peng Fan4311f5a2021-10-22 10:42:16 +080075
76 images {
77 uboot {
Peng Fan4311f5a2021-10-22 10:42:16 +080078 arch = "arm64";
79 compression = "none";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010080 description = "U-Boot (64-bit)";
Peng Fan4311f5a2021-10-22 10:42:16 +080081 load = <CONFIG_SYS_TEXT_BASE>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010082 type = "standalone";
Peng Fan4311f5a2021-10-22 10:42:16 +080083
84 uboot_blob: blob-ext {
85 filename = "u-boot-nodtb.bin";
86 };
87 };
88
89 atf {
Peng Fan4311f5a2021-10-22 10:42:16 +080090 arch = "arm64";
91 compression = "none";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010092 description = "ARM Trusted Firmware";
Peng Fan4311f5a2021-10-22 10:42:16 +080093 entry = <0x910000>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010094 load = <0x910000>;
95 type = "firmware";
Peng Fan4311f5a2021-10-22 10:42:16 +080096
97 atf_blob: blob-ext {
98 filename = "bl31.bin";
99 };
100 };
101
102 fdt {
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100103 compression = "none";
Peng Fan4311f5a2021-10-22 10:42:16 +0800104 description = "NAME";
105 type = "flat_dt";
Peng Fan4311f5a2021-10-22 10:42:16 +0800106
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 Wildt3d5ce4e2022-01-13 15:21:24 +0100118 fdt = "fdt";
Peng Fan4311f5a2021-10-22 10:42:16 +0800119 firmware = "uboot";
120 loadables = "atf";
Peng Fan4311f5a2021-10-22 10:42:16 +0800121 };
122 };
123 };
124 };
Patrick Wildt3d906722022-01-08 16:34:17 +0100125
126 imx-boot {
127 filename = "flash.bin";
128 pad-byte = <0x00>;
129
130 spl: blob-ext@1 {
Patrick Wildt3d906722022-01-08 16:34:17 +0100131 filename = "spl.bin";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100132 offset = <0x0>;
Patrick Wildt3d906722022-01-08 16:34:17 +0100133 };
134
135 uboot: blob-ext@2 {
Patrick Wildt3d906722022-01-08 16:34:17 +0100136 filename = "u-boot.itb";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100137 offset = <0x57c00>;
Patrick Wildt3d906722022-01-08 16:34:17 +0100138 };
139 };
Peng Fan4311f5a2021-10-22 10:42:16 +0800140};