Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FPGA Configuration Space
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
FPGA Configuration Space
Commits
63f8bd1b
Commit
63f8bd1b
authored
Apr 14, 2011
by
Manohar Vanga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed redundant script
Signed-off-by:
Manohar Vanga
<
manohar.vanga@gmail.com
>
parent
4ce504f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
load-fw.sh
load-fw.sh
+0
-24
No files found.
load-fw.sh
deleted
100755 → 0
View file @
4ce504f3
#!/bin/bash
if
[
"$#"
!=
"3"
]
;
then
echo
"usage:
$0
<driver> <firmware>"
exit
1
fi
DEVNAME
=
$1
FIRMWARE_FNAME
=
$2
if
[
!
-f
/sys/class/firmware/
$DEVNAME
]
;
then
echo
"Failed to load firmware (sysfs files missing). Check driver"
exit
fi
if
[
-f
$FIRMWARE_FNAME
]
;
then
echo
1
>
/sys/class/firmware/
$DEVNAME
/loading
cat
$FIRMWARE_FNAME
>
/sys/class/firmware/
$DEVNAME
/data
echo
0
>
/sys/class/firmware/
$DEVNAME
/loading
echo
"Firmware loaded"
else
echo
-1
>
/sys/class/firmware/
$DEVNAME
/loading
echo
"Failed to load firmware. File
$FIRMWARE_FNAME
not found"
fi
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