[PATCH] doc: fit: Write hex address as hex instead of int

Michal Simek michal.simek at xilinx.com
Wed Jul 15 15:10:17 CEST 2020


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: 4bae90904b69 ("Automatic software update from TFTP server")
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 doc/uImage.FIT/update_uboot.its | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/uImage.FIT/update_uboot.its b/doc/uImage.FIT/update_uboot.its
index c2ac2663e625..aec482600815 100644
--- a/doc/uImage.FIT/update_uboot.its
+++ b/doc/uImage.FIT/update_uboot.its
@@ -15,7 +15,7 @@
 			data = /incbin/("./u-boot.bin");
 			compression = "none";
 			type = "firmware";
-			load = <FFFC0000>;
+			load = <0xFFFC0000>;
 			hash-1 {
 				algo = "sha1";
 			};
-- 
2.27.0



More information about the U-Boot mailing list