Difference between revisions of "HIP:PMP:Kernel"

From Earlham CS Department
Jump to navigation Jump to search
(chroot)
Line 10: Line 10:
 
  sudo cp linux-2.4.32.tar.bz2 dev_local/usr/src
 
  sudo cp linux-2.4.32.tar.bz2 dev_local/usr/src
  
=== chroot ===
+
=== chroot, Patch Kernel ===
  
 
# cd to dev_local
 
# cd to dev_local
Line 17: Line 17:
 
# cd to /usr/src
 
# cd to /usr/src
 
# untar kernel
 
# untar kernel
# copy patch to kerel directory
 
 
# patch kernel
 
# patch kernel
  patch -p0 TS-2.5-2.4.23.patch
+
  patch -p0 < TS-2.5-2.4.23.patch
 
 
  
 
=== 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 09:59, 24 May 2006

Download Developer CD, Kernel, etc

Create Local Copy

  1. Mount developer image and create a local copy.
  2. 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

  1. cd to dev_local
  2. chroot
sudo /usr/sbin/chroot .
  1. cd to /usr/src
  2. untar kernel
  3. patch kernel
patch -p0 < TS-2.5-2.4.23.patch

External Links