Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | Automatic software update: multiple files |
| 4 | ========================================= |
| 5 | |
| 6 | :: |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | / { |
| 11 | description = "Automatic software updates: kernel, ramdisk, FDT"; |
| 12 | #address-cells = <1>; |
| 13 | |
| 14 | images { |
| 15 | update-1 { |
| 16 | description = "Linux kernel binary"; |
| 17 | data = /incbin/("./vmlinux.bin.gz"); |
| 18 | compression = "none"; |
| 19 | type = "firmware"; |
| 20 | load = <FF700000>; |
| 21 | hash-1 { |
Sean Anderson | 72a09cc | 2023-12-02 14:33:14 -0500 | [diff] [blame] | 22 | algo = "sha256"; |
Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 23 | }; |
| 24 | }; |
| 25 | update-2 { |
| 26 | description = "Ramdisk image"; |
| 27 | data = /incbin/("./ramdisk_image.gz"); |
| 28 | compression = "none"; |
| 29 | type = "firmware"; |
| 30 | load = <FF8E0000>; |
| 31 | hash-1 { |
Sean Anderson | 72a09cc | 2023-12-02 14:33:14 -0500 | [diff] [blame] | 32 | algo = "sha256"; |
Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 33 | }; |
| 34 | }; |
| 35 | |
| 36 | update-3 { |
| 37 | description = "FDT blob"; |
| 38 | data = /incbin/("./blob.fdt"); |
| 39 | compression = "none"; |
| 40 | type = "firmware"; |
| 41 | load = <FFAC0000>; |
| 42 | hash-1 { |
Sean Anderson | 72a09cc | 2023-12-02 14:33:14 -0500 | [diff] [blame] | 43 | algo = "sha256"; |
Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 44 | }; |
| 45 | }; |
| 46 | }; |
| 47 | }; |