Difference between revisions of "Custom Kernels v2"
Jump to navigation
Jump to search
PuffTheMagic (talk | contribs) (New page: {{Warning|The directions on this page are for building a kernel for the Palm Pre using a armv7 cross toolchain. There are plenty of instructions on how to get a cross toolchain for the Pre...) |
PuffTheMagic (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
{{Warning|The directions on this page are for building a kernel for the Palm Pre using a armv7 cross toolchain. There are plenty of instructions on how to get 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 one is,turn around now.}} | {{Warning|The directions on this page are for building a kernel for the Palm Pre using a armv7 cross toolchain. There are plenty of instructions on how to get 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 one is,turn around now.}} | ||
− | |||
===== Get the kernel code: ===== | ===== Get the kernel code: ===== | ||
Line 12: | Line 12: | ||
<code language="sh"> | <code language="sh"> | ||
cp arch/arm/configs/webos-internals .config | cp arch/arm/configs/webos-internals .config | ||
+ | </code> | ||
+ | |||
+ | ===== Configure the kernel: ===== | ||
+ | <code language="sh"> | ||
+ | ARCH=arm make menuconfig | ||
+ | </code> | ||
+ | |||
+ | ===== Build the kernel: ===== | ||
+ | <code language="sh"> | ||
+ | CROSS_COMPILE="armv7a-softfloat-linux-gnueabi-" make | ||
</code> | </code> |
Revision as of 04:06, 13 August 2009
The directions on this page are for building a kernel for the Palm Pre using a armv7 cross toolchain. There are plenty of instructions on how to get 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 one is,turn around now. |
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:
CROSS_COMPILE="armv7a-softfloat-linux-gnueabi-" make