Welcome, Guest

Author Topic: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB  (Read 3037 times)

jmss

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-0
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.

progmetalbg

  • Full Member
  • ***
  • Posts: 136
  • Karma: +17/-0
Re: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
« Reply #1 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

jmss

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-0
Re: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
« Reply #2 on: May 31, 2014, 12:49:38 AM »
Thanks.

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

overwrite MBR of uSD with your LIME u-boot

Is it with dd?

If I understand correctly these instructions:

You can also check Robert Nelson's wiki page and Ubuntu 14.04 instructions:
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?

JohnS

  • Hero Member
  • *****
  • Posts: 1719
  • Karma: +33/-48
Re: Ubuntu/Linaro on A10-OLinuXino-LIME or A10-OLinuXino-LIME-4GB
« Reply #3 on: May 31, 2014, 09:21:33 AM »
Yes, dd should be fine for that.

John