Building Debian Linux image for A20-OLinuXino-LIME2 with mainline kernel 3.19 new tutorial by Remy van Elst



A20 is now in mainline which means you can build mainline kernel and it will work on A20-OLinuxino-LIME2.

Remy made blog post how to build Debian Linux with latest Kernel 3.19 from scratch – you can read how he did this here.

9 Comments (+add yours?)

  1. Jonas Smedegaard
    Feb 20, 2015 @ 22:24:34

    Support for OLinuXino A20 LIME is included in official Debian-packaged Linux kernel targeted the upcoming Debian “wheezy” release (support was added in version 3.16.7-1 of the linux package). So unless you have special needs you should not need to build a custom kernel at all.


  2. Jonas Smedegaard
    Feb 21, 2015 @ 00:55:20

    Hmm – I might be wrong, actually: Seems only OLinuXino A20 LIME is covered yet in official Debian kernel targeted next stable release, not the LIME2.

    I am sure a bugreport similar to would be much appreciated.

    I might try locate and test the needed patch myself – when I actually have such devices to work on (I have just bought one of each tonight).


  3. Jonas Smedegaard
    Feb 21, 2015 @ 00:56:54

    Link got swallowed above – here it is:


  4. Lumpi
    Feb 21, 2015 @ 16:23:49

    No sound, no video? No point! At least for most use cases…

    Or did i misunderstand anything?
    Is there some plan when all will work without blobs? That would be a great thing.
    Unfortunately linux-sunxi created more questions than answers.

    Maybe one of the cracks could explain it for average mortals 😉


  5. ssvb
    Feb 22, 2015 @ 10:55:20

    Looks nice, but this blog post gets two things wrong:

    1. “By default it comes with an 3.4 kernel with binary blobs and patches from Allwinner. Recently the mainline kernel has gained support for these boards, you can now run and use the mainline kernel without these awfull non-free binary blobs”.

    In fact, there are no blobs in the 3.4 kernel. Mentioning “awfull non-free binary blobs” might be good for a better dramatic effect, but has nothing to do with reality. We don’t like the old 3.4 kernel because if offers relatively poor reliability and code quality, but not because of some mythical blobs.

    2. “For example, if you need graphical output (hdmi) or sound it will not work with the 3.19 kernel”.

    In fact, there *is* graphics support in the 3.19 kernel (both hdmi and lcd), implemented via simplefb. You just need to use the mainline u-boot for this instead of some random fork.


  6. selsinork
    Feb 27, 2015 @ 12:14:03

    Also, please don’t take out the compiler version check unless you’re really sure you know what you’re doing.

    The particular bug being addressed by that check – – produces kernels that appear to work, but that randomly crash and/or silently corrupt your filesystem. Sometimes it takes days to see any problem.

    Do yourself a favour and use a 4.7.x or 4.9.x version of GCC, especially when cross compiling with a linaro compiler as they have managed to ship versions that should be good but still include the bug. See


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: