| |
  |
| Adding a new/different kernel to the uClinux-dist |
|
 |
 |
Whether tracking 2.6 development, wanting to use an updated uClinux-dist with and older kernel or perhaps slot a vendor kernel
into the uClinux-dist, here are two simple options to make it easier.
This example will demonstrate adding a new kernel patched kernel into the uClinux-dist.
|
|
 |
 |
- Replace existing.
-
cd uClinux-dist
mv linux-2.6.x linux-2.6.x.orig
tar xvzf linux-2.6.18.tar.gz
cd linux-2.6.18
gunzip < linux-2.6.18-uc0.patch.gz | patch -p1
cd ..
mv linux-2.6.18 linux-2.6.x
then run make config etc to select the kernel and build the platform.
- Add another kernel to the build options
-
cd uClinux-dist
tar xvzf linux-2.6.18.tar.gz
cd linux-2.6.18
gunzip < linux-2.6.18-uc0.patch.gz | patch -p1
cd ..
mv linux-2.6.18 linux-2.6.18.x
cd ../vendors/MYVENDOR/MYPRODUCT
cp config.linux-2.6.x config.linux-2.6.18.x
cp config.vendor-2.6.x config.vendor-2.6.18.x
cd ../../..
then run make config etc to select the new kernel options and build
the platform.
This can be done with 2.0/2.4 and 2.6 kernels, actually, any directory named linux-blah.x will become a kernel option.
|
|
 |
 |
< uClinux-2.6.18-uc0 released
| Samba on uClinux >
| |
|