summaryrefslogtreecommitdiff
path: root/test/py/tests/vboot/hash-images.its
blob: 3ff797288c2f71c377077a0e262a95a9ead4c324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/dts-v1/;

/ {
	description = "Chrome OS kernel image with one or more FDT blobs";
	#address-cells = <1>;

	images {
		kernel {
			data = /incbin/("test-kernel.bin");
			type = "kernel_noload";
			arch = "sandbox";
			os = "linux";
			compression = "none";
			load = <0x4>;
			entry = <0x8>;
			kernel-version = <1>;
			hash-0 {
                                algo = "crc16-ccitt";
                        };
                        hash-1 {
                                algo = "crc32";
                        };
                        hash-2 {
                                algo = "md5";
                        };
                        hash-3 {
                                algo = "sha1";
                        };
                        hash-4 {
                                algo = "sha256";
                        };
                        hash-5 {
                                algo = "sha384";
                        };
                        hash-6 {
                                algo = "sha512";
                        };
		};
		fdt-1 {
			description = "snow";
			data = /incbin/("sandbox-kernel.dtb");
			type = "flat_dt";
			arch = "sandbox";
			compression = "none";
			fdt-version = <1>;
			hash-0 {
                                algo = "crc16-ccitt";
                        };
                        hash-1 {
                                algo = "crc32";
                        };
                        hash-2 {
                                algo = "md5";
                        };
                        hash-3 {
                                algo = "sha1";
                        };
                        hash-4 {
                                algo = "sha256";
                        };
                        hash-5 {
                                algo = "sha384";
                        };
                        hash-6 {
                                algo = "sha512";
                        };
		};
	};
	configurations {
		default = "conf-1";
		conf-1 {
			kernel = "kernel";
			fdt = "fdt-1";
		};
	};
};