[openwrt/openwrt] filogic: fix wifi eeprom filename for tuf-ax6000 The router use mt7986_eeprom_mt7976_dual.bin

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 15 15:29:40 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/b3ad42e1e359b54c2b5ea85906111f813b802e6a

commit b3ad42e1e359b54c2b5ea85906111f813b802e6a
Author: Patryk Kowalczyk <patryk at kowalczyk.ws>
AuthorDate: Thu Nov 2 09:46:36 2023 +0100

    filogic: fix wifi eeprom filename for tuf-ax6000 The router use mt7986_eeprom_mt7976_dual.bin
    
    Fixes: d522ccecb2 ("filogic: add support for ASUS TUF AX6000")
    
    Signed-off-by: Patryk Kowalczyk <patryk at kowalczyk.ws>
    (cherry picked from commit 0c3f4bd85ee6067588a81843a403850ab0082270)
    Signed-off-by: Tom Herbers <mail at tomherbers.de>
---
 .../filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata b/target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata
index 8eda14f82b..bff3be2a9b 100644
--- a/target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata
+++ b/target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata
@@ -46,8 +46,7 @@ case "$FIRMWARE" in
 "mediatek/mt7986_eeprom_mt7976_dbdc.bin")
 	case "$board" in
 	asus,rt-ax59u|\
-	asus,tuf-ax4200|\
-	asus,tuf-ax6000)
+	asus,tuf-ax4200)
 		CI_UBIPART="UBI_DEV"
 		caldata_extract_ubi "Factory" 0x0 0x1000
 		;;
@@ -55,6 +54,10 @@ case "$FIRMWARE" in
 	;;
 "mediatek/mt7986_eeprom_mt7976_dual.bin")
 	case "$board" in
+	asus,tuf-ax6000)
+		CI_UBIPART="UBI_DEV"
+		caldata_extract_ubi "Factory" 0x0 0x1000
+		;;
 	glinet,gl-mt6000)
 		caldata_extract_mmc "factory" 0x0 0x1000
 		;;




More information about the lede-commits mailing list