mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-27 05:23:34 +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>
44 lines
766 B
Text
44 lines
766 B
Text
/*
|
|
* Example Automatic software update file.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Automatic software updates: kernel, ramdisk, FDT";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
update@1 {
|
|
description = "Linux kernel binary";
|
|
data = /incbin/("./vmlinux.bin.gz");
|
|
compression = "none";
|
|
type = "firmware";
|
|
load = <FF700000>;
|
|
hash@1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
update@2 {
|
|
description = "Ramdisk image";
|
|
data = /incbin/("./ramdisk_image.gz");
|
|
compression = "none";
|
|
type = "firmware";
|
|
load = <FF8E0000>;
|
|
hash@1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
|
|
update@3 {
|
|
description = "FDT blob";
|
|
data = /incbin/("./blob.fdt");
|
|
compression = "none";
|
|
type = "firmware";
|
|
load = <FFAC0000>;
|
|
hash@1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
};
|
|
};
|