Computers/Adv. Linux System Programming

install RT linux

emzei 2014. 5. 19. 18:50



1. get source codes  ; kernel source codes and patch files with the same version


# wget http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.58.tar.gz

# wget http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patches-3.2.58-rt85.tar.gz 





2. decompress both tar.gz files

# tar xvzf (file name)




<way 1>-------------------------------

3-a. move to patches directory

# cd patches



4-a do patch with below command

# cat ./* | patch --directory=(kernel_sourcecode_dir) -p1






<way2> --------------------------------------

3-b. move to kernel source directory

# cd linux-3.2.58



4-b do patch with below command

#zcat ../patches-3.2.58-rt85.tar.gz | patch -p1





kernel codes  are patched for RT

and extra steps are same as kernel compile


# cd linux-3.2.58


# make mrproper (required when re-compile)


# make config or # make menuconfig  (using ncurses-devel)

or # make xconfig (using qt-devel)


# make oldconfig (optional)


# make (-j4)


# make modules


# make modules_install


# make install