immortalwrt/tools
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
..
autoconf tools: fix permission 2019-09-07 15:36:23 +08:00
autoconf-archive tools: add autoconf-archive 2020-05-23 19:20:29 +08:00
automake Merge Lean's source 2019-12-14 12:18:29 +08:00
b43-tools tools: update 2019-10-26 10:01:37 +08:00
bc tools: fix permission 2019-09-07 15:36:23 +08:00
bison tools/bison: Update to 3.5.1 2020-02-23 15:28:43 +08:00
cbootimage squashfs-tools: fix build error (#2902) 2020-01-31 21:46:37 +08:00
cbootimage-configs squashfs-tools: fix build error (#2902) 2020-01-31 21:46:37 +08:00
ccache ccache: update to 3.7.9 2020-05-29 11:42:05 +08:00
cmake tools/cmake: update to 3.17.0 2020-04-07 23:15:03 +08:00
coreutils tools: update 2019-10-26 10:01:37 +08:00
dosfstools tools: fix permission 2019-09-07 15:36:23 +08:00
e2fsprogs tools/e2fsprogs: fix build under macos 2020-04-10 20:04:56 +08:00
elftosb tools: fix permission 2019-09-07 15:36:23 +08:00
expat tools/expat: change package source to GitHub 2019-11-30 19:24:19 +08:00
findutils tools/findutils: Update to 4.7.0 2020-04-10 09:17:04 +08:00
firmware-utils ramips: fix/tidy up 4M tplink-v2-image flash layouts 2020-08-03 21:00:46 +08:00
flex tools: fix permission 2019-09-07 15:36:23 +08:00
flock tools/flock: add PKG_{VERSION,RELEASE} 2020-07-23 22:45:21 +08:00
genext2fs tools: fix permission 2019-09-07 15:36:23 +08:00
gengetopt tools: update 2019-10-26 10:01:37 +08:00
gmp tools/gmp: Remove obsolete options 2020-02-20 03:02:36 +08:00
include tools: fix permission 2019-09-07 15:36:23 +08:00
isl tools: update 2019-10-26 10:01:37 +08:00
kernel2minor tools: fix permission 2019-09-07 15:36:23 +08:00
libelf tools: update 2019-10-26 10:01:37 +08:00
libressl tools/libressl: Update to 3.0.2 2020-02-20 03:04:00 +08:00
libtool tools: fix permission 2019-09-07 15:36:23 +08:00
lzma tools: fix permission 2019-09-07 15:36:23 +08:00
lzma-old tools: fix permission 2019-09-07 15:36:23 +08:00
m4 tools: fix permission 2019-09-07 15:36:23 +08:00
make-ext4fs make_ext4fs: Update to version 2020-01-05 2020-01-15 02:06:24 +08:00
missing-macros tools: drop PKG_VERSION for purely local packages 2020-07-23 22:44:05 +08:00
mkimage tools/mkimage: create .itb file with read-access for group,other not just owner. 2020-07-24 20:01:12 +08:00
mklibs tools: update 2019-10-26 10:01:37 +08:00
mm-macros tools/mm-macros: Update to 1.0.0 2020-04-10 09:18:12 +08:00
mpc tools: fix permission 2019-09-07 15:36:23 +08:00
mpfr tools: update 2019-10-26 10:01:37 +08:00
mtd-utils tools: update 2019-10-26 10:01:37 +08:00
mtools tools/mtools: Update to 4.0.24 2020-04-10 09:17:20 +08:00
padjffs2 tools: drop PKG_VERSION for purely local packages 2020-07-23 22:44:05 +08:00
patch tools/patch: apply upstream patch for cve-2019-13638 2019-08-16 13:59:06 +08:00
patch-image tools/patch-image: add PKG_RELEASE 2020-07-23 22:44:24 +08:00
patchelf tools/patchelf: Update to 0.10 2020-02-20 03:03:26 +08:00
pkg-config Revert "tools/pkg-config: Replace with pkgconf" 2020-03-12 03:40:27 +08:00
qemu luci-app-ssr-plus: fix v2ray Netflix unlock 2020-03-17 10:42:17 +08:00
quilt tools/quilt: update to 0.66 2019-11-30 19:24:57 +08:00
sdimage tools: fix permission 2019-09-07 15:36:23 +08:00
sed tools/sed: Update to 4.8 2020-02-20 03:02:22 +08:00
sparse tools: fix permission 2019-09-07 15:36:23 +08:00
squashfs squashfs: Fix compile with GCC 10 2020-06-19 17:09:24 +08:00
squashfskit4 squashfskit4: add PKG_RELEASE 2020-06-24 18:27:10 +08:00
sstrip tools/sstrip: add PKG_{VERSION,RELEASE} 2020-07-23 22:45:02 +08:00
tar tools: update 2019-10-26 10:01:37 +08:00
ucl ucl: fix CLEAN 2020-04-23 01:44:28 +08:00
upslug2 tools: update 2019-10-26 10:01:37 +08:00
upx upx: fix host build (#3339) 2020-03-01 14:05:09 +08:00
wrt350nv2-builder Merge Lean's source 2020-02-01 00:36:16 +08:00
xz tools/xz: Update to 5.2.5 2020-04-10 09:17:36 +08:00
zip ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
zlib tools: fix permission 2019-09-07 15:36:23 +08:00
zstd tools: add zstd 2020-05-31 19:37:02 +08:00
Makefile tools: add zstd 2020-05-31 19:37:02 +08:00