mpc85xx: generic: Check kernel size for the TL-WDR4900
TP-Link TL-WDR 4900 have u-boot with read-only env. Boot command read only 0x29F000 data from flash. Bigger images causes crc error. It can't be changed. This patch add kernel size checking. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [utilize KERNEL_SIZE]
This commit is contained in:
		 Pawel Dembicki
					Pawel Dembicki
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							bb831ca43a
						
					
				
				
					commit
					b3f7a73860
				
			| @@ -51,6 +51,7 @@ define Device/tl-wdr4900-v1 | |||||||
|   TPLINK_HWID := 0x49000001 |   TPLINK_HWID := 0x49000001 | ||||||
|   TPLINK_HWREV := 1 |   TPLINK_HWREV := 1 | ||||||
|   TPLINK_FLASHLAYOUT := 16Mppc |   TPLINK_FLASHLAYOUT := 16Mppc | ||||||
|  |   KERNEL_SIZE := 2684k | ||||||
|   KERNEL_NAME := cuImage.tl-wdr4900-v1 |   KERNEL_NAME := cuImage.tl-wdr4900-v1 | ||||||
|   KERNEL_INITRAMFS := |   KERNEL_INITRAMFS := | ||||||
|   SUPPORTED_DEVICES:=tl-wdr4900-v1 tplink,tl-wdr4900-v1 |   SUPPORTED_DEVICES:=tl-wdr4900-v1 tplink,tl-wdr4900-v1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user