aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt76x8.mk
diff options
context:
space:
mode:
authorAlexander Müller <donothingloop@gmail.com>2020-07-17 18:46:19 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-19 02:01:06 +0200
commit1623defbdbb852a4018329d07673b4b8f66225a8 (patch)
tree178dd0788dbe442a0e39f1c5fc5eddffcb239a3a /target/linux/ramips/image/mt76x8.mk
parent2e4626ae77fe81c45fb708a37ac1709aefa033d3 (diff)
downloadupstream-1623defbdbb852a4018329d07673b4b8f66225a8.tar.gz
upstream-1623defbdbb852a4018329d07673b4b8f66225a8.tar.bz2
upstream-1623defbdbb852a4018329d07673b4b8f66225a8.zip
ramips: fix flash layout for TP-Link TL-WR841N v14
The config partition was missing from the flash layout of the device. Although the stock firmware resets a corrupted config partition to the default values, the TFTP flash with an image bigger than 0x3d0000 will truncate the image as the bootloader only copies 0x3d0000 bytes to flash during TFTP flashing. Fixed by adding the config partition and shrinking the firmware partition. Fixes: 3fd97c522bb7 ("ramips: add support for TP-Link TL-WR841n v14") Signed-off-by: Alexander Müller <donothingloop@gmail.com>
Diffstat (limited to 'target/linux/ramips/image/mt76x8.mk')
-rw-r--r--target/linux/ramips/image/mt76x8.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index 4b2255bd6a..c9e70b7672 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -498,7 +498,7 @@ TARGET_DEVICES += tplink_tl-wr841n-v13
define Device/tplink_tl-wr841n-v14
$(Device/tplink-v2)
- IMAGE_SIZE := 3968k
+ IMAGE_SIZE := 3904k
DEVICE_MODEL := TL-WR841N
DEVICE_VARIANT := v14
TPLINK_FLASHLAYOUT := 4Mmtk