README.md 1.83 KB
Newer Older
Dimitar Gamishev's avatar
Dimitar Gamishev committed
1
#OLinuXino Configs  
Dimitar Gamishev's avatar
Dimitar Gamishev committed
2
=======================
hehopmajieh's avatar
hehopmajieh committed
3
4
5
6
7
8
9
10

 Configurations are ordered by Board name :
 > For. ex :   
 > * A20-OLinuXino-MICRO
 >  + Android - Android Configs/Tutorials
 >  + Linux   - Linux Configs/Tutorials 
 >  + Tools   - Additional tools 

Dimitar Gamishev's avatar
Dimitar Gamishev committed
11
12
## Requirements :
### Android:  
hehopmajieh's avatar
hehopmajieh committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
+ Installing required packages /Ubuntu or Debian, tested on ubuntu 12.04/ :
  You can follow official google documentation : [Google Link]
  [Google Link]: <http://source.android.com/source/initializing.html> 
			  

+  Getting Sources
      Sources are available by BitTorrent. Links to Source Archives :  
      + Android Source by Allwinner: [Android Link]
      + Lichee Sources             : [Lichee Link]  
      + BSP for A20 Board          : [BSP Link]         


  [Android Link]: <https://www.olimex.com/wiki/images/f/fd/Android4.2-v3.0.torrent>    
  [Lichee Link]: <https://www.olimex.com/wiki/images/0/0c/Lichee-v3.0.torrent>
  [BSP Link]: <https://www.olimex.com/wiki/images/0/0c/Lichee-v3.0.torrent>

+ Extracting & Building
 ```bash
  $ mkdir ~/allwinner
  $ cd ~/allwiiner
  $ tar zxfv Android*.tar.gz
  $ tar zxfv Lichee*.tar.gz
  $ cd lichee
  $ ./build.sh -psun7i_android #If you want to change some kernel config options 
                               #before running build.shcd linux-3.4 
                               # and run kernel menuconfig ex. <make menuconfig>
  $ cd ../android4.2
  $ cd device/softwinner/ 
  $ tar zxfv olinuxino-a20.tgz # Refer to Download location
  $ cd ../../
  $ source build/envsetup.sh
$ lunch #select olinuxino-a20_eng
$ extract-bsp
$ make -j4                              
    ```

+ Notes
  According to you board version /with or w/o NAND/, you must schange default 
  fex file, located at :
    ```sh
    lichee/tools/pack/chips/sun7i/configs/android/
    ```
55
  You can use files provided by pack.tgz in Android Directory
hehopmajieh's avatar
hehopmajieh committed
56