Commit 490dbf7e authored by Fang-WANG's avatar Fang-WANG

update install files

parent 02df466d
......@@ -9,8 +9,8 @@ fi
# Remove the existing xdma kernel module
lsmod | grep xdma
if [ $? -eq 0 ]; then
rmmod xdma
fi
echo "xdma driver already loaded ..."
else
echo -n "Loading xdma driver..."
# Use the following command to Load the driver in the default
# or interrupt drive mode. This will allow the driver to use
......@@ -28,6 +28,7 @@ if [ ! $? == 0 ]; then
exit 1
fi
fi
# Check to see if the xdma devices were recognized
echo ""
cat /proc/devices | grep xdma > /dev/null
......
#!/bin/bash
sudo ./load.sh
sudo cp XDMA/linux-kernel/xdma/xdma.ko /lib/modules/`uname -r`/
sudo depmod -a
sudo echo "xdma" > /etc/modprobe.d/oxgrf.conf
#!/bin/bash
cd XDMA/linux-kernel/xdma/
make clean;make
cd ../tests
sudo ./load_driver.sh
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment