From: Kyungmin Park Date: Fri, 4 Dec 2009 10:17:01 +0000 (+0900) Subject: s5pc110: Check u-boot-onenand.bin size X-Git-Tag: CES1223_2~69^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c01bc37628c598e337f1c41c6e7f4ea1628ee647;p=kernel%2Fu-boot.git s5pc110: Check u-boot-onenand.bin size Signed-off-by: Kyungmin Park --- diff --git a/build.sh b/build.sh index a944a99..eab4ba4 100755 --- 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