blob: 1fba537f135d83df01a4eb482311353252ccbafc [file] [log] [blame]
Simon Glass5e135d32022-10-20 18:23:15 -06001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Devicetree file for VPL (Verifying Program Loader)
4 */
5
6&binman {
7 u-boot-tpl-elf {
8 no-expanded;
9 };
10 u-boot-vpl-elf {
11 no-expanded;
12 };
13 fw-update {
14 type = "section";
15
16 /*
17 * provide plenty of space for ELF files with debug info so that
18 * gdb can be used
19 */
20 offset = <0x400000>;
21 size = <0xdffc00>;
22
23 fit {
24 fit,external-offset = <0>;
25 description = "AP firmware";
26 images {
27 spl {
28 description = "U-Boot SPL";
29 type = "firmware";
30 phase = "spl";
31 arch = "sandbox";
32 os = "u-boot";
33 compression = "none";
34
35 hash-1 {
36 algo = "sha256";
37 };
38
39 u-boot-spl-elf {
40 };
41 };
42 u-boot {
43 description = "U-Boot";
44 type = "firmware";
45 phase = "u-boot";
46 arch = "sandbox";
47 os = "u-boot";
48 compression = "none";
49
50 hash-1 {
51 algo = "sha256";
52 };
53
54 u-boot-elf {
55 };
56 };
57 };
58
59 configurations {
60 conf-1 {
61 compatible = "sandbox";
62 description = "AP Firmware v1";
63 firmware = "spl", "u-boot";
64 signature {
65 algo = "sha1,rsa2048";
66 key-name-hint = "dev";
67 sign-images = "firmware";
68 };
69 };
70 };
71 };
72 };
73 state {
74 type = "fill";
75 size = <0x200>;
76 };
77 version {
78 type = "text";
79 text = "1.2.3";
80 size = <0x200>;
81 };
82 fdtmap {
83 };
84};