diff --git a/alarm/uboot-olinuxino/PKGBUILD b/alarm/uboot-olinuxino/PKGBUILD index 2c3b9a1c3..421d25789 100644 --- a/alarm/uboot-olinuxino/PKGBUILD +++ b/alarm/uboot-olinuxino/PKGBUILD @@ -1,3 +1,4 @@ +# Maintainer: Kevin Mihelich # Contributor: Kiril Zyapkov # U-Boot for i.MX233-OLinuXino @@ -7,7 +8,7 @@ buildarch=2 pkgname=uboot-olinuxino pkgdesc="U-Boot for i.MX233-OLinuXino" pkgver=2013.04 -pkgrel=1 +pkgrel=2 arch=('arm') license=('GPL') depends=('coreutils') @@ -15,22 +16,22 @@ makedepends=('git' 'elftosb') install=$pkgname.install options=('!strip') source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2" - 0001-imx-Move-some-header-files-from-arch-mxs-to-imx-comm.patch - 0002-mxs-mxsboot-Move-sdcard-BCB-header-to-4-sectors-offs.patch - 0003-mx23-Put-back-RAM-voltage-level-to-its-original-valu.patch - 0004-mx23-Fix-pad-voltage-selection-bit.patch - 0005-mx23_olinuxino-Fix-DDR-pin-iomux-settings.patch - 0006-mxs-spl_mem_init-Fix-comment-about-start-bit.patch - 0007-mxs-spl_mem_init-Remove-erroneous-DDR-setting.patch - 0008-mxs-spl_mem_init-Skip-the-initialization-of-some-DRA.patch - 0009-mxs-spl_mem_init-Change-EMI-port-priority.patch - 0010-mx23-Operate-DDR-voltage-supply-at-2.5V.patch - 0011-mx23_olinuxino-Do-not-set-voltage-selection-bit-for-.patch - 0012-mxs-Explain-why-some-mx23-DDR-registers-are-not-conf.patch - 0013-arm-mx23-Fix-VDDMEM-misconfiguration.patch - 0014-arm-mxs-Preprocess-u-boot.bd-so-they-contain-full-pa.patch - 0015-Add-generic-and-ext4-commands-adjust-boot-environmen.patch -) + '0001-imx-Move-some-header-files-from-arch-mxs-to-imx-comm.patch' + '0002-mxs-mxsboot-Move-sdcard-BCB-header-to-4-sectors-offs.patch' + '0003-mx23-Put-back-RAM-voltage-level-to-its-original-valu.patch' + '0004-mx23-Fix-pad-voltage-selection-bit.patch' + '0005-mx23_olinuxino-Fix-DDR-pin-iomux-settings.patch' + '0006-mxs-spl_mem_init-Fix-comment-about-start-bit.patch' + '0007-mxs-spl_mem_init-Remove-erroneous-DDR-setting.patch' + '0008-mxs-spl_mem_init-Skip-the-initialization-of-some-DRA.patch' + '0009-mxs-spl_mem_init-Change-EMI-port-priority.patch' + '0010-mx23-Operate-DDR-voltage-supply-at-2.5V.patch' + '0011-mx23_olinuxino-Do-not-set-voltage-selection-bit-for-.patch' + '0012-mxs-Explain-why-some-mx23-DDR-registers-are-not-conf.patch' + '0013-arm-mx23-Fix-VDDMEM-misconfiguration.patch' + '0014-arm-mxs-Preprocess-u-boot.bd-so-they-contain-full-pa.patch' + '0015-Add-generic-and-ext4-commands-adjust-boot-environmen.patch' + '0016-mx23_olinuxino-Add-bootz-command.patch') md5sums=('21bf962d69938ed4ed783b792b2b074e' '93746f9682fb56a3cbbbcc9e6389bc8a' '29412096225ca8eed21f205d0a9dfe14' @@ -46,9 +47,10 @@ md5sums=('21bf962d69938ed4ed783b792b2b074e' '38df690f2b10dda11b771a4753434fe5' '5df3f02303f158bd0bf449c2e2ae86fc' 'a5995f5be9ca0f5956ebc4d95559da21' - 'cb1d955bb42c58d0ef683f7e74178095') + 'cb1d955bb42c58d0ef683f7e74178095' + 'ae8def5b8d1916f71ba632934cf83c26') -build() { +prepare() { cd "$srcdir/u-boot-${pkgver}" patch -Np1 -i $srcdir/0001-imx-Move-some-header-files-from-arch-mxs-to-imx-comm.patch @@ -66,6 +68,11 @@ build() { patch -Np1 -i $srcdir/0013-arm-mx23-Fix-VDDMEM-misconfiguration.patch patch -Np1 -i $srcdir/0014-arm-mxs-Preprocess-u-boot.bd-so-they-contain-full-pa.patch patch -Np1 -i $srcdir/0015-Add-generic-and-ext4-commands-adjust-boot-environmen.patch + patch -Np1 -i $srcdir/0016-mx23_olinuxino-Add-bootz-command.patch +} + +build() { + cd "$srcdir/u-boot-${pkgver}" make mx23_olinuxino_config make u-boot.sb