From 5df7b79ff1e41dbf8ef491d1de25201d0a2e2525 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Fri, 2 Jan 2015 13:57:46 +0000 Subject: trim cubietruck example to a possible vm image --- examples/cubietruck-customise.sh | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'examples/cubietruck-customise.sh') diff --git a/examples/cubietruck-customise.sh b/examples/cubietruck-customise.sh index 1a66bf9..bef3bcc 100755 --- a/examples/cubietruck-customise.sh +++ b/examples/cubietruck-customise.sh @@ -3,22 +3,6 @@ set -e rootdir=$1 -image=$2 - -if [ -z "${image}" ]; then - echo "Image not specified" - exit -fi - -if [ ! -f '/usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin' ]; then - echo "Unable to find cubietruck u-boot file" - exit -fi - -# u-boot needs to be dd'd to the device, not a partition -# but kpartx does not setup the device, just the partitions - -dd if=/usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin of=${image} bs=1k seek=8 mkdir -p $rootdir/boot/dtbs cp $rootdir/usr/lib/linux-image-*-armmp/* $rootdir/boot/dtbs -- cgit v1.2.1