Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
dma_ip_drivers
Commits
490dbf7e
Commit
490dbf7e
authored
Feb 23, 2022
by
Fang-WANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update install files
parent
02df466d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
XDMA/linux-kernel/tests/load_driver.sh
XDMA/linux-kernel/tests/load_driver.sh
+3
-2
install.sh
install.sh
+6
-0
load.sh
load.sh
+5
-0
No files found.
XDMA/linux-kernel/tests/load_driver.sh
100644 → 100755
View file @
490dbf7e
...
@@ -9,8 +9,8 @@ fi
...
@@ -9,8 +9,8 @@ fi
# Remove the existing xdma kernel module
# Remove the existing xdma kernel module
lsmod |
grep
xdma
lsmod |
grep
xdma
if
[
$?
-eq
0
]
;
then
if
[
$?
-eq
0
]
;
then
rmmod xdma
echo
"xdma driver already loaded ..."
fi
else
echo
-n
"Loading xdma driver..."
echo
-n
"Loading xdma driver..."
# Use the following command to Load the driver in the default
# Use the following command to Load the driver in the default
# or interrupt drive mode. This will allow the driver to use
# or interrupt drive mode. This will allow the driver to use
...
@@ -28,6 +28,7 @@ if [ ! $? == 0 ]; then
...
@@ -28,6 +28,7 @@ if [ ! $? == 0 ]; then
exit
1
exit
1
fi
fi
fi
# Check to see if the xdma devices were recognized
# Check to see if the xdma devices were recognized
echo
""
echo
""
cat
/proc/devices |
grep
xdma
>
/dev/null
cat
/proc/devices |
grep
xdma
>
/dev/null
...
...
install.sh
0 → 100755
View file @
490dbf7e
#!/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
load.sh
0 → 100755
View file @
490dbf7e
#!/bin/bash
cd
XDMA/linux-kernel/xdma/
make clean
;
make
cd
../tests
sudo
./load_driver.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment