aboutsummaryrefslogtreecommitdiff
path: root/doc/usage/fit/update3.rst
blob: 4ff3950c01e9dac9b9e41a673c1532b543baccaf (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
.. SPDX-License-Identifier: GPL-2.0+

Automatic software update: multiple files
=========================================

::

    /dts-v1/;

    / {
        description = "Automatic software updates: kernel, ramdisk, FDT";
        #address-cells = <1>;

        images {
            update-1 {
                description = "Linux kernel binary";
                data = /incbin/("./vmlinux.bin.gz");
                compression = "none";
                type = "firmware";
                load = <FF700000>;
                hash-1 {
                    algo = "sha1";
                };
            };
            update-2 {
                description = "Ramdisk image";
                data = /incbin/("./ramdisk_image.gz");
                compression = "none";
                type = "firmware";
                load = <FF8E0000>;
                hash-1 {
                    algo = "sha1";
                };
            };

            update-3 {
                description = "FDT blob";
                data = /incbin/("./blob.fdt");
                compression = "none";
                type = "firmware";
                load = <FFAC0000>;
                hash-1 {
                    algo = "sha1";
                };
            };
        };
    };