From b3f7a73860ae62da5a39babb1a5f28cb35f0aba0 Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Tue, 29 Jan 2019 18:26:28 +0000 Subject: [PATCH] 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 Signed-off-by: Christian Lamparter [utilize KERNEL_SIZE] --- target/linux/mpc85xx/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index d2c3ae1861..68c0da84ee 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -51,6 +51,7 @@ define Device/tl-wdr4900-v1 TPLINK_HWID := 0x49000001 TPLINK_HWREV := 1 TPLINK_FLASHLAYOUT := 16Mppc + KERNEL_SIZE := 2684k KERNEL_NAME := cuImage.tl-wdr4900-v1 KERNEL_INITRAMFS := SUPPORTED_DEVICES:=tl-wdr4900-v1 tplink,tl-wdr4900-v1 -- 2.30.2