README.md 2.33 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 

hehopmajieh's avatar
hehopmajieh committed
11
12
13
14

##A20-OLinuXino-MICRO & A20-OLinuXIno-LIME2 & A20-OLinuXIno-LIME
--------------------------------------------------  

Dimitar Gamishev's avatar
Dimitar Gamishev committed
15
### Android:  
hehopmajieh's avatar
hehopmajieh committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
+ 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>
Dimitar Gamishev's avatar
Dimitar Gamishev committed
30
  [BSP Link]: <https://github.com/hehopmajieh/olinuxino_configs/raw/master/A20-OLinuXino-MICRO/Android/olinuxino-a20.tgz>
hehopmajieh's avatar
hehopmajieh committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

+ 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/
    ```
hehopmajieh's avatar
hehopmajieh committed
58
59
60
61
62
63
64
  You can use files provided by pack.tgz in Android Directory, or manualy to change fex file "storage_type" parameter
to 1 ex. 

```sh
storage_type = 1
```
 storage_type: 0 = nand, 1 = SDCard, 2 = SPI-nor
hehopmajieh's avatar
hehopmajieh committed
65
66
67
68
69
70

### Linux:

+ Linux Configurations
	Linux Configurations can be found in Linux directory

hehopmajieh's avatar
typo    
hehopmajieh committed
71
Build Linux Kernel and Bootloader [linux-how-to]
hehopmajieh's avatar
hehopmajieh committed
72
73
74

[linux-how-to]: <https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build>