morrownr / USB-WiFi

USB WiFi Adapter Information for Linux
2.4k stars 161 forks source link

can't update firmware for 7921 #394

Open bjlockie opened 4 months ago

bjlockie commented 4 months ago

I'm trying to update the firmware of my PCI card but it is still using the old one. :-( I use lubuntu (Ubuntu variant).

/lib/firmware/mediatek$ ls -l *7961*
-rw-r--r-- 1 root root 532206 Mar  2 14:52 BT_RAM_CODE_MT7961_1_2_hdr.bin
-rw-r--r-- 1 root root 380339 Dec 15 07:49 BT_RAM_CODE_MT7961_1_2_hdr.bin.zst.old
-rw-r--r-- 1 root root  92192 Mar  2 14:52 WIFI_MT7961_patch_mcu_1_2_hdr.bin
-rw-r--r-- 1 root root  47846 Dec 15 07:49 WIFI_MT7961_patch_mcu_1_2_hdr.bin.zst.old
-rw-r--r-- 1 root root 797300 Mar  2 14:52 WIFI_RAM_CODE_MT7961_1.bin
-rw-r--r-- 1 root root 384849 Dec 15 07:49 WIFI_RAM_CODE_MT7961_1.bin.zst.old

$ ethtool -i wlp4s0
driver: mt7921e
version: 6.5.0-21-generic
firmware-version: ____010000-20231109190959
expansion-rom-version: 
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
morrownr commented 4 months ago

Where did you get the new files?

bjlockie commented 4 months ago
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_RAM_CODE_MT7961_1.bin

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin

Even if it got corrupted firmware, why is it reporting it is using the old ones?

morrownr commented 4 months ago

New files came through linux-wireless last week but have not been posted to the site yet. You updated with the same version.

bjlockie commented 4 months ago

Dec 2023 is the latest version at the kernel website? Are the new files available on another website?

morrownr commented 4 months ago

Dec 2023 is the latest version at the kernel website?

Yes

Are the new files available on another website?

May be but not one that I know of.

If you click on log , you can see when files are uploaded.

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/mediatek

morrownr commented 3 months ago

@bjlockie

The new firmware for mt7921 still has not shown up at the site. I am beginning to think maybe a problem showed up in testing and the new files were pulled. I guess we can wait and see.

morrownr commented 3 months ago

@bjlockie

The new firmware for mt7921 and mt7922 is now posted.