-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please Add Latest MediaTek Firmware For Edge Kernel #69
Comments
Hi @thesunexpress, long time no see! Yes, you are right, the Alpine-based image is now based on different foundations. You can find the details of that in the definition of the As a consequence, no Alpine packages are used for installing the firmware files. They are instead directly added from the In theory, the MT7922 cards are handled by the # modinfo mt7921e
filename: /lib/modules/6.5.4-0-edge/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko.xz
author: Lorenzo Bianconi <[email protected]>
author: Sean Wang <[email protected]>
license: Dual BSD/GPL
parm: disable_aspm:disable PCI ASPM support
alias: pci:v000014C3d00000616sv*sd*bc*sc*i*
alias: pci:v000014C3d00000608sv*sd*bc*sc*i*
alias: pci:v000014C3d00007922sv*sd*bc*sc*i*
alias: pci:v000014C3d00007961sv*sd*bc*sc*i*
depends: mt76,mt7921-common,mt76-connac-lib
intree: Y
vermagic: 6.5.4-0-edge mod_unload
firmware: mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
firmware: mediatek/WIFI_RAM_CODE_MT7922_1.bin
firmware: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin But the port adds the MT76xx files only. I will create a version that changes this so you could test it. |
Hrmm, apparently I was wrong. On selecting the Could you please share output the following commands? They should issued on the guest, using the
|
Hi, sorry for the delay. I'm in/out of hospital a lot lately. Recent stay was certainly totally unplanned & didn't think of bringing my laptop or anything... which wouldn't have helped much since I had shutdown the system with the target hardware. I was totally useless for the first week+ after operation anyways. Getting old sucks. IIRC I noticed some error while building the firmware when I last compiled from weeks ago. |
Right, back to work!
Both For what it is worth, and probably not related, we are having some significant issues with running In any case, the binary pkg of |
I think "Abort trap" above signals a crash of the given program, which is the native Linux (ELF64) APK utility. This is run through the Linux compatibility layer of FreeBSD and the issue is probably associated it with servicing one of the (emulated) system calls. There shall either be a core dump somewhere around, which could give use some insights about the location of the crash, or a log message on the crash in the FreeBSD Could you please try to find those for me? The fact that other programs crash on this CPU also let me believe that it is either a hardware issue or something that the base OS does not (yet) handle well. In such cases the application itself cannot do too much, perhaps only hope for user-space workarounds. Running 64-bit Linux of recent versions over FreeBSD's emulation layer is a gamble anyway, I simply consider myself lucky that I have been able to get away with this trick :-P |
Good hints! The issue we had with |
Here we go...
and finally, screenie: |
Thanks for the feedback! A couple of comments:
linux: jid 0 pid 57037 (apk): unsupported umount2 flags 0xa Here is a log line on a crash, which happened for a FreeBSD-native binary: pid 12666 (pulseaudio), jid 0, uid 1001: exited on signal 6
# lspci -k
00:1f.0 Class 0601: 8086:7000
00:04.2 Class 0100: 1af4:1009 virtio-pci
00:04.0 Class 0100: 1af4:1001 virtio-pci
00:00.0 Class 0600: 1275:1275
00:04.3 Class 0100: 1af4:1009 virtio-pci
00:06.0 Class 0280: 8086:24f3 iwlwifi
00:04.1 Class 0100: 1af4:1009 virtio-pci
00:05.0 Class 0200: 8086:100f e1000
|
Description
Howdie, have a finicky new-ish WiFi module that's refusing to be detected correctly by the Alpine Image.
It revolves around a (new?) MediaTek MT7922 module, that should be detected as the port lists MT79** as supported. I suspect it requires newer firmware perhaps.
I built the wifibox-alpine image with both the vanilla 6.1.* & 'edge' 6.5.* kernels, neither of which contained latest-greatest firmware.
Old instruction broadly outlined by #6 (comment) no longer work in the latest iteration of
wifibox
using http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/linux-firmware-mediatek-20230919-r2.apkWhat's the correct way to inject newer firmware into the Alpine image?
Host operating system
Wireless NIC
Wifibox version
Disk image type and version
Latest
Changes to the default configuration files
No response
Logs
Additional context
No response
Have you tried to turn it on and off?
The text was updated successfully, but these errors were encountered: