OpenWRT on Olimex A20-OLinuXino-LIME

282 views
Skip to first unread message

xenomo...@gmail.com

unread,
Sep 13, 2014, 7:52:09 AM9/13/14
to linux...@googlegroups.com
Hello sunxi-Team,

I wanted to install OpenWRT on my Olimex A20-LinuXino-LIME (http://linux-sunxi.org/Olimex_A20-OLinuXino-Lime). I saw that only the A10-LIME Version is described in the OpenWRT Wiki (http://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi) - but as the A20-LIME only got the Dual Core A20 instead of the pin compatible A10 Single Core, I thought it should maybe work.

I concluded all steps as described on the Installation progress ( http://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi#installation.process ) with the A10-LIME files. However, after powering on the board, the HDMI screen stays dark and my serial console shows me only following output:

U-Boot SPL 2014.04 (Sep 12 2014 - 15:21:28)
Board: A10-OLinuXino-Lime
DRAM:

After that, nothing happens anymore.

Could somebody help me?


Thanks a lot,

N

Paul Jones

unread,
Sep 13, 2014, 8:04:59 AM9/13/14
to linux...@googlegroups.com
You will need to recompile U-Boot and kernel for the A20. The rest will be the same. Just use the defconfigs that are in the sunxi repositories.
Incidentally I did the opposite yesterday, I accidently used my A20 sd-card in the A10. I didn't get anything from the serial port.

Cheers,
Paul.
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zoltan HERPAI

unread,
Sep 13, 2014, 9:00:00 AM9/13/14
to linux...@googlegroups.com
You can add support for the A20-LIME by adding it into
package/boot/uboot-sunxi and adding the profile entry for the board into
target/linux/sunxi/profiles. You are most welcome to send in
board support patches. :)

Regards,
-w-

xenomo...@gmail.com

unread,
Sep 14, 2014, 10:01:18 AM9/14/14
to linux...@googlegroups.com
Hi,

I successfully built the u-boot Bootloader as described here: http://linux-sunxi.org/U-Boot#Compilation

Now I'm getting this Output:

U-Boot SPL 2014.04-10718-g7ba0c86 (Sep 14 2014 - 12:11:29)
Board: A20-OLinuXino-Lime
DRAM: 512 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.04-10718-g7ba0c86 (Sep 14 2014 - 12:11:29) Allwinner Technology

CPU: Allwinner A20 (SUN7I)
Board: A20-OLinuXino-Lime
I2C: ready
DRAM: 512 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
reading uEnv.txt
240 bytes read in 17 ms (13.7 KiB/s)
Loaded environment from uEnv.txt
Running uenvcmd ...
reading uImage
2601384 bytes read in 175 ms (14.2 MiB/s)
reading dtb
17570 bytes read in 27 ms (634.8 KiB/s)
## Booting kernel from Legacy Image at 46000000 ...
Image Name: ARM OpenWrt Linux-3.14.18
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2601320 Bytes = 2.5 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 49000000
Booting using the fdt blob at 0x49000000
Loading Kernel Image ... OK
Using Device Tree in place at 49000000, end 490074a1

Starting kernel ...

I figure I need to get the correct dtb File for this A20 Lime Board.
Where can I download / get that from?
I could not figure out how to include the A20-Lime correctly into openwrt, sadly...

Thanks,

N

Paul Jones

unread,
Sep 14, 2014, 9:42:58 PM9/14/14
to linux...@googlegroups.com
From memory I don't think there is one yet. Have a look in arch/arm/boot/dtb and try one of the other A20 Olimex boards. It might be similar enough that it boots, although it would be good to have a look through the file and modify it for your board.

Cheers,
Paul.

-----Original Message-----
From: linux...@googlegroups.com [mailto:linux...@googlegroups.com] On Behalf Of xenomo...@gmail.com

bertl...@gmail.com

unread,
Sep 15, 2014, 9:20:48 AM9/15/14
to linux...@googlegroups.com, xenomo...@gmail.com
On Sunday, September 14, 2014 4:01:18 PM UTC+2, xenomo...@gmail.com wrote:

> I figure I need to get the correct dtb File for this A20 Lime Board.
> Where can I download / get that from?
> I could not figure out how to include the A20-Lime correctly into openwrt, sadly...

For me, the instructions and patch set for u-boot by Robert Nelson at http://eewiki.net/display/linuxonarm/A20-OLinuXino-LIME worked fine (as did the rest of them for a Ubuntu 14.04 rootfs).

Best, -Bert

Reply all
Reply to author
Forward
0 new messages