blob: af229501a4d46dffb53ce3a81c43f66e5fc8ab9a [file] [log] [blame]
Oliver Graute3e0bf762022-11-04 16:03:37 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 NXP
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10};
11
12&binman {
Simon Glass85ed77d2024-09-29 19:49:46 -060013#ifdef CONFIG_XPL_BUILD
Oliver Graute3e0bf762022-11-04 16:03:37 +010014 u-boot-spl-ddr {
15 align = <4>;
16 align-size = <4>;
17 filename = "u-boot-spl-ddr.bin";
18 pad-byte = <0xff>;
19
20 u-boot-spl {
21 align-end = <4>;
22 filename = "u-boot-spl.bin";
23 };
24 };
25
26 spl {
27 filename = "spl.bin";
28
29 mkimage {
30 args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x100000";
31
32 blob {
33 filename = "u-boot-spl-ddr.bin";
34 };
35 };
36 };
Oliver Graute870e8ff2022-11-04 16:03:44 +010037#endif
Oliver Graute3e0bf762022-11-04 16:03:37 +010038
39 itb {
40 filename = "u-boot.itb";
41
42 fit {
43 description = "Configuration to load ATF before U-Boot";
44 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
45 fit,fdt-list = "of-list";
46 #address-cells = <1>;
47
48 images {
49 uboot {
50 arch = "arm64";
51 compression = "none";
52 description = "U-Boot (64-bit)";
Stefano Babic02cb9bc2022-11-09 16:50:49 +010053 load = <CONFIG_TEXT_BASE>;
Oliver Graute3e0bf762022-11-04 16:03:37 +010054 type = "standalone";
55
56 uboot-blob {
57 filename = "u-boot-nodtb.bin";
58 type = "blob-ext";
59 };
60 };
61
62 atf {
63 arch = "arm64";
64 compression = "none";
65 description = "ARM Trusted Firmware";
66 entry = <0x00910000>;
67 load = <0x00091000>;
68 type = "firmware";
69
70 atf-blob {
71 filename = "bl31.bin";
72 type = "atf-bl31";
73 };
74 };
75
76 scfw {
77 arch = "arm64";
78 compression = "none";
79 description = "System Controler Firmware";
80 type = "firmware";
81
82 scfw_blob {
83 filename = "mx8qm-val-scfw-tcm.bin";
84 type = "blob-ext";
85 };
86 };
87
88 seco {
89 arch = "arm64";
90 compression = "none";
91 description = "Seco Firmware";
92 type = "firmware";
93
94 seco_blob {
95 filename = "mx8qm-ahab-container.img";
96 type = "blob-ext";
97 };
98 };
99
100 @fdt-SEQ {
101 compression = "none";
102 description = "NAME";
103 type = "flat_dt";
104
105 uboot-fdt-blob {
106 filename = "u-boot.dtb";
107 type = "blob-ext";
108 };
109 };
110 };
111
112 configurations {
113 default = "@config-DEFAULT-SEQ";
114
Simon Glassceea7842023-08-23 19:18:01 -0600115 @config-SEQ {
Oliver Graute3e0bf762022-11-04 16:03:37 +0100116 description = "NAME";
117 fdt = "fdt-SEQ";
118 firmware = "uboot";
119 loadables = "atf";
120 };
121 };
122 };
123 };
124
125 imx-boot {
126 filename = "flash.bin";
127 pad-byte = <0x00>;
128
129 spl {
130 filename = "spl.bin";
131 offset = <0x0>;
132 type = "blob-ext";
133 };
134 };
135};