Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

update_uboot.its

Blame
  • Forked from Reform / reform-boundary-uboot
    30456 commits behind the upstream repository.
    • Ira W. Snyder's avatar
      824d8299
      Fix example FIT image source files · 824d8299
      Ira W. Snyder authored
      
      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: default avatarIra W. Snyder <iws@ovro.caltech.edu>
      824d8299
      History
      Fix example FIT image source files
      Ira W. Snyder authored
      
      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: default avatarIra W. Snyder <iws@ovro.caltech.edu>
    update_uboot.its 417 B
    /*
     * 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 = <FFFC0000>;
    			hash@1 {
    				algo = "sha1";
    			};
    		};
    	};
    };