openwrt/target/linux/mediatek
Tianling Shen 9fa8e7e9a3
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
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: c908fc7d95 ("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 d2fa070f70)
[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>
2025-12-08 17:27:20 +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 2025-12-08 17:27:20 +01:00
files/drivers mediatek: Remove modules.builtin file 2025-08-24 15:30:57 +02: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 2025-12-08 17:27:20 +01:00
image mediatek: fix ubi size for zbtlink zbt z8102ax v2 2025-12-08 17:27:20 +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 2025-11-28 23:59:45 +01:00
Makefile mediatek: change the the default SUBTARGET to filogic 2024-10-02 15:12:18 +02:00
modules.mk mediatek: mt7623: build mt6577_auxadc driver into kernel 2022-12-05 23:14:36 +00:00