repo.or.cz
/
qi-bootmenu-system
/
guyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tslib: update to latest git HEAD
[qi-bootmenu-system/guyou.git]
/
flash-kernel.sh
blob
a7b3429d6646b8d633f58d765a7b25d703bb15a4
1
#!/bin/sh
2
3
source
.
/
config
4
5
[
-z
"
$MACHINE
"
] &&
MACHINE
=
"GTA02"
6
7
case
"
$MACHINE
"
in
8
GTA01
)
9
DEV
=
"0x1457:0x5119"
10
;;
11
*)
12
DEV
=
"0x1d50:0x5119"
13
;;
14
esac
15
16
dfu-util
--device
$DEV
-a
kernel
-R -D
uImage-
$MACHINE
.bin