diff mbox series

doc: fit: Write hex address as hex instead of int

Message ID 73e1f0d4b9def10aaacac91f26df2ac951079a74.1594818615.git.michal.simek@xilinx.com
State Accepted
Commit 4d288dcd4c8059a3d6dbaeb8a27030366eb27d89
Delegated to: Tom Rini
Headers show
Series doc: fit: Write hex address as hex instead of int | expand

Commit Message

Michal Simek July 15, 2020, 1:10 p.m. UTC
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@xilinx.com>
---

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

Comments

Tom Rini July 17, 2020, 8:59 p.m. UTC | #1
On Wed, Jul 15, 2020 at 03:10:17PM +0200, Michal Simek wrote:

> 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@xilinx.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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";
 			};