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/tools
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
..
autoconf treewide: clean up download hashes 8 years ago
autoconf-archive tools: add autoconf-archive 4 years ago
automake tools/automake: Revert "Do not use $(V) - force AM_V=1" 5 years ago
b43-tools tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3 5 years ago
bc Revert "bc: update to 1.07.1" 5 years ago
bison tools/bison: Update to 3.5.1 4 years ago
cbootimage tools: add cbootimage for tegra 5 years ago
cbootimage-configs tools: add cbootimage-configs for tegra 5 years ago
ccache ccache: update to 3.7.9 4 years ago
cmake tools/cmake: update to 3.17.0 4 years ago
coreutils tools/coreutils: install "touch" 5 years ago
dosfstools add PKG_CPE_ID ids to package and tools 7 years ago
e2fsprogs tools/e2fsprogs: fix build under macos 4 years ago
elftosb treewide: clean up download hashes 8 years ago
expat tools/expat: change package source to GitHub 5 years ago
findutils tools/findutils: Update to 4.7.0 4 years ago
firmware-utils ramips: fix/tidy up 4M tplink-v2-image flash layouts 4 years ago
flex flex: Add a lex symlink 6 years ago
flock tools/flock: add PKG_{VERSION,RELEASE} 4 years ago
genext2fs treewide: clean up download hashes 8 years ago
gengetopt tools/gengetopt: Update to 2.23 5 years ago
gmp tools/gmp: Remove obsolete options 4 years ago
include build: fix kernel 5.4 on macos 4 years ago
isl tools/isl: update to 0.20 5 years ago
kernel2minor tools: kernel2minor: update to latest version 6 years ago
libelf tools: libelf: fix headers to trigger -Wundef warnings 5 years ago
libressl tools/libressl: Update to 3.0.2 4 years ago
libtool add PKG_CPE_ID ids to package and tools 7 years ago
lzma treewide: clean up download hashes 8 years ago
lzma-old tools/zlib: move zlib build to tools 6 years ago
m4 tools: m4: fix compilation with glibc 2.28 6 years ago
make-ext4fs make_ext4fs: Update to version 2020-01-05 4 years ago
missing-macros tools: drop PKG_VERSION for purely local packages 4 years ago
mkimage tools/mkimage: create .itb file with read-access for group,other not just owner. 4 years ago
mklibs tools/mklibs: update to 0.1.44 and convert to Python 3 5 years ago
mm-macros tools/mm-macros: Update to 1.0.0 4 years ago
mpc tools/mpc: Update to 1.1.0 6 years ago
mpfr tools/mpfr: Update to 4.0.2 5 years ago
mtd-utils tools/mtd-utils: update to 2.1.1 5 years ago
mtools tools/mtools: Update to 4.0.24 4 years ago
padjffs2 tools: drop PKG_VERSION for purely local packages 4 years ago
patch tools/patch: apply upstream patch for cve-2019-13638 5 years ago
patch-image tools/patch-image: add PKG_RELEASE 4 years ago
patchelf tools/patchelf: Update to 0.10 4 years ago
pkgconf pkgconf: always retain -I and -L flags 4 years ago
qemu tools: qemu: Add patches to support adapter_type and monolithicFlat 5 years ago
quilt tools/quilt: update to 0.66 5 years ago
sdimage tools/sdimage: Fix build with host Linux headers < 3.18 6 years ago
sed tools/sed: Update to 4.8 4 years ago
sparse sparse: updated to version 0.5.2 6 years ago
squashfs squashfs: Fix compile with GCC 10 4 years ago
squashfskit4 tools: squashfskit4: fix build with GCC10 4 years ago
sstrip tools/sstrip: add PKG_{VERSION,RELEASE} 4 years ago
tar tools: tar: update to version 1.32 5 years ago
upslug2 upslug2: Update to git repository 5 years ago
wrt350nv2-builder wrt350nv2-builder: Fix memory leak 4 years ago
xz tools/xz: Update to 5.2.5 4 years ago
zip tools: zip: add option for reproducible archives 5 years ago
zlib tools: zlib: do not hardcode the install prefix in zlib.pc 6 years ago
zstd tools: add zstd 4 years ago
Makefile tools: add zstd 4 years ago