blob: dfd38d64f638f1a183aaa0e21510ef83db7d3f7c [file] [log] [blame]
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6#include "k3-binman.dtsi"
7
8#ifdef CONFIG_TARGET_AM625_R5_EVM
9
10&binman {
11 tiboot3-am62x-hs-evm.bin {
12 filename = "tiboot3-am62x-hs-evm.bin";
13 ti-secure-rom {
14 content = <&u_boot_spl>, <&ti_fs_enc>, <&combined_tifs_cfg>,
15 <&combined_dm_cfg>, <&sysfw_inner_cert>;
16 combined;
17 dm-data;
18 sysfw-inner-cert;
19 keyfile = "custMpk.pem";
20 sw-rev = <1>;
21 content-sbl = <&u_boot_spl>;
22 content-sysfw = <&ti_fs_enc>;
23 content-sysfw-data = <&combined_tifs_cfg>;
24 content-sysfw-inner-cert = <&sysfw_inner_cert>;
25 content-dm-data = <&combined_dm_cfg>;
26 load = <0x43c00000>;
27 load-sysfw = <0x40000>;
28 load-sysfw-data = <0x67000>;
29 load-dm-data = <0x43c3a800>;
30 };
31 u_boot_spl: u-boot-spl {
32 no-expanded;
33 };
34 ti_fs_enc: ti-fs-enc.bin {
35 filename = "ti-sysfw/ti-fs-firmware-am62x-hs-enc.bin";
36 type = "blob-ext";
37 optional;
38 };
39 combined_tifs_cfg: combined-tifs-cfg.bin {
40 filename = "combined-tifs-cfg.bin";
41 type = "blob-ext";
42 };
43 sysfw_inner_cert: sysfw-inner-cert {
44 filename = "ti-sysfw/ti-fs-firmware-am62x-hs-cert.bin";
45 type = "blob-ext";
46 optional;
47 };
48 combined_dm_cfg: combined-dm-cfg.bin {
49 filename = "combined-dm-cfg.bin";
50 type = "blob-ext";
51 };
52 };
53};
54
55&binman {
56 tiboot3-am62x-hs-fs-evm.bin {
57 filename = "tiboot3-am62x-hs-fs-evm.bin";
58 symlink = "tiboot3.bin";
59 ti-secure-rom {
60 content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>,
61 <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
62 combined;
63 dm-data;
64 sysfw-inner-cert;
65 keyfile = "custMpk.pem";
66 sw-rev = <1>;
67 content-sbl = <&u_boot_spl_fs>;
68 content-sysfw = <&ti_fs_enc_fs>;
69 content-sysfw-data = <&combined_tifs_cfg_fs>;
70 content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
71 content-dm-data = <&combined_dm_cfg_fs>;
72 load = <0x43c00000>;
73 load-sysfw = <0x40000>;
74 load-sysfw-data = <0x67000>;
75 load-dm-data = <0x43c3a800>;
76 };
77 u_boot_spl_fs: u-boot-spl {
78 no-expanded;
79 };
80 ti_fs_enc_fs: ti-fs-enc.bin {
81 filename = "ti-sysfw/ti-fs-firmware-am62x-hs-fs-enc.bin";
82 type = "blob-ext";
83 optional;
84 };
85 combined_tifs_cfg_fs: combined-tifs-cfg.bin {
86 filename = "combined-tifs-cfg.bin";
87 type = "blob-ext";
88 };
89 sysfw_inner_cert_fs: sysfw-inner-cert {
90 filename = "ti-sysfw/ti-fs-firmware-am62x-hs-fs-cert.bin";
91 type = "blob-ext";
92 optional;
93 };
94 combined_dm_cfg_fs: combined-dm-cfg.bin {
95 filename = "combined-dm-cfg.bin";
96 type = "blob-ext";
97 };
98 };
99};
100
101&binman {
102 tiboot3-am62x-gp-evm.bin {
103 filename = "tiboot3-am62x-gp-evm.bin";
104 ti-secure-rom {
105 content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
106 <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
107 combined;
108 dm-data;
109 content-sbl = <&u_boot_spl_unsigned>;
110 load = <0x43c00000>;
111 content-sysfw = <&ti_fs_gp>;
112 load-sysfw = <0x40000>;
113 content-sysfw-data = <&combined_tifs_cfg_gp>;
114 load-sysfw-data = <0x67000>;
115 content-dm-data = <&combined_dm_cfg_gp>;
116 load-dm-data = <0x43c3a800>;
117 sw-rev = <1>;
118 keyfile = "ti-degenerate-key.pem";
119 };
120 u_boot_spl_unsigned: u-boot-spl {
121 no-expanded;
122 };
123 ti_fs_gp: ti-fs-gp.bin {
124 filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
125 type = "blob-ext";
126 optional;
127 };
128 combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
129 filename = "combined-tifs-cfg.bin";
130 type = "blob-ext";
131 };
132 combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
133 filename = "combined-dm-cfg.bin";
134 type = "blob-ext";
135 };
136
137 };
138};
139
140#endif
141
142#ifdef CONFIG_TARGET_AM625_A53_EVM
143
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530144#define SPL_AM625_SK_DTB "spl/dts/k3-am625-sk.dtb"
Manorit Chawdhry64ebddb2023-07-14 11:22:38 +0530145#define AM625_SK_DTB "u-boot.dtb"
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530146
147&binman {
148 ti-dm {
149 filename = "ti-dm.bin";
150 blob-ext {
151 filename = "ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
152 };
153 };
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530154
155 tifsstub-hs {
156 filename = "tifsstub.bin_hs";
157 ti-secure-rom {
158 content = <&tifsstub_hs_cert>;
159 core = "secure";
160 load = <0x40000>;
161 sw-rev = <CONFIG_K3_X509_SWRV>;
162 keyfile = "custMpk.pem";
163 countersign;
164 tifsstub;
165 };
166 tifsstub_hs_cert: tifsstub-hs-cert.bin {
167 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin";
168 type = "blob-ext";
169 optional;
170 };
171 tifsstub_hs_enc: tifsstub-hs-enc.bin {
172 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin";
173 type = "blob-ext";
174 optional;
175 };
176 };
177
178 tifsstub-fs {
179 filename = "tifsstub.bin_fs";
180 tifsstub_fs_cert: tifsstub-fs-cert.bin {
181 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin";
182 type = "blob-ext";
183 optional;
184 };
185 tifsstub_fs_enc: tifsstub-fs-enc.bin {
186 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin";
187 type = "blob-ext";
188 optional;
189 };
190
191 };
192
193 tifsstub-gp {
194 filename = "tifsstub.bin_gp";
195 ti-secure-rom {
196 content = <&tifsstub_gp>;
197 core = "secure";
198 load = <0x60000>;
199 sw-rev = <CONFIG_K3_X509_SWRV>;
200 keyfile = "ti-degenerate-key.pem";
201 tifsstub;
202 };
203 tifsstub_gp: tifsstub-gp.bin {
204 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin";
205 type = "blob-ext";
206 optional;
207 };
208 };
209
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530210 ti-spl {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530211 insert-template = <&ti_spl_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530212
213 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530214 images {
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530215
216 tifsstub-hs {
217 description = "TIFSSTUB";
218 type = "firmware";
219 arch = "arm32";
220 compression = "none";
221 os = "tifsstub-hs";
222 load = <0x9dc00000>;
223 entry = <0x9dc00000>;
224 blob-ext {
225 filename = "tifsstub.bin_hs";
226 };
227 };
228
229 tifsstub-fs {
230 description = "TIFSSTUB";
231 type = "firmware";
232 arch = "arm32";
233 compression = "none";
234 os = "tifsstub-fs";
235 load = <0x9dc00000>;
236 entry = <0x9dc00000>;
237 blob-ext {
238 filename = "tifsstub.bin_fs";
239 };
240 };
241
242 tifsstub-gp {
243 description = "TIFSSTUB";
244 type = "firmware";
245 arch = "arm32";
246 compression = "none";
247 os = "tifsstub-gp";
248 load = <0x9dc00000>;
249 entry = <0x9dc00000>;
250 blob-ext {
251 filename = "tifsstub.bin_gp";
252 };
253 };
254
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530255 dm {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530256 ti-secure {
257 content = <&dm>;
258 keyfile = "custMpk.pem";
259 };
Neha Malcom Francis82378212023-12-05 15:12:19 +0530260 dm: ti-dm {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530261 filename = "ti-dm.bin";
262 };
263 };
264
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530265 fdt-0 {
266 description = "k3-am625-sk";
267 type = "flat_dt";
268 arch = "arm";
269 compression = "none";
270 ti-secure {
271 content = <&spl_am625_sk_dtb>;
272 keyfile = "custMpk.pem";
273 };
274 spl_am625_sk_dtb: blob-ext {
275 filename = SPL_AM625_SK_DTB;
276 };
277
278 };
279
280 };
281
282 configurations {
283 default = "conf-0";
284
285 conf-0 {
286 description = "k3-am625-sk";
287 firmware = "atf";
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530288 loadables = "tee", "tifsstub-hs", "tifsstub-fs",
289 "tifsstub-gp", "dm", "spl";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530290 fdt = "fdt-0";
291 };
292 };
293 };
294 };
295};
296
297&binman {
298 u-boot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530299 insert-template = <&u_boot_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530300
301 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530302 images {
303 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530304 description = "U-Boot for AM625 Board";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530305 };
306
307 fdt-0 {
308 description = "k3-am625-sk";
309 type = "flat_dt";
310 arch = "arm";
311 compression = "none";
312 ti-secure {
313 content = <&am625_sk_dtb>;
314 keyfile = "custMpk.pem";
315 };
316 am625_sk_dtb: blob-ext {
317 filename = AM625_SK_DTB;
318 };
319 hash {
320 algo = "crc32";
321 };
322 };
323 };
324
325 configurations {
326 default = "conf-0";
327
328 conf-0 {
329 description = "k3-am625-sk";
330 firmware = "uboot";
331 loadables = "uboot";
332 fdt = "fdt-0";
333 };
334
335 };
336 };
337 };
338};
339
340&binman {
341 ti-spl_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530342 insert-template = <&ti_spl_unsigned_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530343
344 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530345 images {
346
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530347 tifsstub-hs {
348 description = "tifsstub";
349 type = "firmware";
350 arch = "arm32";
351 compression = "none";
352 os = "tifsstub-hs";
353 load = <0x9dc00000>;
354 entry = <0x9dc00000>;
355 blob-ext {
356 filename = "tifsstub.bin_hs";
357 };
358 };
359
360 tifsstub-fs {
361 description = "tifsstub";
362 type = "firmware";
363 arch = "arm32";
364 compression = "none";
365 os = "tifsstub-fs";
366 load = <0x9dc00000>;
367 entry = <0x9dc00000>;
368 blob-ext {
369 filename = "tifsstub.bin_fs";
370 };
371 };
372
373 tifsstub-gp {
374 description = "tifsstub";
375 type = "firmware";
376 arch = "arm32";
377 compression = "none";
378 os = "tifsstub-gp";
379 load = <0x9dc00000>;
380 entry = <0x9dc00000>;
381 blob-ext {
382 filename = "tifsstub.bin_gp";
383 };
384 };
385
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530386 dm {
Neha Malcom Francis82378212023-12-05 15:12:19 +0530387 ti-dm {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530388 filename = "ti-dm.bin";
389 };
390 };
391
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530392 fdt-0 {
393 description = "k3-am625-sk";
394 type = "flat_dt";
395 arch = "arm";
396 compression = "none";
Nishanth Menonc3083d62023-08-25 13:03:02 -0500397 spl_am625_sk_dtb_unsigned: blob {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530398 filename = SPL_AM625_SK_DTB;
399 };
400 };
401 };
402
403 configurations {
404 default = "conf-0";
405
406 conf-0 {
407 description = "k3-am625-sk";
408 firmware = "atf";
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530409 loadables = "tee", "tifsstub-hs", "tifsstub-fs",
410 "tifsstub-gp", "dm", "spl";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530411 fdt = "fdt-0";
412 };
413 };
414 };
415 };
416};
417
418&binman {
419 u-boot_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530420 insert-template = <&u_boot_unsigned_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530421
422 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530423 images {
424 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530425 description = "U-Boot for AM625 Board";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530426 };
427
428 fdt-0 {
429 description = "k3-am625-sk";
430 type = "flat_dt";
431 arch = "arm";
432 compression = "none";
Nishanth Menonc3083d62023-08-25 13:03:02 -0500433 am625_sk_dtb_unsigned: blob {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530434 filename = AM625_SK_DTB;
435 };
436 hash {
437 algo = "crc32";
438 };
439 };
440 };
441
442 configurations {
443 default = "conf-0";
444
445 conf-0 {
446 description = "k3-am625-sk";
447 firmware = "uboot";
448 loadables = "uboot";
449 fdt = "fdt-0";
450 };
451 };
452 };
453 };
454};
455#endif