Marian Balakowicz | 3310c54 | 2008-03-12 12:13:13 +0100 | [diff] [blame] | 1 | /* |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 2 | * Simple U-Boot uImage source file containing a single kernel |
Marian Balakowicz | 3310c54 | 2008-03-12 12:13:13 +0100 | [diff] [blame] | 3 | */ |
Ira W. Snyder | 824d829 | 2009-11-04 13:37:59 -0800 | [diff] [blame] | 4 | |
| 5 | /dts-v1/; |
| 6 | |
Marian Balakowicz | 3310c54 | 2008-03-12 12:13:13 +0100 | [diff] [blame] | 7 | / { |
| 8 | description = "Simple image with single Linux kernel"; |
| 9 | #address-cells = <1>; |
| 10 | |
| 11 | images { |
| 12 | kernel@1 { |
| 13 | description = "Vanilla Linux kernel"; |
| 14 | data = /incbin/("./vmlinux.bin.gz"); |
| 15 | type = "kernel"; |
| 16 | arch = "ppc"; |
| 17 | os = "linux"; |
| 18 | compression = "gzip"; |
| 19 | load = <00000000>; |
| 20 | entry = <00000000>; |
| 21 | hash@1 { |
| 22 | algo = "crc32"; |
| 23 | }; |
| 24 | hash@2 { |
| 25 | algo = "sha1"; |
| 26 | }; |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | configurations { |
| 31 | default = "config@1"; |
| 32 | config@1 { |
| 33 | description = "Boot Linux kernel"; |
| 34 | kernel = "kernel@1"; |
| 35 | }; |
| 36 | }; |
| 37 | }; |
Simon Glass | 90268b8 | 2014-10-19 21:11:24 -0600 | [diff] [blame] | 38 | |
| 39 | |
| 40 | |
| 41 | For x86 a setup node is also required: see x86-fit-boot.txt. |
| 42 | |
| 43 | /dts-v1/; |
| 44 | |
| 45 | / { |
| 46 | description = "Simple image with single Linux kernel on x86"; |
| 47 | #address-cells = <1>; |
| 48 | |
| 49 | images { |
| 50 | kernel@1 { |
| 51 | description = "Vanilla Linux kernel"; |
| 52 | data = /incbin/("./image.bin.lzo"); |
| 53 | type = "kernel"; |
| 54 | arch = "x86"; |
| 55 | os = "linux"; |
| 56 | compression = "lzo"; |
| 57 | load = <0x01000000>; |
| 58 | entry = <0x00000000>; |
| 59 | hash@2 { |
| 60 | algo = "sha1"; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | setup@1 { |
| 65 | description = "Linux setup.bin"; |
| 66 | data = /incbin/("./setup.bin"); |
| 67 | type = "x86_setup"; |
| 68 | arch = "x86"; |
| 69 | os = "linux"; |
| 70 | compression = "none"; |
| 71 | load = <0x00090000>; |
| 72 | entry = <0x00090000>; |
| 73 | hash@2 { |
| 74 | algo = "sha1"; |
| 75 | }; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | configurations { |
| 80 | default = "config@1"; |
| 81 | config@1 { |
| 82 | description = "Boot Linux kernel"; |
| 83 | kernel = "kernel@1"; |
| 84 | setup = "setup@1"; |
| 85 | }; |
| 86 | }; |
| 87 | }; |