1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 18:53:52 +02:00
openwrt/target/linux
Adrian Schmutzler 1deaf695ec 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 12:17:08 +02:00
..
apm821xx target: replace remaining occurrences of ifconfig with ip 2020-08-03 10:42:04 +02:00
ar71xx ar71xx: restore support for boot console with arbitrary baud rates 2020-08-02 18:10:06 +02:00
arc770 arc770: update kernel version to 5.4 2020-07-27 20:15:10 +02:00
archs38 archs38: use generic 02_sysinfo 2020-07-22 18:28:09 +02:00
armvirt armvirt,x86: fix build breakage of crypto ccp module 2020-06-23 09:29:00 +02:00
at91 treewide: use DEFAULT := n to disable non-broken devices 2020-07-30 21:48:38 +02:00
ath25 target: replace remaining occurrences of ifconfig with ip 2020-08-03 10:42:04 +02:00
ath79 ath79/mikrotik: create shared device definitions for nor and nand 2020-08-01 18:31:24 +02:00
bcm27xx kernel: bump 5.4 to 5.4.52 2020-07-17 11:00:33 +02:00
bcm47xx treewide: use DEFAULT := n to disable non-broken devices 2020-07-30 21:48:38 +02:00
bcm53xx treewide: mark devices as BROKEN instead of commenting out 2020-07-30 21:49:22 +02:00
bcm63xx bcm63xx: R5010UNv2: fix flash partitions for 16MB flash 2020-07-11 15:47:46 +02:00
cns3xxx kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
gemini gemini: Add swap partition to DNS-313 2020-07-31 18:34:40 +02:00
generic kernel: fix missing TRANSPARENT_HUGEPAGE symbols 2020-08-01 14:33:46 +01:00
imx6 imx6: use device-tree compatible for board name 2020-07-27 12:10:45 +02:00
ipq40xx ipq40xx: support reset button for WPJ419 2020-07-23 12:56:58 +02:00
ipq806x ipq806x: really fix aliases node for Qualcomm IPQ8064/DB149 2020-07-14 17:02:40 +02:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: get rid of BOARD_NAME and tidy up DEVICE_DTS 2020-08-03 10:47:22 +02:00
lantiq lantiq: disable default build for devices with 4M flash 2020-07-29 12:08:16 +02:00
layerscape layerscape: harmonize device strings 2020-07-27 12:06:52 +02:00
malta malta: add missing symbols for kernel 5.4 2020-06-03 10:50:01 +01:00
mediatek target: replace remaining occurrences of ifconfig with ip 2020-08-03 10:42:04 +02:00
mpc85xx treewide: rename POWER_ON_STRIP register 2020-07-25 21:50:50 +02:00
mvebu mvebu: fix alphabetic sorting in 02_network 2020-07-31 11:40:15 +02:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
octeontx treewide: kernel: drop redundant USB_EHCI_HCD=n config symbol 2020-07-09 10:28:40 +02:00
omap omap: derive DEVICE_DTS from device name 2020-07-21 11:57:22 +02:00
oxnas oxnas: use vendor_model scheme for ox810se 2020-07-25 21:04:11 +02:00
pistachio kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
ramips ramips: fix/tidy up 4M tplink-v2-image flash layouts 2020-08-03 12:17:08 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
rockchip rockchip: enable rockchip-thermal 2020-07-29 01:40:20 +02:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
sunxi target: replace remaining occurrences of ifconfig with ip 2020-08-03 10:42:04 +02:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 kernel/pcengines-apu2: detect apuv4 board 2020-07-06 17:57:33 +02:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00