Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: jmss on May 30, 2014, 03:35:48 AM

Title: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
Post by: jmss on May 30, 2014, 03:35:48 AM
Hi,

Is there any official or unofficial Ubuntu/Linaro image for the LIME board?

I have an A20-OLinuXino-MICRO-4GB and use an unofficial Ubuntu image from isidoro (https://www.olimex.com/forum/index.php?topic=2014.0). This image has a 2x performance gain when running C/C++ code (compiled with gcc Linaro) compared to Debian's official image.

I'm planning to start testing the LIME board, but without Linaro optimizations it is of no use...

Any hints or insights?

Thanks.
Title: Re: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
Post by: progmetalbg on May 30, 2014, 01:25:40 PM
Eventually image will work fine on A10-OLinuXino-LIME (AllWinner A10, A13, A20 are quite similar chips), BUT at least you have to replace u-boot.
Try the following:
1. Write the Ubuntu image to uSD card.
2. Compile u-boot for A10-OLinuXino-LIME
3. Mount uSD image to your PC and overwrite MBR of uSD with your LIME u-boot, replace u-boot in /boot; umount
4. Test

You can also check Robert Nelson's wiki page and Ubuntu 14.04 instructions:
http://eewiki.net/display/linuxonarm/A10-OLinuXino-LIME (http://eewiki.net/display/linuxonarm/A10-OLinuXino-LIME)
Title: Re: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
Post by: jmss on May 31, 2014, 12:49:38 AM
Thanks.

This is the only step I could not find out how to do:

Quote from: progmetalbg on May 30, 2014, 01:25:40 PM
overwrite MBR of uSD with your LIME u-boot

Is it with dd?

If I understand correctly these instructions:

Quote from: progmetalbg on May 30, 2014, 01:25:40 PM
You can also check Robert Nelson's wiki page and Ubuntu 14.04 instructions:
http://eewiki.net/display/linuxonarm/A10-OLinuXino-LIME (http://eewiki.net/display/linuxonarm/A10-OLinuXino-LIME)

whose first steps I followed to build u-boot, can also be used to create a complete image from scratch, right?
Title: Re: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
Post by: JohnS on May 31, 2014, 09:21:33 AM
Yes, dd should be fine for that.

John