prplos/target/linux/mediatek
Tianling Shen ba670dba7d mediatek: fix ubi size for zbtlink zbt z8102ax v2
According to the factory uboot and firmware[1], the ubi size is set
to 512 MiB (0x20000000) and it exceeds the size of the flash, after
that the uboot and kernel resizes it to 114.5 MiB (0x7280000) instead
of 114.125 MiB (0x7220000). The mismatch of the ubi size causes
kernel fails to read ubi volumes and throws panic.

Trim whitespaces while at it.

1. https://github.com/immortalwrt/immortalwrt/issues/2123#issuecomment-3523744128

Fixes: c908fc7d9591 ("mediatek: add support for Zbtlink ZBT-Z8102AX v2")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20769
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit d2fa070f7014e8b1144a23e343b31390e7f565ff)
[rebased upon 24.10 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/21085
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 9fa8e7e9a3a98282fac09880b014e980e476796d)
2026-07-09 10:57:34 +01:00
..
base-files mediatek: add support for Cudy TR3000 256MB v1 flash version 2025-07-10 20:45:19 +02:00
dts mediatek: fix ubi size for zbtlink zbt z8102ax v2 2026-07-09 10:57:34 +01:00
files/drivers mediatek: Remove modules.builtin file 2026-07-09 10:57:24 +01:00
files-6.6 mediatek: add Airoha AN8855 gigabit switch driver 2025-01-23 15:28:08 +01:00
filogic mediatek: fix ubi size for zbtlink zbt z8102ax v2 2026-07-09 10:57:34 +01:00
image mediatek: fix ubi size for zbtlink zbt z8102ax v2 2026-07-09 10:57:34 +01:00
mt7622 mediatek: Refresh kernel configuration 2025-03-08 17:04:20 +01:00
mt7623 mediatek: Refresh kernel configuration 2025-03-08 17:04:20 +01:00
mt7629 mediatek: Refresh kernel configuration 2025-03-08 17:04:20 +01:00
patches-6.6 kernel: mtd: spinand: esmt: add support for F50L1G41LC 2026-07-09 10:57:33 +01:00
Makefile mediatek: change the the default SUBTARGET to filogic 2024-10-02 15:12:18 +02:00
modules.mk