1Banana Pi M1+ 2 3Intro 4===== 5 6This default configuration will allow you to start experimenting with the 7Buildroot environment for the Banana Pi M1+. With the current configuration 8it will bring-up the board, and allow access through the serial console. 9 10How to build it 11=============== 12 13Configure Buildroot: 14 15 $ make bananapi_m1_plus_defconfig 16 17Compile everything and build the SD card image: 18 19 $ make 20 21How to write the SD card 22======================== 23 24Once the build process is finished you will have an image called "sdcard.img" 25in the output/images/ directory. 26 27Copy the bootable "sdcard.img" onto an SD card with "dd": 28 29 $ dd if=output/images/sdcard.img of=/dev/sdX 30 31Notes: 32 - replace 'sdX' with the actual device with your micro SD card 33 - you may need to be root to do that (use 'sudo') 34 35Insert the micro SD card in your Banana Pi M1+ and power it up. The console 36is on the debug TTL UART, 115200 8N1. 37 38Ethernet 39========== 40 41 # udhcpc -i eth0 42 43Wifi 44========== 45 46 # wpa_passphrase YOUR_SSID >> /etc/wpa_supplicant.conf 47 (enter the wifi password and press enter) 48 # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B 49 # udhcpc -i wlan0 50 51Note: 52 - replace 'YOUR_SSID' with the actual SSID from your access point 53 54Audio 55========== 56 57For this example you need package alsa-utils. 58 59Connect a headphone to the 3.5mm jack (TRRS). Note, that the Banana Pi M1+ 60has an on-board microphone, too. 61 62 # amixer cset name='Power Amplifier DAC Playback Switch' on 63 # amixer cset name='Power Amplifier Mute Switch' on 64 # amixer cset name='Power Amplifier Volume' 42 65