X-Git-Url: https://git.siccegge.de//index.cgi?p=forks%2Fvmdebootstrap.git;a=blobdiff_plain;f=examples%2Fwandboard-customise.sh;h=070637a045ec5025b1e12858c5de9b711c7c687e;hp=f16cff0d48aac5738645f58d5506ff06658bbd32;hb=acfffcd24d9a51f16a3e35e9a0554c8ef780a2c6;hpb=1f3bab3a66538d5cf3ca13ed76bcf015955302b3 diff --git a/examples/wandboard-customise.sh b/examples/wandboard-customise.sh old mode 100644 new mode 100755 index f16cff0..070637a --- 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