Newbie Building Kernel for gta02

Shaz shazalive at
Fri Nov 7 13:42:51 CET 2008

You need to get the OM toolchain from (or Toolchains). Follow the
instruction for setting up this toolchain from this page. It comes with
setup_env which you will need to run. It sets up your cross-compilation
environment variables.

I have a faded memory so check for problems that you might encounter from
the bottom of page.

You might have to give CROSS_COMPILE=[compiler triplet] and ARCH=arm when
making the kernel:

SHELL-Prompt:$ make CROSS_COMPILE=arm-angstrom-linux-gnueabi ARCH=arm

This might be needed with menuconfig or xconfig. I don't remember. The
kernel has a build script which I never used :)

On Fri, Nov 7, 2008 at 4:35 PM, Arigead <captain.deadly at> wrote:

> Hash: SHA1
> apologies for distracting the serious work of this list but I've a few
> questions relating to building the kernel for the first time.
> I've only ever compiled a kernel before using the Linux From Scratch
> Instructions which were great and I managed to build a system. Now I'm
> following instructions given at and
> have one or two problems.
> I obtain the kernel source as described and do a git checkout of
> origin/stable. I then copy defconfig-gta02 to .config and try to build
> but nothing I try works. If I try a "make menuconfig" I get errors. I
> didn't expect errors in the C Code.
> Given that my make menuconfig failed I was only asking for trouble
> executing "make vmlinux" but I couldn't resist it. ;-) I got asked for
> my processor type and Tickless System etc. etc.
> Actually I'm a bit confused if I build the kernel on my laptop I'm
> compiling for an i86 arch. there's no mention of bitbake or oe in these
> instructions. Surely I need a cross compiler.
> Once again humble apologies I know this list serves a serious purpose
> and the people on it do a very good job. In the ideal world you should
> not have to answer such questions, but welcome to my world ;-)
> Thanks in advance for any assistance.
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> iD8DBQFJFCgFXlbjSJ5n4BARArbvAKDXS6Co255ml4O23bwmqsdp+jktsgCdGyHw
> Bwim/OZLbZcsX/YBJhWiz9k=
> =9pAO

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the openmoko-kernel mailing list