odroid-u2-uboot: use v2010.12 for odroid u3

This commit is contained in:
Gottox 2014-01-28 14:33:17 +01:00
parent 18e0f114cc
commit c83319b111
2 changed files with 8 additions and 13 deletions

View file

@ -1,5 +1,5 @@
diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk
index 560c084..03a1fb9 100644 index 7f9b171..788caaa 100644
--- a/arch/arm/cpu/armv7/config.mk --- a/arch/arm/cpu/armv7/config.mk
+++ b/arch/arm/cpu/armv7/config.mk +++ b/arch/arm/cpu/armv7/config.mk
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
@ -9,5 +9,5 @@ index 560c084..03a1fb9 100644
-PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float -PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
+PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -mfloat-abi=hard -mfpu=vfpv3 +PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -mfloat-abi=hard -mfpu=vfpv3
# If armv7-a is not supported by GCC fall-back to armv5, which is # Make ARMv5 to allow more compilers to work, even though its v7a.
# supported by more tool-chains PLATFORM_CPPFLAGS += -march=armv7-a

View file

@ -1,7 +1,7 @@
# Template file for 'odroid-u2-uboot' # Template file for 'odroid-u2-uboot'
_githash=50140a35514f845a574bb21a8db04076c505bb42 _githash=89f2ab95e7304fe02e5267f1282fbc178550d528
pkgname=odroid-u2-uboot pkgname=odroid-u2-uboot
version=v2012.07 version=v2010.12
revision=1 revision=1
wrksrc="u-boot-${_githash}" wrksrc="u-boot-${_githash}"
hostmakedepends="uboot-mkimage" hostmakedepends="uboot-mkimage"
@ -9,10 +9,8 @@ short_desc="Odroid U2 U-Boot files for SD booting"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
license="GPL-2" license="GPL-2"
homepage="https://github.com/hardkernel/u-boot" homepage="https://github.com/hardkernel/u-boot"
distfiles="https://github.com/hardkernel/u-boot/archive/${_githash}.tar.gz distfiles="https://github.com/hardkernel/u-boot/archive/${_githash}.tar.gz"
http://dev.odroid.com/projects/4412boot/wiki/FrontPage?action=download&value=boot.tar.gz" checksum="29593e636a0d908230910522aab74c09a35b92fee71b165d088f561e85ba3e1d"
checksum="6478856a6c694f0718fe45dc4c1dc01d5cd1cfaca417ce047fc0619ccb0c0332
e0db737d9e49f937425e4778b0ab892623bcc389d7c26329ba2e97ae7bb475c4"
create_srcdir=yes create_srcdir=yes
only_for_archs="armv7l" only_for_archs="armv7l"
@ -20,7 +18,7 @@ only_for_archs="armv7l"
_default_scr="boot-auto_edid.scr" _default_scr="boot-auto_edid.scr"
do_configure() { do_configure() {
patch -p1 < ${FILESDIR}/smc.patch make mrproper
patch -p1 < ${FILESDIR}/config.patch patch -p1 < ${FILESDIR}/config.patch
make smdk4412_config make smdk4412_config
} }
@ -44,9 +42,6 @@ do_build() {
} }
do_install() { do_install() {
vinstall ${XBPS_BUILDDIR}/boot/E4412_S.bl1.HardKernel.bin 600 boot
vinstall ${XBPS_BUILDDIR}/boot/bl2.signed.bin 600 boot
vinstall ${XBPS_BUILDDIR}/boot/E4412_S.tzsw.signed.bin 600 boot
vinstall u-boot.bin 600 boot vinstall u-boot.bin 600 boot
# Install uboot scr's # Install uboot scr's