Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: chinmaynamjoshi on November 07, 2013, 03:50:55 PM

Title: A20 SDK on OLIMEX site not compiling
Post by: chinmaynamjoshi on November 07, 2013, 03:50:55 PM
I have downloaded aw.tar.bz2 from olimex website that is BSP for A20 but readme file in lichee is having ./build.sh -p sun4i_crane -k 3.0 to run but it is giving an error ERROR: invalid platform 'sun4i_crane'

I require solutions for the above problem & please provide a proper link for A20 BSP download & its compilation step(README.txt) from any other source.

Thanks in advance.

Best Regards
Chinmay Namjoshi
Title: Re: A20 SDK on OLIMEX site not compiling
Post by: HeHoPMaJIeH on November 07, 2013, 10:52:35 PM
Try this :
./build.sh -p sun7i_android -k3.4
~Best
Title: Re: A20 SDK on OLIMEX site not compiling
Post by: ccn2 on November 19, 2013, 07:01:28 PM
I am wondering where the link to the aw.tar.bz file is.

The 2 links on the wiki are for a SDK 2.0 (which has no config file for sun7i or lunch option for suitable board) and the SDK 1.2 has a suitable lichee build option -p sun7i_android (which builds) but the android image built with wing-k70 (the only softwinner option) does not boot. I found your link to the olinuxino and tried that but it still did not work. I upacked the img from the wiki and it has kernel version 3.4.67 while the SDK 1.2 has kernel version 3.3.0.

I have tried building the kernel using linux-sunxi 3.4 branch using the config file from the img on the device but a lot of the compile options are different. Also non of the extra modules will build as this branch does not seem to have code for them (like pm, nand, mali but all three are in the .config file). This image also didnt boot.


I am wondering where I am going wrong. Is there a link somewhere to an android sdk which builds to a20-olinuxino-micro Rev. E board.

Any help would be appreciated.



Title: Re: A20 SDK on OLIMEX site not compiling
Post by: awatch on November 19, 2013, 08:43:57 PM
A few days after I've asked for a newer SDK, Tsvetan from Olimex has uploaded a newer version to http://dl.linux-sunxi.org/users/tsvetan/A20-SDK-V1.2/ (See: https://www.olimex.com/forum/index.php?topic=2086.0)
It builds Android 4.2.2 with Kernel 3.3.0.
To get a gui you need to add the option BOARD_EGL_NEEDS_LEGACY_FB (see: http://review.cyanogenmod.org/#/c/28005/3)
But as ccn2 posted, this SDK does also not build the same image from the wiki.
Title: Re: A20 SDK on OLIMEX site not compiling
Post by: lburais on November 20, 2013, 02:46:26 PM
Same here and about to give up because unable to add missing drivers (sunplus, hid bt,...) to the build without the source and playbook used by Olimex... really not understandable if you want to develop the community  :-[