aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-03-26 11:41:57 +0100
committerPetr Štetiar <ynezz@true.cz>2019-04-02 02:08:37 +0200
commita2a972b2cfd762bc2207ffddde228737245ab926 (patch)
tree0ebb5de0d708961a17d0f02b6df3666ec8bfe974 /target/linux
parent848d85d13b6602ff480d3de0339ebef9f79d56ff (diff)
downloadupstream-a2a972b2cfd762bc2207ffddde228737245ab926.tar.gz
upstream-a2a972b2cfd762bc2207ffddde228737245ab926.tar.bz2
upstream-a2a972b2cfd762bc2207ffddde228737245ab926.zip
ar71xx: Use dynamic partitions for TP-Link CPE210 v2
This is also helpful to add support in ath79. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/generic-tp-link.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/generic-tp-link.mk b/target/linux/ar71xx/image/generic-tp-link.mk
index 6fda7f3630..7df1025eec 100644
--- a/target/linux/ar71xx/image/generic-tp-link.mk
+++ b/target/linux/ar71xx/image/generic-tp-link.mk
@@ -192,8 +192,10 @@ define Device/cpe210-v2
TPLINK_BOARD_ID := CPE210V2
TPLINK_HWID := 0x0
TPLINK_HWREV := 0
- MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1792k(kernel),5888k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware)
+ MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro
IMAGE_SIZE := 7680k
+ KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
+ KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
DEVICE_PACKAGES := rssileds
endef
TARGET_DEVICES += cpe210-v2