A13-OLinuXino create debian kernal gcc-arm-linux-gnueabi

Started by LastHorizon, May 16, 2017, 05:06:59 PM

Previous topic - Next topic

LastHorizon

Hi there,

I have recently acquired an A13-OLinuXino board and I need to create the Debian boot image for it. I have tried following a couple of online tutorials such as this one here

https://www.olimex.com/wiki/Build_Bootable_SD_Card_with_Debian

It seems to work fine as far as the 'Building Uboot' section goes but then I try to build the Kernel and hit a few problems.

Now I note that while building the UBoot I am required to use the gcc-arm-linux-gnueabihf toolchain which is for armhf architectures. In the building of the kernel I am now required to build using the gcc-arm-linux-gnueabi toolchain (for armel architectures) this seems counter intuitive. I also can't actually find the specification for the what architecture the processor is.

Further to this problem I reach the step where I am to run the following command
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage
but I don't have the arm-linux-gnueabi-gcc installed, which i thought to myself is fine as i can install it. However this causes problems and is not installable. Evenutally, after much digging, I have found that there is a problem with the installation candidate for gcc-4.8-base-armel-cross.

A bit more digging reveals some instructions here (https://wiki.debian.org/EmdebianToolchain#Build_your_own_from_sources) to attempt to build the toolchain from scratch.

Here I get some more issues in that libc6-dev-* and linux-libc6-dev-* packages can't be found for installation. (I also can't use dpkg-cross ... to find the .deb files as it comes back with a no such file or folder error).

Does anybody have any solutions for these issues? Ideally I want to build the sd image for myself for the experience, but I can't locate the required tools!

I am running Ubuntu 14.04 LTS

cheers