How to compile Kernel vor the Olinuxino Maxi (iMX233)

Ask questions about Arch Linux ARM. Please search before making a new topic.

How to compile Kernel vor the Olinuxino Maxi (iMX233)

Postby MReimer » Mon Aug 26, 2013 8:18 am

Hello,

I tried several things but everything failed.

Compiling the Kernel directly on the Olinuxino failed because of "disk full" error. So I partitioned the remaining space on the SD card to get additional space.

To speed up things I used my desktop PC as distcc cross compiler as described on the ArchLinux ARM website.

After another about 10 hours of compiling now the PKGBUILD hangs at "XZKERN". It seems to be impossible to compress the kernel.

Now I tried to edit the PKGBUILD to contain "CROSS_COMPILE=path_to_crosschain" and "ARCH=arm". This compiled well directly on my desktop and was *much* faster than compiling on the Olinuxino but the resulting kernel won't boot. Booting hangs at "Loading Kernel Image ... "

What can I do to recompile the kernel?
MReimer
 
Posts: 17
Joined: Sun Jul 14, 2013 12:28 pm

Re: How to compile Kernel vor the Olinuxino Maxi (iMX233)

Postby moonman » Mon Aug 26, 2013 8:44 am

how much ram does your device have? 64 MB? My GoFlex with 128 needs a swap. I have never cross compiled on a pc, but distcc works fine here.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests