[Arm-netbook] Cross-compiling an armhf kernel package on?Debian amd64?

Tzafrir Cohen tzafrir at cohens.org.il
Wed Oct 10 15:34:15 BST 2012


On Wed, Oct 10, 2012 at 02:53:13PM +0200, aexlfowley at web.de wrote:
> >> 1. gcc 4.4? Really? You have newer toolchans there.
>  >
>  >$ apt-cache search gcc arm
> * Emdebian unstable has armhf (gcc-4.7-arm-linux-gnueabihf 
> gcc-4.7-base-armel-cross). Kernel builds successfully but will not boot 
> for me. 

WorksForMe (though for a different platform - a certain OMAP-based
device).

Please report bugs.

> Kernel with same .config and gcc-4.4- boots alright.
> * Linaro has toolchains. The packages are quite big but they also 
> offer snapshots ...
> * CodeSourcery (now Mentor Sourcery CodeBench) also has an armhf toolchain.
> But whatever works I guess.
> 
> A kernel package not including the kernel (uImage) is also not really 
> useful. If you have to copy the kernel by hand you can also copy the 
> modules. Someone could take a look at the kernel-package scripts if it's 
> doable to move the kernel into the boot partition ...

As mentioned before: Don't use kernel-package.

  make deb-pkg KBUILD_IMAGE=uImage

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the arm-netbook mailing list