NixOS on ARM/NanoPC-T4: Difference between revisions

imported>Tmountain
No edit summary
imported>Tmountain
No edit summary
Line 100: Line 100:
Note: the NanoPC-T4 UART defaults to the Debug UART Pin Spec which is adjacent to the USB-C port and is not part of the 40 Pin GPIO Pin Spec (see the aforementioned wiki).
Note: the NanoPC-T4 UART defaults to the Debug UART Pin Spec which is adjacent to the USB-C port and is not part of the 40 Pin GPIO Pin Spec (see the aforementioned wiki).


=== TODO ===
=== Networking ===


Add info on making integrated wifi work after booting into Nix.
The NanoPC-T4 integrated wifi does not work out of the box. Getting it to work requires the following steps:
 
<syntaxHighlight lang=bash>
# mkdir -p /lib/firmware/brcm
# cp brcmfmac4356-sdio.txt /lib/firmware/brcm/
# rmmod brcmfmac
# modprobe brcmfmac
# wpa_supplicant -B -i wlan0 -c <(wpa_passphrase $YOUR_SSID $YOUR_PASSWORD)
</syntaxhighlight>
 
You can get a copy of brcmfmac4356-sdio.txt [https://gist.githubusercontent.com/tmountain/e6c9e5da504b46db029f5cc5ccf47492/raw/d5086b8028c5eb5c760137b12a84c517cccb9734/brcmfmac4356-sdio.txt here].