~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: fc6590748115b751cef0a7c4f060fb4dfa9b1675 (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
/*
 * Automatic software update for U-Boot
 * Make sure the flashing addresses ('load' prop) is correct for your board!
 */

/dts-v1/;

/ {
	description = "Automatic U-Boot environment update";
	#address-cells = <2>;

	images {
		u-boot-bin {
			description = "U-Boot binary on SPI Flash";
			data = /incbin/("BINFILE1");
			compression = "none";
			type = "firmware";
			arch = "sandbox";
			load = <0>;
			hash-1 {
				algo = "sha1";
			};
		};
		u-boot-env {
			description = "U-Boot environment on SPI Flash";
			data = /incbin/("BINFILE2");
			compression = "none";
			type = "firmware";
			arch = "sandbox";
			load = <0>;
			hash-1 {
				algo = "sha1";
			};
		};
	};
};