xref: /OK3568_Linux_fs/buildroot/board/orangepi/orangepi-zero/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunOrangePi Zero
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 OrangePi Zero. 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 orangepi_zero_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  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
30