repo.or.cz
/
barebox-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move boards to arch/<architecure>/boards
[barebox-mini2440.git]
/
arch
/
blackfin
/
boards
/
ipe337
/
env
/
bin
/
update_kernel
blob
d5c210eb2b89edb0a211b266ab7678adcd9416f5
1
#!/bin/sh
2
3
.
/
env
/
config
4
5
image
=
$uimage
6
7
alternate
$ageing
8
ret
=
$?
9
10
if
[
$ret
=
0
];
then
11
echo
"Error when accesing ageing-partition!"
12
exit
1
13
elif
[
$ret
=
2
];
then
14
part
=/
dev
/
nor0.kernel0
15
else
16
part
=/
dev
/
nor0.kernel1
17
fi
18
19
.
/
env
/
bin
/
_update
$1