A20 SDK on OLIMEX site not compiling

Started by chinmaynamjoshi, November 07, 2013, 03:50:55 PM

Previous topic - Next topic

chinmaynamjoshi

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

HeHoPMaJIeH

Try this :
./build.sh -p sun7i_android -k3.4
~Best

ccn2

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.




awatch

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.

lburais

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  :-[