I tried latest OpenWRT Snapshot … still is not working
Daniel said something about state of development:
Feedback is needed:
Did anyone manage to get wed working? I added the firmware and dts but I think mt76 needs some changes too.
Edit: I got it to load the firmware eventually with some dts changes but still getting some errors during test.
[ 12.869548] mt7996e 0000:01:00.0: assign IRQ: got 118
[ 12.874689] mt7996e 0000:01:00.0: enabling device (0000 -> 0002)
[ 12.880758] mt7996e 0000:01:00.0: enabling bus mastering
[ 12.960499] mt7996e 0000:01:00.0: attaching wed device 0 version 3
[ 13.016342] platform 15010000.wed: MTK WED WO Firmware Version: ____000000, Build Time: 20230218204509
[ 13.025669] platform 15010000.wed: MTK WED WO Chip ID 00 Region 2
[ 13.085715] mt7996e_hif 0001:01:00.0: attaching wed device 1 version 3
[ 13.490991] mt7996e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240809122254a
[ 13.490991]
[ 13.600378] mt7996e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20240809122249
[ 13.645007] mt7996e 0000:01:00.0: DSP Firmware Version: ____000000, Build Time: 20240809121650
[ 13.666810] mt7996e 0000:01:00.0: WA Firmware Version: ____000000, Build Time: 20240809122214
Errors:
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.485153] platform 15012000.wed: swiotlb buffer is full (sz: 66 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.487429] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.495451] platform 15012000.wed: swiotlb buffer is full (sz: 66 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.505848] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.505855] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32768 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.537549] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.548074] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.558589] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.569100] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct 5 23:11:35 2024 kern.warn kernel: [ 907.579611] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32628 (slots)
Sat Oct 5 23:11:40 2024 kern.warn kernel: [ 912.490510] swiotlb_tbl_map_single: 21553 callbacks suppressed
try Releases · danpawlik/openwrt-builder · GitHub - it’s openwrt snapshot with mediatek BE14 firmware/drivers
From what I quickly check it only includes the basic stuff, not WED. I tried to add WED support in this commit but there are some warnings/errors when running some speed tests.
Are you sure you have the right firmware for be14 (from sdk)? Can you make an extra topic for wed support for easier tracking with the errors/warnings you see?
you can refer to below patch to enable WED support.
Can MediaTek release those firmware files under the usual redistributable license and push them to linux-firmware repo?
Ok, we’ll send fw files to linux-firmware repo. After upstreaming is complete, Could you help add it as formal package in Openwrt trunk?
Sure, I’ll do that as soon as the files have arrived in linux-firmware.
I am trying to include these patches until the mainline catches up but saying see that @graphine already tried
Hi @moore your patches for 6.6 are missing necessary changes on mtk_wed_mcu & others if I look at the 5.4 patches
not really, Daniel explains difference between WED and WO. That firmware is required to enable WED.
Yeah I know that, was just saying that rmandrad was already working on it getting it to run, so Dangowrt could probably work on something else instead
thx @SpectreDev I very much doubt I have the knowledge & experience of @dangowrt … i am just an hobbyist / partimer
Ah ok, fair enough then
Tried using this image. I must be doing something wrong. It does recognize all wifi interfaces.
But when i make any changes, only after a reboot its all lost and reverts back to the default image config. And this is the only image that actually has the radio working for wifi6.