xref: /OK3568_Linux_fs/buildroot/board/grinn/liteboard/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun*********
2*4882a593SmuzhiyunliteBoard
3*4882a593Smuzhiyun*********
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunBuild
6*4882a593Smuzhiyun=====
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunFirst, configure Buildroot for your liteBoard:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun  make grinn_liteboard_defconfig
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunBuild image:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun  make
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunAfter building you should get a tree like this:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  output/images/
19*4882a593Smuzhiyun  ├── boot.vfat
20*4882a593Smuzhiyun  ├── imx6ul-liteboard.dtb
21*4882a593Smuzhiyun  ├── rootfs.ext2
22*4882a593Smuzhiyun  ├── rootfs.ext4
23*4882a593Smuzhiyun  ├── rootfs.tar
24*4882a593Smuzhiyun  ├── sdcard.img
25*4882a593Smuzhiyun  ├── u-boot.imx
26*4882a593Smuzhiyun  └── zImage
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunCreate a bootable microSD card
29*4882a593Smuzhiyun==============================
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunBuildroot prepares a bootable microSD card image "sdcard.img" in output/images/
32*4882a593Smuzhiyundirectory, To flash SD card just run the following command:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun  sudo dd if=output/images/sdcard.img of=/dev/<sd_card> bs=1M
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunwhere <sd_card> can be sdX or mmcblkX
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun*** WARNING! This will destroy all contents of device you specify! ***
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunBoot liteBoard
41*4882a593Smuzhiyun==============
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun- insert the microSD card in the microSD slot of the board;
44*4882a593Smuzhiyun- plug micro USB cable to provide power and console interface
45*4882a593Smuzhiyun- use terminal emulator with 115200 bps, 8n1
46