Advertisement
Guest User

Untitled

a guest
May 1st, 2015
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. /***** proceedure for compiling and installing rt-prempt kernel needed for 7i76e mesa card *******/
  2.  
  3. cd ~
  4. mkdir rtlinux
  5. cd rtlinux
  6. wget ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.11.tar.xz
  7. wget https://www.kernel.org/pub/linux/kernel/projects/rt/3.18/patch-3.18.11-rt7.patch.gz
  8. tar -xpf linux-3.18.11.tar.xz
  9. gunzip patch-3.18.11-rt7.patch.gz
  10. // now copy the contents of rtconfig into .config inside linux-3.18.11
  11. // this can be found at http://freeby.mesanet.com/rtconfig
  12. cp patch-3.18.11-rt7.patch linux-3.18.11
  13. cd linux-3.18.11
  14. // cp /boot/config-`uname -r` ./.config
  15. cat patch-3.18.11-rt7.patch | patch -p1
  16. make xconfig
  17.  
  18.  
  19. //ok at this point a window will open, make sure "fully premptable kernel" is enabled
  20. //then close the kernel config, the configuration file should have enabled this.
  21.  
  22. make
  23. // for my machine(asrock 1900-itx), make took a good chunck of the day..
  24. sudo make modules_install
  25. sudo make install
  26. // now when you reboot you should have a fully premptable kernel
  27.  
  28. /****** instructions on how to get a copy of linuxcnc that you want for the 7i76e *****/
  29.  
  30. cd ~
  31. sudo apt-get install git-core gitk git-gui
  32. sudo apt-get build-dep linuxcnc
  33. sudo apt-get install linux-image-3.2.0-4-rt-686-pae
  34. sudo apt-get install libudev-dev
  35. sudo apt-get install iptables-persistent
  36. // save rules yes
  37. // save rules yes
  38.  
  39. git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
  40. cd linuxcnc-dev
  41. git checkout master
  42. git pull
  43. cd src
  44. ./autogen.sh
  45. ./configure --with-realtime=uspace
  46. make
  47. sudo make setuid
  48. cd ..
  49. . scripts/rip-environment // you need to run this command each time you run linuxcnc
  50. man hm2_eth
  51. // follow the instructions in the man to get things further set up
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement