summaryrefslogtreecommitdiff
path: root/doc/usage/fit/kernel_fdt.rst
blob: 3802c8292d6c5f6f30301db314d2740a52558c9d (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
.. SPDX-License-Identifier: GPL-2.0+

Single kernel and FDT blob
==========================

::

    /dts-v1/;

    / {
        description = "Simple image with single Linux kernel and FDT blob";
        #address-cells = <1>;

        images {
            kernel {
                description = "Vanilla Linux kernel";
                data = /incbin/("./vmlinux.bin.gz");
                type = "kernel";
                arch = "ppc";
                os = "linux";
                compression = "gzip";
                load = <00000000>;
                entry = <00000000>;
                hash-1 {
                    algo = "crc32";
                };
                hash-2 {
                    algo = "sha256";
                };
            };
            fdt-1 {
                description = "Flattened Device Tree blob";
                data = /incbin/("./target.dtb");
                type = "flat_dt";
                arch = "ppc";
                compression = "none";
                hash-1 {
                    algo = "crc32";
                };
                hash-2 {
                    algo = "sha256";
                };
            };
        };

        configurations {
            default = "conf-1";
            conf-1 {
                description = "Boot Linux kernel with FDT blob";
                kernel = "kernel";
                fdt = "fdt-1";
            };
        };
    };