Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC - Software
Commits
3a41499f
Commit
3a41499f
authored
Nov 26, 2012
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add installation script for cdv28
parent
b1d45e94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
install.cdv28
kernel/install.cdv28
+21
-0
No files found.
kernel/install.cdv28
0 → 100755
View file @
3a41499f
#!/bin/sh
echo
Installing svec WIP driver...
echo
8
>
/proc/sys/kernel/printk
FDELAY
=
"fmc/svec-fine-delay-20121126-1326.bin"
GOLDEN
=
"fmc/golden-svec-20121017-1816.bin"
# /sbin/insmod svec.ko lun=0,1 vmebase1=0x600000,0x900000 vmebase2=0x6000,0x600000 vector=0x86,0x87 level=2,2 fw_name=$GOLDEN,$GOLDEN
/sbin/insmod svec.ko
lun
=
0
vmebase1
=
0x600000
vmebase2
=
0xc0000000
vector
=
0x86
level
=
2
fw_name
=
$FDELAY
MAJOR
=
`
cat
/proc/devices |
awk
'{if ($2 == "svec") printf $1}'
`
echo
Making nodes
for
${
MODULE
}
major device svec
${
MAJOR
}
if
[
-z
"
$MAJOR
"
]
;
then
echo
"driver SVEC not installed !"
exit
2
fi
rm
-f
/dev/svec.
*
#/bin/mknod -m 0666 /dev/svec.0 c ${MAJOR} 0
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