Openwrt/tools
Sergey Ryazanov 1a51241cb1 firmware-utils: mktplinkfw: fix JFFS2 EOF markers
mktplinkfw/mktplinkfw2 utilities put JFFS2 EOF market only at 64KB
boundary, this could lead to current device configuration lost during
the sysupgrade on a device, which is equpped with flash with the 4KB
erase block size (e.g. TP-Link Archer C20).

This happens when 64KB and 4KB alignments do not match, so the JFFS2
data is written not exactly at the partition beginnig and startup
scripts can not find the JFFS2 during the first boot just after the
sysupgrade.

Fix this by placing additional JFFS2 EOF marker at a 4KB boundary. Also
keep the marker at 64KB intact, so the utilities will produce images
suitable for devices with both 4KB and 64KB erase blocks.

Fixes: 29a2c2ea80 (add ability to put
jffs2 eof marker into the image)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
2017-12-14 09:29:30 +01:00
..
autoconf
automake add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
b43-tools
bc
bison tools: patch various gnu tools for macOS 10.13 2017-08-23 18:56:33 +02:00
ccache
cmake add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
coreutils add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
dosfstools add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
e2fsprogs tools/e2fsprogs: Update to 1.43.7 2017-11-22 20:45:18 +01:00
elftosb
expat add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
findutils add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
firmware-utils firmware-utils: mktplinkfw: fix JFFS2 EOF markers 2017-12-14 09:29:30 +01:00
flex add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
flock
genext2fs
gengetopt
gmp
include
isl
kernel2minor
libelf
libressl
libtool add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
lzma
lzma-old
m4 add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
make-ext4fs
missing-macros
mkimage tools/mkimage: fix musl build 2017-08-23 15:12:15 +02:00
mklibs
mm-macros tools/mm-macros: Update to 0.9.11 2017-09-30 22:43:59 +02:00
mpc
mpfr add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
mtd-utils tools/mtd-utils: include sysmacros.h explicitly 2017-10-27 11:19:38 +02:00
mtools
padjffs2
patch tools: patch various gnu tools for macOS 10.13 2017-08-23 18:56:33 +02:00
patch-image
patchelf
pkg-config tools/pkg-config: Update to 0.29.2 2017-08-09 23:20:56 +02:00
qemu add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
quilt
scons
sdimage
sed
sparse
squashfs add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
squashfs4 add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
sstrip tools/sstrip: Fix compile under standard linux. 2017-12-08 10:40:20 +01:00
tar add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
upslug2
wrt350nv2-builder
xz
Makefile