summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-23 16:58:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-23 16:58:38 +0200
commitec3d6f6fdd9b83579ba7cd37bab728f6f3e47d75 (patch)
tree6ba67c0678ab41017214b578eb5f5c7554ee3dd0 /scripts
parent2683e5775c118ed5ea455ac7258c048c10265f37 (diff)
fix bootup from sd
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-cubox.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-cubox.sh b/scripts/install-cubox.sh
index bd0075d24..7a10505b2 100755
--- a/scripts/install-cubox.sh
+++ b/scripts/install-cubox.sh
@@ -86,8 +86,8 @@ rootsizeend=$(($rootsize+1))
echo "Install bootloader for cubox-i"
parted -s $1 mklabel msdos
-dd if=${3}/SPL of=${1} bs=1K seek=1
-dd if=${3}/u-boot.img of=${1} bs=1K seek=42
+dd if=${3}/SPL of=${1} bs=1K seek=1 >/dev/null 2>&1
+dd if=${3}/u-boot.img of=${1} bs=1K seek=42 >/dev/null 2>&1
parted -a optimal -s $1 unit s mkpart primary ext2 -- 2048 $rootsize
parted -a optimal -s $1 unit s mkpart primary fat32 $rootsizeend $maxsize
sfdisk --change-id $1 2 88