Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /***** proceedure for compiling and installing rt-prempt kernel needed for 7i76e mesa card *******/
- cd ~
- mkdir rtlinux
- cd rtlinux
- wget ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.11.tar.xz
- wget https://www.kernel.org/pub/linux/kernel/projects/rt/3.18/patch-3.18.11-rt7.patch.gz
- tar -xpf linux-3.18.11.tar.xz
- gunzip patch-3.18.11-rt7.patch.gz
- // now copy the contents of rtconfig into .config inside linux-3.18.11
- // this can be found at http://freeby.mesanet.com/rtconfig
- cp patch-3.18.11-rt7.patch linux-3.18.11
- cd linux-3.18.11
- // cp /boot/config-`uname -r` ./.config
- cat patch-3.18.11-rt7.patch | patch -p1
- make xconfig
- //ok at this point a window will open, make sure "fully premptable kernel" is enabled
- //then close the kernel config, the configuration file should have enabled this.
- make
- // for my machine(asrock 1900-itx), make took a good chunck of the day..
- sudo make modules_install
- sudo make install
- // now when you reboot you should have a fully premptable kernel
- /****** instructions on how to get a copy of linuxcnc that you want for the 7i76e *****/
- cd ~
- sudo apt-get install git-core gitk git-gui
- sudo apt-get build-dep linuxcnc
- sudo apt-get install linux-image-3.2.0-4-rt-686-pae
- sudo apt-get install libudev-dev
- sudo apt-get install iptables-persistent
- // save rules yes
- // save rules yes
- git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
- cd linuxcnc-dev
- git checkout master
- git pull
- cd src
- ./autogen.sh
- ./configure --with-realtime=uspace
- make
- sudo make setuid
- cd ..
- . scripts/rip-environment // you need to run this command each time you run linuxcnc
- man hm2_eth
- // follow the instructions in the man to get things further set up
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement