mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
alarm/uboot-sunxi to 2017.01-2
This commit is contained in:
parent
064ffb9999
commit
62ceb441bf
2 changed files with 6 additions and 9 deletions
|
@ -18,7 +18,7 @@ pkgname=('uboot-a10-olinuxino-lime'
|
|||
'uboot-pcduino3'
|
||||
'uboot-pcduino3-nano')
|
||||
pkgver=2017.01
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('armv7h')
|
||||
url="http://git.denx.de/u-boot.git/"
|
||||
license=('GPL')
|
||||
|
@ -28,7 +28,7 @@ source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
|
|||
'boot.txt'
|
||||
'mkscr')
|
||||
md5sums=('ad2d82d5b4fa548b2b95bbc26c9bad79'
|
||||
'b05eae006e4e35176ee3032eba1c4663'
|
||||
'95f60c0ae1315e986d8a2aee15d5f854'
|
||||
'021623a04afd29ac3f368977140cfbfd')
|
||||
|
||||
boards=('A10-OLinuXino-Lime'
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
# After modifying, run ./mkscr
|
||||
|
||||
if test -n ${distro_bootpart}; then setenv bootpart ${distro_bootpart}; else setenv bootpart 1; fi
|
||||
part uuid ${devtype} ${devnum}:${bootpart} uuid
|
||||
|
||||
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
|
||||
|
||||
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
|
||||
|
@ -10,10 +14,3 @@ if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
|
|||
fi;
|
||||
fi;
|
||||
fi
|
||||
|
||||
if load ${devtype} ${devnum}:${bootpart} 0x48000000 /boot/uImage; then
|
||||
if load ${devtype} ${devnum}:${bootpart} 0x43000000 /boot/script.bin; then
|
||||
setenv bootm_boot_mode sec;
|
||||
bootm 0x48000000;
|
||||
fi;
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue