immortalwrt/target/linux
Adrian Schmutzler 8aff25ad16
ramips: fix/tidy up 4M tplink-v2-image flash layouts
For the TP-Link 4M devices with tplink-v2-image recipe
(mktplinkfw2.c), there are two different flash layouts based
on the size of the (u)boot partition:

device         uboot    OEM firmware  OpenWrt (incl. config)
tl-wr840n-v5   0x20000  0x3c0000      0x3d0000
tl-wr841n-v14  0x10000  0x3d0000      0x3e0000

In both cases, the 0x10000 config partition is used for the firmware
partition as well due to the limited space available and since it's
recreated by the OEM firmware anyway.

However, the TFTP flashing process will only copy data up to the
size of the initial (OEM) firmware size. Therefore, while we can
use the bigger partition to have additional erase blocks on the
device, we have to limit the image sizes to the TFTP limits.

So far, only one layout definition has been set up in mktplinkfw2.c
for 4M mediatek devices. This adds a second one and assigns them
to the devices so the image sizes are correctly restrained.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-03 21:00:46 +08:00
..
apm821xx target: replace remaining occurrences of ifconfig with ip 2020-08-03 20:58:21 +08:00
ar7
ar71xx ar71xx: restore support for boot console with arbitrary baud rates 2020-08-03 00:43:06 +08:00
arc770
archs38
armvirt
at91 at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
ath25 target: replace remaining occurrences of ifconfig with ip 2020-08-03 20:58:21 +08:00
ath79 ath79: restore support for boot console with arbitrary baud rates 2020-08-03 20:41:02 +08:00
bcm27xx kernel: bump 4.19 to 4.19.134 2020-07-22 17:41:51 +08:00
bcm53xx kernel: bump 4.19 to 4.19.132 2020-07-10 18:03:01 +08:00
brcm47xx kernel: bump to 4.9.223, 4.14.180, 4.19.122 (#4600) 2020-05-13 13:28:43 +08:00
brcm63xx kernel: bump 4.19 to 4.19.130 2020-06-26 09:03:47 +08:00
cns3xxx kernel: bump 4.19 to 4.19.130 2020-06-26 09:03:47 +08:00
gemini gemini: Add swap partition to DNS-313 2020-08-03 00:21:24 +08:00
generic target/generic: add missing symbol in kernel 4.9 2020-08-03 01:53:13 +08:00
imx6 kernel: bump 4.19 to 4.19.110 2020-03-19 17:50:48 +08:00
ipq40xx treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
ipq806x kernel: bump 4.19 to 4.19.134 2020-07-22 17:41:51 +08:00
ipq807x ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
ixp4xx kernel: bump 4.9 to 4.9.220 2020-04-25 08:06:59 +08:00
kirkwood treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
lantiq treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
layerscape kernel: bump 4.14 to 4.14.190 2020-07-29 16:38:17 +08:00
malta
mediatek target: replace remaining occurrences of ifconfig with ip 2020-08-03 20:58:21 +08:00
mpc85xx kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
mvebu kernel: bump 4.19 to 4.19.130 2020-06-26 09:03:47 +08:00
mxs kernel: bump 4.14 to 4.14.177 2020-05-03 19:32:54 +08:00
octeon
octeontx kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350) 2020-04-17 11:50:34 +08:00
omap
orion
oxnas kernel: bump 4.14 to 4.14.186 2020-06-25 23:30:20 +08:00
pistachio kernel: bump 4.14 to 4.14.186 2020-06-25 23:30:20 +08:00
ramips ramips: fix/tidy up 4M tplink-v2-image flash layouts 2020-08-03 21:00:46 +08:00
rb532
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-05 11:53:32 +08:00
sunxi target: replace remaining occurrences of ifconfig with ip 2020-08-03 20:58:21 +08:00
tegra
uml
x86 Merge Lean's source 2020-07-02 18:29:29 +08:00
zynq
Makefile build: add 'make kernel_xconfig' command 2020-07-09 12:03:26 +08:00