aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-16 15:37:22 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-22 23:52:51 +0100
commitb2102be8a54ad14043035527d8ed33f4611f1553 (patch)
treee99ef0e79b0c8e91923810d5b5082540a927eca7
parent5f4f269ce12558e90743512e08be0f2b8b701279 (diff)
downloadupstream-b2102be8a54ad14043035527d8ed33f4611f1553.tar.gz
upstream-b2102be8a54ad14043035527d8ed33f4611f1553.tar.bz2
upstream-b2102be8a54ad14043035527d8ed33f4611f1553.zip
ar71xx: use dynamic partitioning for TP-Link TL-WA850RE v2
This moves the TP-Link TL-WA850RE v2 to dynamic partitioning and will allow to use this for ath79 as well. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ar71xx/image/tiny-tp-link.mk2
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ar71xx/image/tiny-tp-link.mk b/target/linux/ar71xx/image/tiny-tp-link.mk
index e738393caf..5874808d21 100644
--- a/target/linux/ar71xx/image/tiny-tp-link.mk
+++ b/target/linux/ar71xx/image/tiny-tp-link.mk
@@ -248,7 +248,7 @@ define Device/tl-wa850re-v2
TPLINK_HWID := 0x08500002
TPLINK_HWREV := 0
IMAGE_SIZE := 3648k
- MTDPARTS := spi0.0:128k(u-boot)ro,1344k(kernel),2304k(rootfs),256k(config)ro,64k(art)ro,3648k@0x20000(firmware)
+ MTDPARTS := spi0.0:128k(u-boot)ro,3648k(firmware),256k(config)ro,64k(art)ro
endef
TARGET_DEVICES += tl-wa850re-v2
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index 8749597617..43c4bafe00 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -1240,8 +1240,7 @@ static struct device_info boards[] = {
*/
.partitions = {
{"fs-uboot", 0x00000, 0x20000},
- {"os-image", 0x20000, 0x150000},
- {"file-system", 0x170000, 0x240000},
+ {"firmware", 0x20000, 0x390000},
{"partition-table", 0x3b0000, 0x02000},
{"default-mac", 0x3c0000, 0x00020},
{"pin", 0x3c0100, 0x00020},