Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | Multiple kernels, ramdisks and FDT blobs |
| 4 | ======================================== |
| 5 | |
| 6 | :: |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | / { |
| 11 | description = "Various kernels, ramdisks and FDT blobs"; |
| 12 | #address-cells = <1>; |
| 13 | |
| 14 | images { |
| 15 | kernel-1 { |
| 16 | description = "vanilla-2.6.23"; |
| 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 = "md5"; |
| 26 | }; |
| 27 | hash-2 { |
| 28 | algo = "sha1"; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | kernel-2 { |
| 33 | description = "2.6.23-denx"; |
| 34 | data = /incbin/("./2.6.23-denx.bin.gz"); |
| 35 | type = "kernel"; |
| 36 | arch = "ppc"; |
| 37 | os = "linux"; |
| 38 | compression = "gzip"; |
| 39 | load = <00000000>; |
| 40 | entry = <00000000>; |
| 41 | hash-1 { |
| 42 | algo = "sha1"; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | kernel-3 { |
| 47 | description = "2.4.25-denx"; |
| 48 | data = /incbin/("./2.4.25-denx.bin.gz"); |
| 49 | type = "kernel"; |
| 50 | arch = "ppc"; |
| 51 | os = "linux"; |
| 52 | compression = "gzip"; |
| 53 | load = <00000000>; |
| 54 | entry = <00000000>; |
| 55 | hash-1 { |
| 56 | algo = "md5"; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | ramdisk-1 { |
| 61 | description = "eldk-4.2-ramdisk"; |
| 62 | data = /incbin/("./eldk-4.2-ramdisk"); |
| 63 | type = "ramdisk"; |
| 64 | arch = "ppc"; |
| 65 | os = "linux"; |
| 66 | compression = "gzip"; |
| 67 | load = <00000000>; |
| 68 | entry = <00000000>; |
| 69 | hash-1 { |
| 70 | algo = "sha1"; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | ramdisk-2 { |
| 75 | description = "eldk-3.1-ramdisk"; |
| 76 | data = /incbin/("./eldk-3.1-ramdisk"); |
| 77 | type = "ramdisk"; |
| 78 | arch = "ppc"; |
| 79 | os = "linux"; |
| 80 | compression = "gzip"; |
| 81 | load = <00000000>; |
| 82 | entry = <00000000>; |
| 83 | hash-1 { |
| 84 | algo = "crc32"; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | fdt-1 { |
| 89 | description = "tqm5200-fdt"; |
| 90 | data = /incbin/("./tqm5200.dtb"); |
| 91 | type = "flat_dt"; |
| 92 | arch = "ppc"; |
| 93 | compression = "none"; |
| 94 | hash-1 { |
| 95 | algo = "crc32"; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | fdt-2 { |
| 100 | description = "tqm5200s-fdt"; |
| 101 | data = /incbin/("./tqm5200s.dtb"); |
| 102 | type = "flat_dt"; |
| 103 | arch = "ppc"; |
| 104 | compression = "none"; |
| 105 | load = <00700000>; |
| 106 | hash-1 { |
| 107 | algo = "sha1"; |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | }; |
| 112 | |
| 113 | configurations { |
| 114 | default = "config-1"; |
| 115 | |
| 116 | config-1 { |
| 117 | description = "tqm5200 vanilla-2.6.23 configuration"; |
| 118 | kernel = "kernel-1"; |
| 119 | ramdisk = "ramdisk-1"; |
| 120 | fdt = "fdt-1"; |
| 121 | }; |
| 122 | |
| 123 | config-2 { |
| 124 | description = "tqm5200s denx-2.6.23 configuration"; |
| 125 | kernel = "kernel-2"; |
| 126 | ramdisk = "ramdisk-1"; |
| 127 | fdt = "fdt-2"; |
| 128 | }; |
| 129 | |
| 130 | config-3 { |
| 131 | description = "tqm5200s denx-2.4.25 configuration"; |
| 132 | kernel = "kernel-3"; |
| 133 | ramdisk = "ramdisk-2"; |
| 134 | }; |
| 135 | }; |
| 136 | }; |