Bug #1137
Updated by Hammel 4 months ago
Pinet doesn't work because there is no wifi interface. Notes: * "PPP Schematic":https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf * According to the schematic, the chip is "AW-CM256SM":https://www.azurewave.com/img/wireless-modules/AW_CM256SM_DS_Rev15_CYW.pdf AW-CM256SM which is both BT and WiFi. * The DTS shows Bluetooth is brcm4345c5, but that appears to just be a BT driver, not WiFi. <pre> bluetooth { compatible = "brcm,bcm4345c5"; .... }; </pre> See this discussion on the "pine64.org forum":https://forum.pine64.org/showthread.php?tid=16635&pid=117061#pid117061. Apparently it uses similar firmware to the RPi, which is available from the "Debian firmware-brcm80211":https://packages.debian.org/bullseye/firmware-brcm80211 package. <pre> On a Debian (based) system, install firmware-brcm80211 package and then do this: Code: cd /lib/firmware/brcm/ ln -s brcmfmac43455-sdio.AW-CM256SM.txt brcmfmac43455-sdio.pine64,rockpro64-v2.0.txt ln -s brcmfmac43455-sdio.AW-CM256SM.txt brcmfmac43455-sdio.pine64,rockpro64-v2.1.txt That should be all you need. Ref: https://git.kernel.org/pub/scm/linux/ker...a92193f2c6 </pre> More specifically: <pre> Code: sudo ln -sf /lib/firmware/brcm/brcmfmac43455-sdio.AW-CM256SM.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt sudo ln -sf /lib/firmware/cypress/cyfmac43455-sdio.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin sudo ln -sf /lib/firmware/cypress/cyfmac43455-sdio.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob sudo rmmod brcmfmac sudo modprobe brcmfmac dmesg Code: [ 7896.303895] usbcore: registered new interface driver brcmfmac [ 7896.490453] brcmfmac_wcc: brcmf_wcc_attach: executing [ 7896.504985] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2 nmctl show dev Code: GENERAL.DEVICE: wlan0 GENERAL.TYPE: wifi GENERAL.HWADDR: E8:FB:1C:7F:48:A7 GENERAL.MTU: 1500 GENERAL.STATE: 30 (desconectado) GENERAL.CONNECTION: -- GENERAL.CON-PATH: -- IP4.GATEWAY: -- IP6.GATEWAY: -- GENERAL.DEVICE: p2p-dev-wlan0 GENERAL.TYPE: wifi-p2p GENERAL.HWADDR: (desconocido) GENERAL.MTU: 0 GENERAL.STATE: 30 (desconectado) GENERAL.CONNECTION: -- GENERAL.CON-PATH: -- </pre>