Outils pour utilisateurs

Outils du site


gnu:kernelrt

Différences

Ci-dessous, les différences entre deux révisions de la page.


gnu:kernelrt [2024/02/09 17:10] (Version actuelle) – créée - modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +====== script de compilation du noyau GNU/Linux rt ======
 +
 +**Sur ubuntu il existe le paquet linux-image-2.6.31-9-rt !!**
 +
 +Mais bon , au cas ou ...
 +
 +  * trouvé la [[http://www.linuxmao.org/tikiwiki/tiki-view_forum_thread.php?forumId=2&comments_parentId=14464&comments_per_page=1&thread_style=commentStyle_plain|
 +Compilation noyau avec patch pour RealTime sous Ubuntu 9.04]]
 +  * et aussi par exemple de [[http://help.ubuntu.com/community/Kernel/Compile]]
 +<code>
 +sudo -s
 +cd /usr/src
 +
 +wget
 +http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.31.2.tar.bz2
 +wget
 +http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.31.2-rt13.bz2     
 +chmod 755 *
 +
 +tar xjfv linux-2.6.31.2.tar.bz2
 +
 +rm linux
 +ln -s linux-2.6.31.2 linux
 +cd linux
 +
 +bzip2 -dc /usr/src/patch-2.6.31.2-rt13.bz2 | patch -p1 --dry-run
 +bzip2 -dc /usr/src/patch-2.6.31.2-rt13.bz2 | patch -p1
 +
 +cp /boot/config-`uname -r` .config
 +make menuconfig
 +
 +make-kpkg clean
 +make-kpkg modules_clean
 +make-kpkg --revision 1 --initrd kernel_image kernel_headers modules_image
 +
 +cd ..
 +chmod 755 *
 +dpkg -i *31-rc4*.deb
 +
 +apt-cache search 2.6.31
 +linux-image-2.6.31.2 - Linux kernel binary image for version 2.6.31.2
 +linux-headers-2.6.31.2 - Header files related to Linux kernel
 +</code>