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
/
arm
/
boards
/
edb93xx
/
env
/
bin
/
update_kernel
blob
3e4b9b0b8e25211abc3307320a58768c3e137fe8
1
#!/bin/sh
2
3
.
/
env
/
config
4
5
if
[
$#
!=
1
];
6
then
7
echo
"Usage:
$0
<1/2>"
8
exit
1
9
fi
10
11
partition
=/
dev
/
nor0.kernel_
$1
12
13
cd
/
14
tftp
${board}
/
kernel.img ||
exit
1
15
16
flash_partition kernel.img
${partition}