Welcome, Guest

Author Topic: Olinuxino A10 lime and mainline linux kernel  (Read 3567 times)

carossopatrick

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Olinuxino A10 lime and mainline linux kernel
« on: June 23, 2015, 01:30:43 PM »
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

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-1
Re: Olinuxino A10 lime and mainline linux kernel
« Reply #1 on: June 23, 2015, 08:20:05 PM »
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

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Olinuxino A10 lime and mainline linux kernel
« Reply #2 on: June 23, 2015, 11:04:11 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!

rds100

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0

carossopatrick

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Olinuxino A10 lime and mainline linux kernel
« Reply #4 on: June 24, 2015, 10:15:03 PM »
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