Difference between revisions of "HIP:PMP:Kernel"
Jump to navigation
Jump to search
(→chroot) |
|||
Line 19: | Line 19: | ||
# patch kernel | # patch kernel | ||
patch -p0 < TS-2.5-2.4.23.patch | patch -p0 < TS-2.5-2.4.23.patch | ||
+ | |||
+ | === Config and Build Kernel === | ||
+ | # cd to linux-2.4.23 | ||
+ | # run menuconfig | ||
+ | make menuconfig | ||
+ | # enable everything under General Setup > Power Management Support | ||
+ | # exit and save | ||
+ | # run make | ||
+ | make dep && make bzImage && make modules | ||
+ | |||
=== External Links === | === External Links === | ||
* [http://www.embeddedarm.com/linux/html_docs/Kernel_buld_HowTo.html Kernel build procedure using the TS-Linux patch] | * [http://www.embeddedarm.com/linux/html_docs/Kernel_buld_HowTo.html Kernel build procedure using the TS-Linux patch] |
Revision as of 10:17, 24 May 2006
Contents
Download Developer CD, Kernel, etc
Create Local Copy
- Mount developer image and create a local copy.
- Copy kernel and patch to /usr/src to local developer image
sudo cp linux-2.4.32.tar.bz2 dev_local/usr/src
chroot, Patch Kernel
- cd to dev_local
- chroot
sudo /usr/sbin/chroot .
- cd to /usr/src
- untar kernel
- patch kernel
patch -p0 < TS-2.5-2.4.23.patch
Config and Build Kernel
- cd to linux-2.4.23
- run menuconfig
make menuconfig
- enable everything under General Setup > Power Management Support
- exit and save
- run make
make dep && make bzImage && make modules