xref: /OK3568_Linux_fs/buildroot/board/orangepi/orangepi-lite2/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunIntro
2*4882a593Smuzhiyun=====
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis default configuration will allow you to start experimenting with the
5*4882a593Smuzhiyunbuildroot environment for the Orangepi Lite2. With the current configuration
6*4882a593Smuzhiyunit will bring-up the board, and allow access through the serial console.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOrangepi Lite2 link:
9*4882a593Smuzhiyunhttp://www.orangepi.org/Orange%20Pi%20Lite%202/
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunWiki link:
12*4882a593Smuzhiyunhttps://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Lite2
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunHow to build
15*4882a593Smuzhiyun============
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun    $ make orangepi_lite2_defconfig
18*4882a593Smuzhiyun    $ make
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunNote: you will need access to the internet to download the required
21*4882a593Smuzhiyunsources.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunHow to write the SD card
24*4882a593Smuzhiyun========================
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunOnce the build process is finished you will have an image called "sdcard.img"
27*4882a593Smuzhiyunin the output/images/ directory.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunCopy the bootable "sdcard.img" onto an SD card with "dd":
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
32*4882a593Smuzhiyun  $ sudo sync
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunInsert the micro SDcard in your Orangepi Lite2 and power it up. The console
35*4882a593Smuzhiyunis on the serial line, 115200 8N1.
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunWiFi
38*4882a593Smuzhiyun====
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun # wpa_passphrase ACCESSPOINTNAME >> /etc/wpa_supplicant.conf
41*4882a593Smuzhiyun   (type password and enter)
42*4882a593Smuzhiyun # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
43*4882a593Smuzhiyun # udhcpc -i wlan0
44*4882a593Smuzhiyun # ping google.com
45