Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
fff57198
Commit
fff57198
authored
Jun 10, 2013
by
Henrik Nordstrom
Browse files
usb-boot: Support speficying the fel boot image by full path
parent
d31d4a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
usb-boot
View file @
fff57198
...
@@ -21,10 +21,16 @@ fel() {
...
@@ -21,10 +21,16 @@ fel() {
echo
fel
"
$@
"
echo
fel
"
$@
"
$top
/fel
$@
$top
/fel
$@
}
}
felboot
=
$top
/felboot/fel-boot-
${
board
}
.bin
case
$board
in
if
[
!
-f
$felboot
]
;
then
*
/
*
)
felboot
=
$board
felboot
=
$top
/bin/fel-boot-
${
board
}
.bin
;;
fi
*
)
felboot
=
$top
/felboot/fel-boot-
${
board
}
.bin
if
[
!
-f
$felboot
]
;
then
felboot
=
$top
/bin/fel-boot-
${
board
}
.bin
fi
;;
esac
if
[
!
-f
$felboot
]
;
then
if
[
!
-f
$felboot
]
;
then
echo
"ERROR: Can't find fel-boot binary for
${
board
}
"
echo
"ERROR: Can't find fel-boot binary for
${
board
}
"
exit
1
exit
1
...
...
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