| 1 |
/* |
| 2 |
* Simple U-Boot uImage source file containing a single kernel and FDT blob |
| 3 |
*/ |
| 4 |
|
| 5 |
/dts-v1/; |
| 6 |
|
| 7 |
/ { |
| 8 |
description = "Simple image with single Linux kernel and FDT blob"; |
| 9 |
#address-cells = <1>; |
| 10 |
|
| 11 |
images { |
| 12 |
kernel { |
| 13 |
description = "Vanilla Linux kernel"; |
| 14 |
data = /incbin/("../build/vmlinux.bin.lzma"); |
| 15 |
type = "kernel"; |
| 16 |
arch = "riscv64"; |
| 17 |
os = "linux"; |
| 18 |
compression = "lzma"; |
| 19 |
load = <0x80000>; |
| 20 |
entry = <0x80000>; |
| 21 |
hash-1 { |
| 22 |
algo = "crc32"; |
| 23 |
}; |
| 24 |
hash-2 { |
| 25 |
algo = "sha1"; |
| 26 |
}; |
| 27 |
hash-3 { |
| 28 |
algo = "sha256"; |
| 29 |
}; |
| 30 |
}; |
| 31 |
fdt-1 { |
| 32 |
description = "Flattened Device Tree blob"; |
| 33 |
data = /incbin/("../build/target.dtb"); |
| 34 |
type = "flat_dt"; |
| 35 |
arch = "riscv64"; |
| 36 |
compression = "none"; |
| 37 |
hash-1 { |
| 38 |
algo = "crc32"; |
| 39 |
}; |
| 40 |
hash-2 { |
| 41 |
algo = "sha1"; |
| 42 |
}; |
| 43 |
hash-3 { |
| 44 |
algo = "sha256"; |
| 45 |
}; |
| 46 |
}; |
| 47 |
ramdisk-1 { |
| 48 |
description = "Compressed Initramfs"; |
| 49 |
data = /incbin/("../build/initramfs"); |
| 50 |
type = "ramdisk"; |
| 51 |
arch = "riscv64"; |
| 52 |
os = "linux"; |
| 53 |
compression = "none"; |
| 54 |
load = <00000000>; |
| 55 |
entry = <00000000>; |
| 56 |
hash-1 { |
| 57 |
algo = "sha1"; |
| 58 |
}; |
| 59 |
hash-2 { |
| 60 |
algo = "sha256"; |
| 61 |
}; |
| 62 |
}; |
| 63 |
}; |
| 64 |
|
| 65 |
configurations { |
| 66 |
default = "conf-1"; |
| 67 |
conf-1 { |
| 68 |
description = "Boot Linux kernel with FDT blob"; |
| 69 |
kernel = "kernel"; |
| 70 |
fdt = "fdt-1"; |
| 71 |
ramdisk = "ramdisk-1"; |
| 72 |
}; |
| 73 |
}; |
| 74 |
}; |