mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	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>
		
	
			
		
			
				
	
	
		
			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";
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |