summaryrefslogtreecommitdiff
path: root/board/st/stm32mp1/fit_copro_kernel_dtb.its
blob: dc43639af4bcac40cad854aba4d9c41c4e4e7966 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/*
 * Compilation:
 * mkimage -f fit_copro_kernel_dtb.its fit_copro_kernel_dtb.itb
 *
 * M4 firmware to load with remoteproc: rproc-m4-fw.elf
 *
 * Files in linux build dir:
 * - arch/arm/boot/zImage
 * - arch/arm/boot/dts/stm32mp157c-dk2.dtb
 * - arch/arm/boot/dts/stm32mp157c-ev1.dtb
 *
 * load mmc 0:4 $kernel_addr_r fit_copro_kernel_dtb.itb
 * bootm $kernel_addr_r
 * bootm $kernel_addr_r#dk2
 * bootm $kernel_addr_r#ev1
 * bootm $kernel_addr_r#dk2-m4
 * bootm $kernel_addr_r#ev1-m4
 */

/dts-v1/;
/ {
	description = "U-Boot fitImage for stm32mp157";
	#address-cells = <1>;

	images {

		copro {
			description = "M4 copro";
			data = /incbin/("rproc-m4-fw.elf");
			type = "copro";
			arch = "arm";
			compression = "none";
			load = <0xC0800000>;
			hash-1 {
				algo = "sha1";
			};
		};

		kernel {
			description = "Linux kernel";
			data = /incbin/("zImage");
			type = "kernel";
			arch = "arm";
			os = "linux";
			compression = "none";
			load = <0xC4000000>;
			entry = <0xC4000000>;
			hash-1 {
				algo = "sha1";
			};
		};

		fdt-dk2 {
			description = "FDT dk2";
			data = /incbin/("stm32mp157c-dk2.dtb");
			type = "flat_dt";
			arch = "arm";
			compression = "none";
			hash-1 {
				algo = "sha1";
			};
		};

		fdt-ev1 {
			description = "FDT ev1";
			data = /incbin/("stm32mp157c-ev1.dtb");
			type = "flat_dt";
			arch = "arm";
			compression = "none";
			hash-1 {
				algo = "sha1";
			};
		};
	};

	configurations {
		default = "dk2-m4";

		dk2-m4 {
			description = "dk2-m4";
			loadables = "copro";
			kernel = "kernel";
			fdt = "fdt-dk2";
			hash-1 {
				algo = "sha1";
			};
		};

		dk2 {
			description = "dk2";
			kernel = "kernel";
			fdt = "fdt-dk2";
			hash-1 {
				algo = "sha1";
			};
		};

		ev1-m4 {
			description = "ev1-m4";
			loadables = "copro";
			kernel = "kernel";
			fdt = "fdt-ev1";
			hash-1 {
				algo = "sha1";
			};
		};

		ev1 {
			description = "ev1";
			kernel = "kernel";
			fdt = "fdt-ev1";
			hash-1 {
				algo = "sha1";
			};
		};
	};
};