From 453fbcec4ab1770daab88e0217b12dcfaa6a765b Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Mon, 25 Aug 2014 19:42:52 -0700 Subject: Add examples to go into /usr/share to make it easier to create pre-defined images. --- examples/cubietruck-customise.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 examples/cubietruck-customise.sh (limited to 'examples/cubietruck-customise.sh') diff --git a/examples/cubietruck-customise.sh b/examples/cubietruck-customise.sh new file mode 100755 index 0000000..74a0d5b --- /dev/null +++ b/examples/cubietruck-customise.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +rootdir=$1 + +# u-boot needs to be dd'd to the partition +#cp /usr/lib/u-boot/Cubietruck/uboot.elf /boot/ +#cp /usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin /boot/ + +mkdir -p $rootdir/boot/dtbs +cp $rootdir/usr/lib/linux-image-*-armmp/* $rootdir/boot/dtbs -- cgit v1.2.1