mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	This patch adds sdboot command script for reference. This can be converetd into uboot script using mkimage and use for booting. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			539 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			539 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
| # This is an example file to generate boot.scr - a boot script for U-Boot
 | |
| # This example only target for qspi boot, sameway it can be created for boot
 | |
| # devices like nand.
 | |
| # Generate boot.scr:
 | |
| # ./tools/mkimage -c none -A arm -T script -d sdboot.cmd boot.scr
 | |
| #
 | |
| # It requires a list of environment variables used below to be defined
 | |
| # before load
 | |
| #
 | |
| mmc dev $devnum && mmcinfo && run uenvboot || run sdroot$devnum;load mmc $devnum:$partid $fdt_addr system.dtb && load mmc $devnum:$partid $kernel_addr Image && booti $kernel_addr - $fdt_addr
 |