openwrt-6.x/target/linux/mediatek
Mikhail Zhilkin 42a253c7e8 mediatek: Xiaomi AX3000t: fix soft brick for the rd23 model
This commit fixes Xiaomi AX3000t soft bricks. Issue affects at least rd23
model (Global version) users:
Link: https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/452

I also found that these nvram settings are wrong for the rd23 model and
U-Boot erase them:
'''
flag_try_sys1_failed 8
flag_try_sys2_failed 8
'''
As a result, platform.sh -> xiaomi_initial_setup() function sometimes ends
early without applying settings for the rd23 model.

RD03 model strategy:
1. Don't touch values those were set up by platform.sh ->
xiaomi_initial_setup() function

RD23 model strategy:
1. Apply correct nvram settings at every boot
2. Use bulk fw_setenv call

I didn't find opened issue for AX3000t. Similar AX3200 issue:
Link: https://github.com/openwrt/openwrt/issues/16347
So, other Xiaomi devices (e.g. Xiaomi WR30U) may also require fix.

Fixes: 7dbcc1215a ("mediatek: filogic: add support for Xiaomi AX3000T")
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17580
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-01-21 00:37:48 +01:00
..
base-files mediatek: remove obsolete base-files scripts 2025-01-17 09:48:27 +01:00
dts mediatek-filogic: fix wax220 wifi leds 2025-01-18 21:39:13 +01:00
files/drivers treewide: remove THIS_MODULE assignment 2024-11-10 02:16:31 +01:00
files-6.6 linux: replace u-boot,env with nvmem,layout 2024-12-27 13:34:58 +01:00
filogic mediatek: Xiaomi AX3000t: fix soft brick for the rd23 model 2025-01-21 00:37:48 +01:00
image mediatek: EX5601-T0 add Zyxel EX5601-T1 and T-56 alias 2025-01-19 17:51:06 +01:00
mt7622 mediatek: mt7622: sync buffalo.sh with ramips/mt7621 2025-01-04 18:55:31 +01:00
mt7623 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mt7629 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
patches-6.6 kernel: bump 6.6 to 6.6.72 2025-01-21 00:18:28 +01:00
Makefile mediatek: change the the default SUBTARGET to filogic 2024-10-02 15:12:18 +02:00
modules.mk