mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
824d82997f
The example FIT image source files do not compile with the latest dtc and mkimage. The following error message is produced: DTC: dts->dtb on file "kernel.its" Error: kernel.its 7:0 - 1:0 syntax error FATAL ERROR: Unable to parse input tree ./mkimage: Can't read kernel.itb.tmp: Invalid argument The FIT image source files are missing the "/dts-v1/;" directive at the beginning of the file. Add the directive to the examples. Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
51 lines
898 B
Text
51 lines
898 B
Text
/*
|
|
* Simple U-boot uImage source file containing a single kernel and FDT blob
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Simple image with single Linux kernel and FDT blob";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
kernel@1 {
|
|
description = "Vanilla Linux kernel";
|
|
data = /incbin/("./vmlinux.bin.gz");
|
|
type = "kernel";
|
|
arch = "ppc";
|
|
os = "linux";
|
|
compression = "gzip";
|
|
load = <00000000>;
|
|
entry = <00000000>;
|
|
hash@1 {
|
|
algo = "crc32";
|
|
};
|
|
hash@2 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
fdt@1 {
|
|
description = "Flattened Device Tree blob";
|
|
data = /incbin/("./target.dtb");
|
|
type = "flat_dt";
|
|
arch = "ppc";
|
|
compression = "none";
|
|
hash@1 {
|
|
algo = "crc32";
|
|
};
|
|
hash@2 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf@1";
|
|
conf@1 {
|
|
description = "Boot Linux kernel with FDT blob";
|
|
kernel = "kernel@1";
|
|
fdt = "fdt@1";
|
|
};
|
|
};
|
|
};
|