Pine A64 WiFi/BT Module Support

  • 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?

  • If this is the correct device-tree?

    linux/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts at master · torvalds/linux
    Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.
    github.com

    I 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.

  • Thank you for your answer. Unfortunately, I have too little experience to make a change myself and recompile the system. It is the module in the attached photo.
    Then I will probably buy a USB Bluetooth adapter. Thanks again for your help.

  • 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.