1*4882a593SmuzhiyunIntro 2*4882a593Smuzhiyun===== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThis default configuration will allow you to start experimenting with the 5*4882a593SmuzhiyunBuildroot environment for the Bananapi M2 Zero. With the current configuration 6*4882a593Smuzhiyunit will bring-up the board, and allow access through the serial console. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunBananapi M2 Zero link: 9*4882a593Smuzhiyunhttp://www.banana-pi.org/m2z.html 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunThis configuration uses U-Boot mainline and kernel mainline. 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunHow to build 14*4882a593Smuzhiyun============ 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun $ make bananapi_m2_zero_defconfig 17*4882a593Smuzhiyun $ make 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunNote: you will need access to the internet to download the required 20*4882a593Smuzhiyunsources. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunHow to write the SD card 23*4882a593Smuzhiyun======================== 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunOnce the build process is finished you will have an image called "sdcard.img" 26*4882a593Smuzhiyunin the output/images/ directory. 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunCopy the bootable "sdcard.img" onto an SD card with "dd": 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun $ sudo dd if=output/images/sdcard.img of=/dev/sdX 31*4882a593Smuzhiyun $ sync 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunInsert the micro SDcard in your Bananapi M2 Zero and power it up. The console 34*4882a593Smuzhiyunis on the Debug UART on the CON3 header, with serial settings 115200 8N1. 35