You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
apm821xx target: replace remaining occurrences of ifconfig with ip 4 years ago
ar71xx ar71xx: restore support for boot console with arbitrary baud rates 4 years ago
arc770 arc770: update kernel version to 5.4 4 years ago
archs38 archs38: use generic 02_sysinfo 4 years ago
armvirt armvirt,x86: fix build breakage of crypto ccp module 4 years ago
at91 treewide: use DEFAULT := n to disable non-broken devices 4 years ago
ath25 target: replace remaining occurrences of ifconfig with ip 4 years ago
ath79 ath79/mikrotik: create shared device definitions for nor and nand 4 years ago
bcm27xx kernel: bump 5.4 to 5.4.52 4 years ago
bcm47xx treewide: use DEFAULT := n to disable non-broken devices 4 years ago
bcm53xx treewide: mark devices as BROKEN instead of commenting out 4 years ago
bcm63xx bcm63xx: R5010UNv2: fix flash partitions for 16MB flash 4 years ago
cns3xxx kernel: Update kernel 4.19 to version 4.19.131 4 years ago
gemini gemini: Add swap partition to DNS-313 4 years ago
generic kernel: fix missing TRANSPARENT_HUGEPAGE symbols 4 years ago
imx6 imx6: use device-tree compatible for board name 4 years ago
ipq40xx ipq40xx: support reset button for WPJ419 4 years ago
ipq806x ipq806x: really fix aliases node for Qualcomm IPQ8064/DB149 4 years ago
ipq807x treewide: remove maintainer variable from targets 4 years ago
kirkwood kirkwood: get rid of BOARD_NAME and tidy up DEVICE_DTS 4 years ago
lantiq lantiq: disable default build for devices with 4M flash 4 years ago
layerscape layerscape: harmonize device strings 4 years ago
malta malta: add missing symbols for kernel 5.4 4 years ago
mediatek target: replace remaining occurrences of ifconfig with ip 4 years ago
mpc85xx treewide: rename POWER_ON_STRIP register 4 years ago
mvebu mvebu: fix alphabetic sorting in 02_network 4 years ago
mxs kernel: bump 5.4 to 5.4.28 4 years ago
octeon treewide: drop shebang from non-executable target files 4 years ago
octeontx treewide: kernel: drop redundant USB_EHCI_HCD=n config symbol 4 years ago
omap omap: derive DEVICE_DTS from device name 4 years ago
oxnas oxnas: use vendor_model scheme for ox810se 4 years ago
pistachio kernel: Update kernel 4.14 to version 4.14.187 4 years ago
ramips ramips: fix/tidy up 4M tplink-v2-image flash layouts 4 years ago
rb532 treewide: remove maintainer variable from targets 4 years ago
rockchip rockchip: enable rockchip-thermal 4 years ago
samsung kernel: Update kernel 4.14 to version 4.14.187 4 years ago
sunxi target: replace remaining occurrences of ifconfig with ip 4 years ago
tegra tegra: correct cpu subtype 4 years ago
uml treewide: Remove self from MAINTAINER entries 4 years ago
x86 kernel/pcengines-apu2: detect apuv4 board 4 years ago
zynq zynq: switch to kernel 5.4 4 years ago
Makefile build: add 'make kernel_xconfig' command 4 years ago