mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.
fatload/ext2load both require that the device and partition be specified after specifying the device type. Specify the first partition on mmc device 0, which is the only mmc device currently configured on the pandora. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Acked-by: Grazvydas Ignotas <notasas@gmail.com>
This commit is contained in:
		
							parent
							
								
									fa2f81b06f
								
							
						
					
					
						commit
						f6eb836e84
					
				@ -93,8 +93,8 @@
 | 
			
		||||
	"mtdparts=" MTDPARTS_DEFAULT "\0" \
 | 
			
		||||
 | 
			
		||||
#define CONFIG_BOOTCOMMAND \
 | 
			
		||||
	"if mmc rescan && fatload mmc1 0 ${loadaddr} autoboot.scr || " \
 | 
			
		||||
			"ext2load mmc1 0 ${loadaddr} autoboot.scr; then " \
 | 
			
		||||
	"if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
 | 
			
		||||
			"ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
 | 
			
		||||
		"source ${loadaddr}; " \
 | 
			
		||||
	"fi; " \
 | 
			
		||||
	"ubi part boot && ubifsmount ubi:boot && " \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user