mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	HUSH shell is not always wanted/desirable. Add missing braces in environment in order to allow use without HUSH shell. Signed-off-by: Jean-Michel CASAUBON <jean-michel.casaubon@csgroup.eu> Cc: DUBOIS Hugo <hugo.dubois.ext@csgroup.eu> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
		
			
				
	
	
		
			8 lines
		
	
	
		
			659 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			659 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| loadaddr=0x1a00000
 | |
| filename=cmpc885.itb
 | |
| console_args=console=ttyCPM0,115200N8
 | |
| loadkernel=ubi part nand0;ubifsmount ubi0;ubifsload ${loadaddr} /boot/${filename};ubifsumount; ubi detach
 | |
| flashboot=setenv bootargs ${console_args} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off ${ofl_args}; run loadkernel; bootm ${loadaddr}#${config}
 | |
| tftpboot=setenv bootargs ${console_args} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off ${ofl_args}; tftp ${loadaddr} ${filename};bootm ${loadaddr}#${config}
 | |
| update=echo 'Updating ubi image'; if tftp $loadaddr $ubifile; then nand erase.chip; nand write $loadaddr 0x00 $filesize; fi;
 |