Is there now a build for the Pine64 with the “PINE A64 WIFI 802.11BGN/BLUETOOTH 4.0 MODULE” attached? I have seen that this discussion has been held before but without a result. The option is apparently not activated in the DeviceTree. Is it possible to build a suitable version yourself with reasonable effort?
Pine A64 WiFi/BT Module Support
-
mischa1967 -
April 8, 2025 at 10:18 AM -
Thread is Unresolved
-
-
If this is the correct device-tree?
linux/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts at master · torvalds/linuxLinux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.github.comI don't see anything about WiFi/BT inside the dts file and I don't see any patches in our buildsystem for support. If you know what content is required to enable the module and you have some basic technical skills it's not hard to self-build an image with an extra patch to add support.
-
-
WiFi: https://github.com/torvalds/linux…c.dts#L135-L140
BT: https://github.com/torvalds/linux…c.dts#L334-L345
Instructions on how to self-build an LE image are here: https://wiki.libreelec.tv/development/build-basics and more build commands are here: https://wiki.libreelec.tv/development/bu…mands-le-12.0.x
Once you have a stock image self-building, tell me and I'll share a .patch file and further instructions.
-
Hi, I just took out an old A64 rev B with the same extension and figured out the same thing.
My model is a "Pine64 PINE A64+"
What's cat /proc/device-tree/model telling you about your exact model?
I don't think youi'll have to compile your own kernel to fix this and that updating the devicetree should be sufficient. I have already patched my devicetree to enable uart 1 to 4.
That I did the hacky way, locating the sun50i-a64-pine64-plus.dtb, then decompiling it dtc -I dtb -O dts -i sun50i-a64-pine64-plus.dtb -o sun50i-a64-pine64-plus.dts, then replacing some status = "disabled"; lines with status = "okay"; and then compiling back to dtb: dtc -I dts -O dtb -i sun50i-a64-pine64-plus.dts -o sun50i-a64-pine64-plus.dtb.
It's sure nicer to directly compile your devicetree from the sources I just didn't have them handy at a time. I left the board at a friends but I'll let you know once I got the wifi working.