mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Michal Simek](/assets/img/avatar_default.png)
When update_uboot.its is used directly there is syntax error for no reason.
Error report:
mkimage -f update_uboot.its boot
Error: update_uboot.its:18.12-13 syntax error
FATAL ERROR: Unable to parse input tree
mkimage: Can't read boot.tmp: Invalid argument
Fixes: 4bae90904b
("Automatic software update from TFTP server")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
25 lines
419 B
Plaintext
25 lines
419 B
Plaintext
/*
|
|
* Automatic software update for U-Boot
|
|
* Make sure the flashing addresses ('load' prop) is correct for your board!
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Automatic U-Boot update";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
update-1 {
|
|
description = "U-Boot binary";
|
|
data = /incbin/("./u-boot.bin");
|
|
compression = "none";
|
|
type = "firmware";
|
|
load = <0xFFFC0000>;
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
};
|
|
};
|