diff options
author | Neil Williams <codehelp@debian.org> | 2014-12-30 21:34:05 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-01-04 14:34:15 +0000 |
commit | acfffcd24d9a51f16a3e35e9a0554c8ef780a2c6 (patch) | |
tree | 8a77d9f97a0c0e3a1b21d791630644bdc7ac181f /examples/wandboard-customise.sh | |
parent | 1f3bab3a66538d5cf3ca13ed76bcf015955302b3 (diff) | |
download | vmdebootstrap-acfffcd24d9a51f16a3e35e9a0554c8ef780a2c6.tar.gz |
Improve wandboard support
Diffstat (limited to 'examples/wandboard-customise.sh')
-rwxr-xr-x[-rw-r--r--] | examples/wandboard-customise.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/wandboard-customise.sh b/examples/wandboard-customise.sh index f16cff0..070637a 100644..100755 --- a/examples/wandboard-customise.sh +++ b/examples/wandboard-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/wandboard_quad/u-boot.imx' ]; then - echo "Unable to find wandboard 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/wandboard_quad/u-boot.imx of=${image} seek=1 conv=fsync bs=1k mkdir -p $rootdir/boot/dtbs cp $rootdir/usr/lib/linux-image-*-armmp/* $rootdir/boot/dtbs |