Custom Kernels v2

From WebOS Internals
Revision as of 19:26, 13 August 2009 by Hopspitfire (talk | contribs) (Grammar hiccups, formatting and polite deterrent.)
Jump to navigation Jump to search
Warning The directions on this page describe building a kernel for the Palm Pre using an armv7 cross toolchain. There are plenty of instructions on how to obtain a cross toolchain for the Pre, so that will not be discussed here. If you don't already have a cross toolchain or don't know what it is, please leave this page.
Setup your environment:

export CROSS_COMPILE="armv7a-softfloat-linux-gnueabi-"

Get the kernel code:

git clone git://git.webosinternals.org/kernel.git

Get the default config:

cp arch/arm/configs/webos-internals .config

Configure the kernel:

ARCH=arm make menuconfig

Build the kernel:

make && make uImage