mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	Use LZMA compressed kernel to save some space in boot partition. Fixes: #11197 Tested-by: Tianling Shen <cnsztl@immortalwrt.org> [NanoPi R2S] Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			229 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			229 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| part uuid mmc ${devnum}:2 uuid
 | |
| 
 | |
| setenv bootargs "console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=${uuid} rw rootwait"
 | |
| 
 | |
| load mmc ${devnum}:1 ${kernel_addr_r} kernel.img
 | |
| 
 | |
| bootm ${kernel_addr_r}
 |