alarm/uboot-cubox-i to 2013.10

This commit is contained in:
Dave Higham 2014-09-11 15:12:47 +01:00
parent efd08cfa8b
commit 36e12c2985
2 changed files with 4 additions and 4 deletions

View file

@ -5,8 +5,8 @@ buildarch=4
pkgbase=uboot-cubox-i
pkgname=('uboot-cubox-i')
pkgver=2013.04
pkgrel=2
pkgver=2013.10
pkgrel=1
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')

View file

@ -3,12 +3,12 @@ flash_uboot() {
echo "Do you want to do this now? [y|N]"
read -r shouldwe
if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
dd if=/boot/SPL of=/dev/mmcblk0 bs=512 seek=2
dd if=/boot/SPL of=/dev/mmcblk0 bs=1K seek=1
dd if=/boot/u-boot.img of=/dev/mmcblk0 bs=1K seek=42
sync
else
echo "You can do this later by running:"
echo "# dd if=/boot/SPL of=/dev/mmcblk0 bs=512 seek=2"
echo "# dd if=/boot/SPL of=/dev/mmcblk0 bs=1K seek=1"
echo "# dd dd if=/boot/u-boot.img of=/dev/mmcblk0 bs=1K seek=42"
fi
}