ramips: fix flash layout for TP-Link TL-WR841N v14
authorAlexander Müller <donothingloop@gmail.com>
Fri, 17 Jul 2020 16:46:19 +0000 (18:46 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 19 Jul 2020 00:01:06 +0000 (02:01 +0200)
commit1623defbdbb852a4018329d07673b4b8f66225a8
tree178dd0788dbe442a0e39f1c5fc5eddffcb239a3a
parent2e4626ae77fe81c45fb708a37ac1709aefa033d3
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>
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
target/linux/ramips/image/mt76x8.mk