|
|
MY main step:
download kernel package 2.6.15 from http://www.kernel.org
tar xvzf linux-2.6.15*
cd linux-2.6.15
patch -p1 -b < /usr/src/rtai-3.3/base/arch/i386/patches/hal-linux-2.6.15-i386-1.2-00.patch
cp /boot/config* /usr/src/linux-2.6.15/.config
make xconfig
.........
my config by RTAI manual,then I am sure it is right
make-kpkg clean
fakeroot make-kpkg --revision=custom.1.0 kernel-image
cd /usr/src
dpkg -i kernel-image_custom........deb
....
cd /boot
mkinitrd -o /boot/initrd.img-2.6.15 2.6.15
then have this error :
/usr/sbin/mkinitrd: /lib/modules/2.6.15:Not a directory
/use/sbin/mkinitrd: MODULES needs to be set to none
and when it have no patched,it is sucessful |
|