From: Adrian Schmutzler Date: Thu, 16 Jan 2020 14:37:22 +0000 (+0100) Subject: ar71xx: use dynamic partitioning for TP-Link TL-WA850RE v2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b2102be8a54ad14043035527d8ed33f4611f1553;p=oweals%2Fopenwrt.git 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 --- 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},