Olinuxino A10 lime and mainline linux kernel

Started by carossopatrick, June 23, 2015, 01:30:43 PM

Previous topic - Next topic

carossopatrick

Hello all,
I've seen that the mainline kernel has a sunxi_defconfig, and a sun4i-a10-olinuxino-lime.dts device tree file.
Has anyone successfully built and run such a kernel, even with minimal functionalities? All my efforts failed: the dtb file is loaded but the kernel immediately hangs.
Thank you very much.
Patrick

jlucius

Hi

Mainline kernel should run fine on this board. I am using Mainline with the A20-Lime, but should make no difference.

- What U-Boot are you using? You need to use mainline U-Boot.
- What Kernel
- How are you building
- Do you have a serial adapter to show boot messages?

carossopatrick

Quote from: jlucius on June 23, 2015, 08:20:05 PM
- What U-Boot are you using? You need to use mainline U-Boot.

Well, I'm using linux-sunxi u-boot. I'm trying the one downloaded from  git.denx.de, now.

make A10-OLinuXino-Lime_defconfig

cross compile, ok

Now I've a lot of img,bin,dtb files built in u-boot/. Which ones should I use? Is the dd command with bs=1024 and seek=8 still right?
Thank you!


carossopatrick

Thank you,
I've built and run 4.1 with no problems.
The point was to use the mainline u-boot instead of the sunxi one.
Patrick