Update CE manually like for last 5+ years?
CoreELEC:~ # udevadm info /sys/bus/pci/devices/* | paste
https://paste.coreelec.org/EntirelySaying
CoreELEC:~ # lspci | paste
https://paste.coreelec.org/CrandallChipper
CoreELEC:~ # dmesg | paste
https://paste.coreelec.org/RestoredImmunity
Bluetooth is supported, but Wi-Fi is not working.
I just spent some time testing my s905x3 generic box with the NO nightly build (sm1_s905x3_4g_1gbit). Its a x96 max+.
Initially wifi wasnât working.
- udev sdio from working NG: pastebin.com/raw/apXke8up
- udev sdio from not working NO: pastebin.com/raw/sKK2VDFD
- dmesg from NG: pastebin.com/raw/Awh6qMWH
- dmesg from NO: pastebin.com/raw/QKCkixBX
The NG seems to use the ar6k_wlan driver for QCA6174.
The NO seems to use the ath10k_sdio driver for QCA6174.
So there needs to be proper implementation for QCA6174.
The ath10k_sdio driver is fully implemented in NO but just missing the correct firmware files, these firmware files can be found here: QCA6174 « ath10k - kernel/git/firmware/linux-firmware.git
I have no idea how the coreelec team wants to implement these firmware files to the correct place or how they want to go about it, but maybe @Portisch can be helpful here.
If you push the firmware files to /lib/firmware/ath10k/QCA6174/hw3.0/*
Then ârmmod ath10k_sdioâ & then âmodprobe ath10k_sdioâ (to reinitialize the driver)
You will have working Wifi!
To make this semi permanent for the time being (until it is properly implemented in the nightlies) you can do this:
- copy firmware files to /storage/.config/firmware/ath10k/QCA6174/hw3.0/
- create /storage/.config/autostart.sh and chmod +x that file.
- Put this in autostart.sh:
-
#!/bin/sh cp /storage/.config/firmware/ath10k/QCA6174/hw3.0/* /lib/firmware/ath10k/QCA6174/hw3.0/ rmmod ath10k_sdio modprobe ath10k_sdio - Save & reboot
Any ideas on this front? @vpeter
I ported the driver from the rockchip repo, didnât need much changing. It loads but doesnât do anything I only get:
[ 18.768735] [SKWSDIO INFO] skw_sdio_scan_card: sdio_scan_card
[ 18.768828] skw_sdio_probe: func->class=0, vendor=0x0000, device=0x0000, func_num=0x0001, clock=200000000 blksize=0x200 max_blkcnt 511
[ 18.768869] [SKWSDIO INFO] skw_sdio_probe: sdio_enable_func ret=0 type 0
[ 18.769008] [SKWSDIO INFO] skw_sdio_probe: enable func1 done
[ 18.769097] [SKWSDIO INFO] check_chipid: Chip id:SV6160 used SDIO10
[ 18.772478] [SKWSDIO INFO] skw_sdio_scan_card: scan end!
[ 18.772489] [SKWSDIO INFO] skw_sdio_io_init: OK
[ 18.809847] register char device:ATC 489:0
[ 18.810054] register char device:LOG 489:1
[ 18.810166] register char device:LOOPCHECK 489:7
[ 19.205161] [SKWIFI INFO] VERSION: 2.0.240304.e998adb (5.15.170)
And then nothing, nothing about firmware, no wlan0 etc.
@vpeter What source did you use for the driver?? I really want to try to get it to work.
My source is this https://test.coreelec.org/vpeter/ea6x21qx.tgz
Jean0987654321: only firmware files are missing? Whole ath10k/QCA6174/hw3.0 folder?
Yes the whole folder didnt exist I believe
Thanks I will take a look today!
Btw: this was my build function
make_target() {
kernel_make -C ${PKG_BUILD}/ea6x21qx
M=${PKG_BUILD}/ea6x21qx
KERNEL_SRC=$(kernel_path)
skw_bsp skw_wifi
}
Also had modules-load.d\ea6x21qx.conf with content skw.
My package: https://test.coreelec.org/vpeter/EA6X21QX.ZIP
Thanks! I have absolutely no experience with the CE build system.
I just cross compield outside of CE with CE LLVM against CE kernel, i made a repo here for the driver with my makefile: GitHub - daeiron/ea6x21qx_driver: SeekWave EA6x21qx wifi/bt driver
Your driver seems newer then the rockchip one.
Can you maybe tell me where I should put the package and which files I have to edit in CE source? Then I can share a complete package for people to test.
I am now testing with my modules and the firmware from android in a one hour iperf test. Bluetooth doesnât work unfortunately, but wifi seems good so far.
BTW: Where did you find this driver source? I canât seem to find anything online besised the rockchip driver.
Thanks!!
As @daeiron said, yep. The folder isnât there
So here is a test build for x88pro X5M with WiFi: Mega Download Might be buggy.
To install (must be on Coreelec-NO already)
Place Tar file in STORAGE/.update folder.
Place Modules and Firmware folders in STORAGE.
Palce autostart.sh in STORAGE/.config
If there is some interest I might develop the driver further (source: GitHub - daeiron/ea6x21qx_driver: SeekWave EA6x21qx wifi/bt driver). Testing would be appreciated.
I think bluetooth wil never work, initially it wouldnt even come on but I hardcoded a start of the bluetooth service in the driver and it shows up in /dev/BTCMD, /dev/BTBOOT etc just like in android. But I canât attach HCI too it. I think android uses a blob (libbt-vendor-seekwave.so) where the kernel/userspace interaction is handled and I have no access to its source.
It may be possible to overhaul the driver but thats not within my capabilities.
Its easier to just buy a 5$ dongle.
BTW: I saw the QCA6174 firmware is now incorperated into coreelec thanks to @vpeter. So CE-NO WiFi should now also work with x96 Max+ (from the next nightly on).
My AP6275PR3 network card: Bluetooth works, but Wi-Fi doesnât. Iâm using the latest nightly build. @vpeter
Same here with my Vontar when I updated to Piers Alpha.
I get the same output you provided originally when I run the commands.
Hoping for support in the future?
Iâd love to be of help getting bluetooth working on the Ugoos X5M Pro. I can provide logs, dumps, files, etc.
Vontar x2 4/32, wifi is not working anymore (was working on NE)
NO nightly 20251017
dmseg here https://paste.coreelec.org/LottaBartley
sdio device
P: /devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0001/mmc2:0001:1
M: mmc2:0001:1
R: 1
U: sdio
V: bcmsdh_sdmmc
E: DEVPATH=/devices/platform/soc/fe088000.sdio/mmc_host/mmc2/mmc2:0001/mmc2:0001:1
E: SUBSYSTEM=sdio
E: DRIVER=bcmsdh_sdmmc
E: OF_NAME=wifi
E: OF_FULLNAME=/soc/sdio@fe088000/wifi@1
E: OF_COMPATIBLE_0=brcm,bcm4329-fmac
E: OF_COMPATIBLE_N=1
E: SDIO_CLASS=00
E: SDIO_ID=02D0:4334
E: MODALIAS=sdio:c00v02D0d4334
E: USEC_INITIALIZED=9836139
E: ID_VENDOR_FROM_DATABASE=Broadcom Corp.
E: ID_MODEL_FROM_DATABASE=BCM4334 WLAN card
E: ID_SDIO_CLASS_FROM_DATABASE=Non-standard SDIO interface
E: TAGS=:systemd: