mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Both SHA1 and (especially) MD5 are no longer as safe as they once were for cryptographic use. Replaces examples which use them with examples using SHA256 instead. This will provide more-secure defaults for users who use documentation examples as a base for their own use. This is not too necessary for non-verified-boot scenarios (since someone could just replace the checksum), but I wanted to be complete. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			43 lines
		
	
	
		
			703 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			703 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	description = "U-Boot mainline";
 | |
| 	#address-cells = <1>;
 | |
| 
 | |
| 	images {
 | |
| 		kernel {
 | |
| 			description = "U-Boot mainline    ";
 | |
| 			type = "kernel_noload";
 | |
| 			arch = "arm";
 | |
| 			os = "linux";
 | |
| 			data = /incbin/("../.././b/nyan-big/u-boot.bin");
 | |
| 			compression = "none";
 | |
| 			load = <0>;
 | |
| 			entry = <0>;
 | |
| 			hash-2 {
 | |
| 				algo = "sha256";
 | |
| 			};
 | |
| 		};
 | |
| 
 | |
| 		fdt-1{
 | |
| 			description = "tegra124-nyan-big.dtb";
 | |
| 			data = /incbin/("../.././b/nyan-big/u-boot.dtb");
 | |
| 			type = "flat_dt";
 | |
| 			arch = "arm";
 | |
| 			compression = "none";
 | |
| 			hash-1{
 | |
| 				algo = "sha256";
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| 
 | |
| 	configurations {
 | |
| 		default = "config-1";
 | |
| 		config-1 {
 | |
| 			description = "Boot U-Boot";
 | |
| 			kernel = "kernel";
 | |
| 			fdt = "fdt-1";
 | |
| 		};
 | |
| 	};
 | |
| };
 |