xref: /OK3568_Linux_fs/buildroot/board/olimex/a10_olinuxino/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunA10-OLinuXino-LIME
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIntro
4*4882a593Smuzhiyun=====
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThese are open hardware boards, all based on the Allwinner A10 SoC.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunfor more details about the boards see the following pages:
9*4882a593Smuzhiyun - https://www.olimex.com/Products/OLinuXino/open-source-hardware
10*4882a593Smuzhiyun - https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME/
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunThe following defconfigs are available:
13*4882a593Smuzhiyun - olimex_a10_olinuxino_lime_defconfig
14*4882a593Smuzhiyun   for the A10-OLinuXino-LIME board using mainline kernel
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun(see http://linux-sunxi.org/Linux_Kernel for more details)
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunHow to build it
19*4882a593Smuzhiyun===============
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunConfigure Buildroot:
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun    $ make <board>_defconfig
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunCompile everything and build the rootfs image:
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun    $ make
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunResult of the build
30*4882a593Smuzhiyun-------------------
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunAfter building, you should get a tree like this:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun    output/images/
35*4882a593Smuzhiyun    +-- boot.scr
36*4882a593Smuzhiyun    +-- rootfs.ext2
37*4882a593Smuzhiyun    +-- rootfs.ext4 -> rootfs.ext2
38*4882a593Smuzhiyun    +-- sdcard.img
39*4882a593Smuzhiyun    +-- sun4i-a10-olinuxino-lime.dtb (lime, mainline)
40*4882a593Smuzhiyun    +-- u-boot.bin
41*4882a593Smuzhiyun    +-- u-boot-sunxi-with-spl.bin
42*4882a593Smuzhiyun    `-- zImage
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunHow to write the SD card
46*4882a593Smuzhiyun========================
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunThe sdcard.img file is a complete bootable image ready to be written
49*4882a593Smuzhiyunon the boot medium. To install it, simply copy the image to a uSD
50*4882a593Smuzhiyuncard:
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun    # dd if=output/images/sdcard.img of=/dev/sdX
53*4882a593Smuzhiyun
54*4882a593SmuzhiyunWhere 'sdX' is the device node of the uSD.
55*4882a593Smuzhiyun
56*4882a593SmuzhiyunEject the SD card, insert it in the A10-OLinuXino board, and power it up.
57*4882a593Smuzhiyun
58