Custom Kernels v2

From WebOS Internals
Revision as of 20:12, 15 August 2009 by PuffTheMagic (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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-"

export ARCH="arm"

Get the kernel code:

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

git checkout -b master-palm origin/master-palm

Get the default config:

cp arch/arm/configs/omap_sirloin_3430_defconfig .config

Configure the kernel:

make menuconfig

Build the kernel:

make && make uImage