Skip to content

lmtan91/buildroot-nanopi-neoair

Repository files navigation

buildroot-nanopi-neoair

This supports PCM5102A codec, WiFi and Bluetooth.

  1. How to build
make nanopi_neo_air_defconfig  
  1. How to configure wifi
modprobe brcmfmac  
ifconfig wlan0 up  
wpa_passphrase NETGEAR44 jollysky340 > /etc/wpa_supplicant.conf  
wpa_supplicant -B -i wlan0 -D wext -c /etc/wpa_supplicant.conf  
  1. How to configure bluetooth
modprobe brcmfmac  
echo " " > /dev/ttyS3  
devmem2 0x1f00060 b 1  
echo 205 > /sys/class/gpio/export  
echo out > /sys/class/gpio/gpio205/direction  
echo 0 > /sys/class/gpio/gpio205/value  
echo 1 > /sys/class/gpio/gpio205/value  
hciattach /dev/ttyS3 bcm43xx 115200 flow bdaddr 43:29:B1:55:01:01  
#hciconfig hci0 up  
  1. How to play music
aplay c304-2.wav  

Use full infomation

https://linux-sunxi.org/Mainline_U-Boot
https://linux-sunxi.org/DRAM_Controller

  1. Linux patches:
https://github.com/lmtan91/buildroot-nanopi-neoair/tree/master/board/friendlyarm/nanopi-neo/linux-patches