mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
alarm/uboot-cubox-i to 2013.10
This commit is contained in:
parent
efd08cfa8b
commit
36e12c2985
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue