mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +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>
37 lines
608 B
Text
37 lines
608 B
Text
/*
|
|
* Simple U-boot uImage source file containing a single kernel
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Simple image with single Linux kernel";
|
|
#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";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "config@1";
|
|
config@1 {
|
|
description = "Boot Linux kernel";
|
|
kernel = "kernel@1";
|
|
};
|
|
};
|
|
};
|