projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17521b
)
s5pc110: Check u-boot-onenand.bin size
author
Kyungmin Park
<kyungmin.park@samsung.com>
Fri, 4 Dec 2009 10:17:01 +0000
(19:17 +0900)
committer
Kyungmin Park
<kyungmin.park@samsung.com>
Fri, 4 Dec 2009 10:17:01 +0000
(19:17 +0900)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
a944a99
..
eab4ba4
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-39,6
+39,12
@@
check_users
build_uboot $*
+size=`ls -al u-boot-onenand.bin | awk -F' ' '{printf $5}'`
+if [ "$size" -eq "262144" ]; then
+ echo "u-boot-onenand.bin execced the 256KiB -> $size"
+ exit
+fi
+
if [ "$USER" = "kmpark" ]; then
cp -f u-boot.bin u-boot-onenand.bin /tftpboot
ls -al u-boot.bin u-boot-onenand.bin