mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 23:48:52 +09:00
![Ira W. Snyder](/assets/img/avatar_default.png)
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>
45 lines
766 B
Plaintext
45 lines
766 B
Plaintext
/*
|
|
* 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";
|
|
};
|
|
};
|
|
};
|
|
};
|