-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
OrangePi 5 Max Wifi is not working with DietPi 9.9 #7338
Comments
I found the hash files, and the values matched. |
Thanks for reporting. The adapter does not show up at all? ip l Which Armbian image in particular did you test? Because kernel and firmware should be the same than ours. |
Found it, we need an additional driver for this WiFi chip: https://github.com/armbian/bcmdhd-dkms To be sure, this driver is really not part of the kernel yet, right? modinfo bcmdhd |
Actually the driver is there already: https://github.com/armbian/linux-rockchip/tree/rk-6.1-rkr4.1/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd |
Build running: https://github.com/MichaIng/DietPi/actions/runs/12576751916 Packages with "vendor-rk35xx" can be found here, once done: https://dietpi.com/downloads/binaries/testing/ |
Please test this: cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-vendor-rk35xx.deb
dpkg -i linux-{dtb,image}-vendor-rk35xx.deb
reboot After reboot, if the WiFi adapter does still not show up, assure this kernel module is loaded: modprobe bcmdhd And in case check for kernel errors: dmesg -l 0,1,2,3
dmesg | grep bcmdhd |
Hi MichaIng! I use linux for some time, but I'm not really good with hardware, kernel, dkms... yet...
When I ran "ip l" I did not find the wifi, and this was the result:
I tested Armbian with the image "Armbian_community_25.2.0-trunk.195_Orangepi5-max_noble_vendor_6.1.84_gnome_desktop.img"
modinfo bcmdhd returned this (import_ns was repetteaded a LOT, I deleted the most...)
I tested downloading and installing https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-vendor-rk35xx.deb, and this was the result
After the reboot, the WiFi adapter did not show up, and modprobe bcmdhd returned nothing. 'dmesg -l 0,1,2,3' returned:
and 'dmesg | grep bcmdhd' returned:
After all this dietpi showed me there was a update in "armbian-firmware", that I installed, and the wifi still did not work (I don't know what I was expecting... ) |
Thanks for testing. So something is still missing. The firmware package upgrade was unrelated, just general maintenance. Can you check whether those exist: ls -l /lib/firmware/ap6275p/fw_bcmdhd.bin /lib/firmware/ap6275p/nvram.txt /lib/firmware/ap6275p However, I think the problem is that the driver cannot be compiled with both (or multiple of) USB, PCIe and SDIO bus support. amazingfate who implemented the DKMS extension, said "it is hard to both have sdio and pcie in vendor kernel". It is a choice menu, not multi-select, IIUC. ... and indeed, I checked the build logs, which say:
So I guess, the Another approach would be to test mainline kernel. I wanted to build it for all RK3588 boards anyway, so it can be tested easily then. EDIT: Ah, mainline Linux does not contain a device tree for this board yet, hence for now only vendor kernel can work. |
Using the command ls
returned this
In the orangepi 5 max page, there is information that the board have the ap6611s chip... |
The chip has a lot of aliases and rebrands and the ap6611s seems compatible, also based on the EDIT: Ah, the firmware file paths from the config are added fallbacks, while there is some other logic in the driver to find suitable ones. |
For reference, some user within forum having similar issues https://dietpi.com/forum/t/orange-pi-5-max-test-image-feedback/22083/3?u=joulinar |
I just pushed a new kernel to our APT server. Can you give this one a try? apt update
apt upgrade |
IT WORKED!!! One last question about the orange pi 5 max...
Do i have to worry about this? Again: Thank you! |
Great, I'll also generate new images with this new kernel, so WiFi works on first boot already, allowing to setup initial network via WiFi. The kernel errors are (sadly) normal for those vendor kernels. Mainline Linux usually does not show errors, but those based on Rockchip Linux sources throw a lot of errors, which can/must be ignored. Some of them is due to too high message severity, others due to loaded drivers without an actually available device. E.g. in your case, maybe there is no screen attached, leading to additional video related errors. |
Creating a bug report/issue
Required Information
Linux orangepi 6.1.75-vendor-rk35xx #1 SMP
Actual behaviour
I downloaded the dietpi image again and reflashed the SD card, but it didn't change anything. I didn't find if there is a HASH test for the dietpi image.
I did not tested the bluetooth.
The text was updated successfully, but these errors were encountered: