blob: 18d03ebf3c030b2aa3bbc4dff47b140fbe7b022a [file] [log] [blame]
Patrick Delaunay01bcfc22019-08-02 15:07:21 +02001/*
2 * Compilation:
3 * mkimage -f fit_kernel_dtb.its fit_kernel_dtb.itb
4 *
5 * Files in linux build dir:
6 * - arch/arm/boot/zImage
7 * - arch/arm/boot/dts/stm32mp157c-dk2.dtb
8 * - arch/arm/boot/dts/stm32mp157c-ev1.dtb
9 *
10 * load mmc 0:4 $kernel_addr_r fit_kernel_dtb.itb
11 * bootm $kernel_addr_r
12 * bootm $kernel_addr_r#dk2
13 * bootm $kernel_addr_r#ev1
14 *
15 * or use extlinux.conf in this directory
16 */
17
18/dts-v1/;
19/ {
20 description = "U-Boot fitImage for stm32mp157";
21 #address-cells = <1>;
22
23 images {
24 kernel {
25 description = "Linux kernel";
26 data = /incbin/("zImage");
27 type = "kernel";
28 arch = "arm";
29 os = "linux";
30 compression = "none";
31 load = <0xC0008000>;
32 entry = <0xC0008000>;
33 hash-1 {
34 algo = "sha1";
35 };
36 };
37
38 fdt-dk2 {
39 description = "FDT dk2";
40 data = /incbin/("stm32mp157c-dk2.dtb");
41 type = "flat_dt";
42 arch = "arm";
43 compression = "none";
44 hash-1 {
45 algo = "sha1";
46 };
47 };
48
49 fdt-ev1 {
50 description = "FDT ev1";
51 data = /incbin/("stm32mp157c-ev1.dtb");
52 type = "flat_dt";
53 arch = "arm";
54 compression = "none";
55 hash-1 {
56 algo = "sha1";
57 };
58 };
59 };
60
61 configurations {
62 default = "dk2";
63
64 dk2 {
65 description = "dk2";
66 kernel = "kernel";
67 fdt = "fdt-dk2";
68 hash-1 {
69 algo = "sha1";
70 };
71 };
72
73 ev1 {
74 description = "ev1";
75 kernel = "kernel";
76 fdt = "fdt-ev1";
77 hash-1 {
78 algo = "sha1";
79 };
80 };
81 };
82};