openwrt/target/linux
Shiji Yang 625abd8126 ath79: tiny: set default BLOCKSIZE to 4 KB
The NOR Flash mtd erase block size is 4 KB on ath79 tiny sub-target.
Squashfs-split driver always check and create the jffs2 rootfs_data
partition on the first free block. However, sysupgrade script append
the config backup to the end of the sysupgrade image. If we pad the
image to the 64 KB boundary, the kernel will be unable to find a
valid jffs2 partition and then recreate the rootfs_data partition.
Users may lose their config during upgrades. Fix this issue by setting
BLOCKSIZE to 4 KB so that the sysupgrade image can be aligned to the
4 KB boundary.

Fixes: https://github.com/openwrt/openwrt/issues/20495
Fixes: 05d35403b2 ("ath79-tiny: enable 4k sectors")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22497
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-16 10:24:08 +02:00
..
airoha airoha: use in-band phylink for RTL8261N USXGMII ports in W1700k 2026-05-15 19:32:47 +02:00
apm821xx apm821xx: remove fixed-partitions nvmem hack 2026-05-14 23:02:47 +02:00
armsr
at91
ath79 ath79: tiny: set default BLOCKSIZE to 4 KB 2026-05-16 10:24:08 +02:00
bcm27xx kernel: bump 6.12 to 6.12.86 2026-05-09 11:01:27 +02:00
bcm47xx
bcm53xx bcm53xx: add ramdisk to FEATURES 2026-04-29 09:56:37 +02:00
bcm4908
bmips
d1 d1: drop support for 6.12 2026-04-21 16:13:37 +02:00
econet econet: add EN751627 subtarget and Zyxel EX3301-T0 board 2026-05-14 21:12:46 +02:00
gemini
generic generic: permit support of standalone PCS for external kernel module 2026-05-15 19:42:16 +02:00
imx imx: cortexa9: ventana, fix profiles names in profiles.json 2026-04-23 01:13:36 +02:00
ipq40xx ipq40xx: add support for Cisco Meraki Z3C 2026-05-13 11:33:17 +02:00
ipq806x kernel: bump 6.12 to 6.12.86 2026-05-09 11:01:27 +02:00
ixp4xx
kirkwood kirkwood: switch to 6.18 kernel 2026-04-27 09:39:21 +02:00
lantiq lantiq: vr200: switch to nvmem eeprom 2026-05-09 14:08:12 +02:00
layerscape generic: 6.12: backport PCS standalone feature 2026-05-13 00:19:29 +02:00
loongarch64 kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
malta malta: drop 6.12 support 2026-05-07 18:15:54 +02:00
mediatek mediatek: filogic: add support for netis MEX605 2026-05-14 23:07:00 +02:00
microchipsw kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
mpc85xx mpc85xx: unify wrapper address of simple image devices 2026-05-05 14:09:38 +02:00
mvebu mvebu: disable WRT1900AC v1 builds by default 2026-05-12 21:01:06 +02:00
mxs
octeon octeon: enable 6.18 testing kernel 2026-04-26 10:03:37 +02:00
omap
pistachio
qoriq kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
qualcommax qualcommax: remove partition nvmem hack 2026-05-14 23:02:47 +02:00
qualcommbe
ramips ramips: mt76x8: add support for MovingComm C120EV 2026-05-14 16:39:35 +02:00
realtek treewide: remove unused u-boot,env compatible 2026-05-14 23:02:47 +02:00
rockchip rockchip: add support for FriendlyELEC NanoPi M5 2026-05-14 17:52:56 +02:00
sifiveu sifiveu: drop support for 6.12 2026-04-19 13:21:21 +02:00
siflower kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
starfive kernel: sync target configs after JUMP_LABEL changes 2026-05-11 10:33:46 +02:00
stm32
sunxi sunxi: add T113-S3 support 2026-05-09 11:19:22 +02:00
tegra
uml
x86 x86/base-files + kernel/modules: improve Dell Edge620/640/680 support 2026-05-14 20:59:20 +02:00
zynq
Makefile