1
1
openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: remove address/size-cells for u-boot,env 2026-05-14 23:02:47 +02:00
files gpio-latch-mikrotik: fix logic error 2026-05-14 22:31:53 +02:00
generic ath79: tp-link: tl-wr902ac-v1: move to tiny 2026-05-11 14:46:17 +02:00
image ath79: tiny: set default BLOCKSIZE to 4 KB 2026-05-16 10:24:08 +02:00
mikrotik ath79: add support for MikroTik RouterBOARD 960PGS 2026-04-23 14:10:39 +01:00
nand ath79: refresh 6.18 kernel config files 2026-04-11 21:11:06 +02:00
patches-6.12 kernel: bump 6.12 to 6.12.86 2026-05-09 11:01:27 +02:00
patches-6.18 kernel: bump 6.18 to 6.18.27 2026-05-09 11:02:51 +02:00
tiny ath79: tp-link: tl-wr902ac-v1: move to tiny 2026-05-11 14:46:17 +02:00
config-6.12 ath79: restore kernel 6.12 config files and patches 2026-04-11 21:11:06 +02:00
config-6.18 ath79: refresh 6.18 kernel config files 2026-04-11 21:11:06 +02:00
Makefile ath79: enable 6.18 testing kernel 2026-04-11 21:11:07 +02:00
modules.mk