Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | Single kernel and FDT blob |
| 4 | ========================== |
| 5 | |
| 6 | :: |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | / { |
| 11 | description = "Simple image with single Linux kernel and FDT blob"; |
| 12 | #address-cells = <1>; |
| 13 | |
| 14 | images { |
| 15 | kernel { |
| 16 | description = "Vanilla Linux kernel"; |
| 17 | data = /incbin/("./vmlinux.bin.gz"); |
| 18 | type = "kernel"; |
| 19 | arch = "ppc"; |
| 20 | os = "linux"; |
| 21 | compression = "gzip"; |
| 22 | load = <00000000>; |
| 23 | entry = <00000000>; |
| 24 | hash-1 { |
| 25 | algo = "crc32"; |
| 26 | }; |
| 27 | hash-2 { |
Sean Anderson | 72a09cc | 2023-12-02 14:33:14 -0500 | [diff] [blame] | 28 | algo = "sha256"; |
Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 29 | }; |
| 30 | }; |
| 31 | fdt-1 { |
| 32 | description = "Flattened Device Tree blob"; |
| 33 | data = /incbin/("./target.dtb"); |
| 34 | type = "flat_dt"; |
| 35 | arch = "ppc"; |
| 36 | compression = "none"; |
| 37 | hash-1 { |
| 38 | algo = "crc32"; |
| 39 | }; |
| 40 | hash-2 { |
Sean Anderson | 72a09cc | 2023-12-02 14:33:14 -0500 | [diff] [blame] | 41 | algo = "sha256"; |
Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 42 | }; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | configurations { |
| 47 | default = "conf-1"; |
| 48 | conf-1 { |
| 49 | description = "Boot Linux kernel with FDT blob"; |
| 50 | kernel = "kernel"; |
| 51 | fdt = "fdt-1"; |
| 52 | }; |
| 53 | }; |
| 54 | }; |