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
21b75016
Commit
21b75016
authored
Mar 18, 2022
by
Karen Xie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XDMA: scripts_mm/ adjust relative path.
parent
4df519f6
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
6 deletions
+7
-6
XDMA/linux-kernel/readme.txt
XDMA/linux-kernel/readme.txt
+1
-1
XDMA/linux-kernel/tests/scripts_mm/io.sh
XDMA/linux-kernel/tests/scripts_mm/io.sh
+1
-1
XDMA/linux-kernel/tests/scripts_mm/io_sweep.sh
XDMA/linux-kernel/tests/scripts_mm/io_sweep.sh
+1
-0
XDMA/linux-kernel/tests/scripts_mm/libtest.sh
XDMA/linux-kernel/tests/scripts_mm/libtest.sh
+1
-2
XDMA/linux-kernel/tests/scripts_mm/unaligned.sh
XDMA/linux-kernel/tests/scripts_mm/unaligned.sh
+2
-1
XDMA/linux-kernel/tests/scripts_mm/xdma_mm.sh
XDMA/linux-kernel/tests/scripts_mm/xdma_mm.sh
+1
-1
No files found.
XDMA/linux-kernel/readme.txt
View file @
21b75016
...
...
@@ -129,7 +129,7 @@ Usage:
For more extensive memory mapped test:
assume the XDMA FGPA is at pci slot 0000:01:00.0
cd scripts_mm
./xdma_mm.sh 0000:01:00.0
./xdma_mm.sh 0000:01:00.0
| tee /tmp/xdma_mm.log
- Check driver Version number
modinfo xdma (or)
...
...
XDMA/linux-kernel/tests/scripts_mm/io.sh
View file @
21b75016
#!/bin/sh
tool_path
=
../tools
tool_path
=
../
../
tools
logdir
=
/tmp
if
[
$#
-lt
9
]
;
then
...
...
XDMA/linux-kernel/tests/scripts_mm/io_sweep.sh
View file @
21b75016
...
...
@@ -38,6 +38,7 @@ fi
if
[
!
-d
"
$tmpdir
"
]
;
then
mkdir
-p
$tmpdir
fi
rm
-rf
${
tmpdir
}
/
*
if
[
"
$data_check
"
-ne
0
]
;
then
cnt
=
$((
$io_max
/
1024
))
...
...
XDMA/linux-kernel/tests/scripts_mm/libtest.sh
View file @
21b75016
tool_path
=
../tools
tool_path
=
../
../
tools
ERR
=
255
CHANNEL_NOOP
=
4
############################
#
...
...
XDMA/linux-kernel/tests/scripts_mm/unaligned.sh
View file @
21b75016
...
...
@@ -10,7 +10,7 @@ io_list="1 10 127 128 1021 1022 1023 1024 4095 4096 4097 4098 4099 8189 8190 819
io_max
=
8192
# offset
offset_list
=
"1 2 3 4 20
?
45 2046 2047 2048 2049 4091 4092 4093 4094 4095"
offset_list
=
"1 2 3 4 2045 2046 2047 2048 2049 4091 4092 4093 4094 4095"
# starting address
address
=
0
...
...
@@ -49,6 +49,7 @@ fi
if
[
!
-d
"
$tmpdir
"
]
;
then
mkdir
-p
$tmpdir
fi
rm
-rf
$tmpdir
/
*
# generate data file, minimum 64MB
cnt
=
$((
$io_max
/
1024
))
...
...
XDMA/linux-kernel/tests/scripts_mm/xdma_mm.sh
View file @
21b75016
...
...
@@ -53,7 +53,7 @@ for dm in $driver_modes; do
echo -e "
\n\n
====> xdma mode
$dm
...
\n
"
cd ../tests
cd ../
../
tests
./load_driver.sh
$dm
if [
$?
-ne 0 ]; then
...
...
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