Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: wolo2663 on February 15, 2014, 07:59:26 PM

Title: A10 LIME Kernel Build
Post by: wolo2663 on February 15, 2014, 07:59:26 PM
Hi,
I'm trying to build my own A10 Kernel and I get the following error:

apt-get install gcc-4.7-arm-linux-gnueabihf

E: Unable to locate package gcc-4.7-arm-linux-gnueabihf
E: Couldn't find any package by regex 'gcc-4.7-arm-linux-gnueabihf'

I have the following entry in my sources.list
deb http://www.emdebian.org/debian squeeze main

Does anyone know how to fix this?

Thanks,
Will
Title: Re: A10 LIME Kernel Build
Post by: Robert Leacroft on February 16, 2014, 07:57:10 PM
I seem to remember that you first need to

apt-get install emdebian-archive-keyring

before it will find the package  but I might be confusing myself, and now you.

Robert
Title: Re: A10 LIME Kernel Build
Post by: wolo2663 on February 16, 2014, 08:27:41 PM
I tried that, but I still get the same error as before.
Title: Re: A10 LIME Kernel Build
Post by: visionimpaired on February 20, 2014, 02:15:33 AM
Hi I have the same problem
I am really new to Linux and would like to try to build this, can someone please help?
Is there a really basic image prebuilt that only has the command line interface that I can download and load whatever I want through apt-get?
I downloaded v2 of the image and I notice using ps that there are many processes (that I don't need) especially I see sleep 1 appear many times. Can anyone advise why this is?
Thanks from a newbie.
V.
Title: Re: A10 LIME Kernel Build
Post by: enz on February 20, 2014, 05:39:42 PM
I had the same problem.

due to this link:
http://linux-sunxi.org/Toolchain (http://linux-sunxi.org/Toolchain)
you have to add the following repo to your sources.list (if you are developing on debian):
deb http://www.emdebian.org/debian/ unstable main

That worked for me, after i also installed the emdebian-archive-keyring

Hope this helps.

Martin
Title: Re: A10 LIME Kernel Build
Post by: charlieholimex on June 08, 2014, 03:38:47 PM
Adding deb http://www.emdebian.org/debian/ unstable main to sources.list doesn't work for me.

None of the embedian sources seem to work.

W: Failed to fetch http://www.emdebian.org/debian/dists/unstable/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
Title: Re: A10 LIME Kernel Build
Post by: kermit80 on June 09, 2014, 06:39:38 PM

if you are on Ubuntu, to get the toolchain just run:

apt-get install gcc-arm-linux-gnueabihf
Title: Re: A10 LIME Kernel Build
Post by: mrroland on June 13, 2014, 12:35:35 AM
If you have a board, and you are a litle patient,
You can compile the kernel on the board.
No need for cross compiling than. Also no need for emdebian.
I do this and have no problems at all.
Ik Just takes a few hours to compile.
Title: Re: A10 LIME Kernel Build
Post by: MBR on June 13, 2014, 12:50:34 AM
Quote from: mrroland on June 13, 2014, 12:35:35 AM
Ik Just takes a few hours to compile.

It may take hours, but unless you want to plug-in every USB device supported by Linux, support all filesystems, network protocol and such as the distribution kernels, you can prune the config and get rid of drivers for devices you don't have and featutres you don't need. The compile time of a minimalistic kernel should be a few tens of minutes, not hours.