1*4882a593SmuzhiyunBanana Pro 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunIntro 4*4882a593Smuzhiyun===== 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunThis default configuration will allow you to start experimenting with the 7*4882a593SmuzhiyunBuildroot environment for the Banana Pro. With the current configuration 8*4882a593Smuzhiyunit will bring-up the board, and allow access through the serial console. 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunHow to build it 11*4882a593Smuzhiyun=============== 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunConfigure Buildroot: 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun $ make bananapro_defconfig 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunCompile everything and build the SD card image: 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun $ make 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunHow to write the SD card 22*4882a593Smuzhiyun======================== 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunOnce the build process is finished you will have an image called "sdcard.img" 25*4882a593Smuzhiyunin the output/images/ directory. 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunCopy the bootable "sdcard.img" onto an SD card with "dd": 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun $ dd if=output/images/sdcard.img of=/dev/sdX 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunNotes: 32*4882a593Smuzhiyun - replace 'sdX' with the actual device with your micro SD card 33*4882a593Smuzhiyun - you may need to be root to do that (use 'sudo') 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunInsert the micro SD card in your Banana Pro and power it up. The console 36*4882a593Smuzhiyunis on the debug TTL UART, 115200 8N1. 37*4882a593Smuzhiyun 38*4882a593SmuzhiyunEthernet 39*4882a593Smuzhiyun========== 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun # udhcpc -i eth0 42*4882a593Smuzhiyun 43*4882a593SmuzhiyunWifi 44*4882a593Smuzhiyun========== 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun # wpa_passphrase YOUR_SSID >> /etc/wpa_supplicant.conf 47*4882a593Smuzhiyun (enter the wifi password and press enter) 48*4882a593Smuzhiyun # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B 49*4882a593Smuzhiyun # udhcpc -i wlan0 50*4882a593Smuzhiyun 51*4882a593SmuzhiyunNote: 52*4882a593Smuzhiyun - replace 'YOUR_SSID' with the actual SSID from your access point 53*4882a593Smuzhiyun 54*4882a593SmuzhiyunAudio 55*4882a593Smuzhiyun========== 56*4882a593Smuzhiyun 57*4882a593SmuzhiyunConnect a headphone to the 3.5mm jack (TRRS). Note, that the Banana Pro 58*4882a593Smuzhiyunhas an on-board microphone, too. 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun # amixer cset name='Power Amplifier DAC Playback Switch' on 61*4882a593Smuzhiyun # amixer cset name='Power Amplifier Mute Switch' on 62*4882a593Smuzhiyun # amixer cset name='Power Amplifier Volume' 42 63