Skip to contentSkip to conversation

ti-gfx: bump to version 5_01_01_01

PATCH Superseded Hadrien Boutteville 3 participants 3 messages Jun 3, 2014 – Jun 8, 2014

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-gfx: bump to version 5_01_01_01

Note that SDK 5_01_01_01 only support EABIhf.

---
 package/ti-gfx/Config.in | 7 ++++---
 package/ti-gfx/ti-gfx.mk | 8 +-------
 2 files changed, 5 insertions(+), 10 deletions(-)
package/ti-gfx/Config.in +4 -3
index 4ee8622..bd6189e 100644
@@ -4,7 +4,8 @@ config BR2_PACKAGE_TI_GFX
 	select BR2_PACKAGE_HAS_LIBGLES
 	select BR2_PACKAGE_HAS_POWERVR
 	select BR2_PACKAGE_FBSET if !BR2_PACKAGE_BUSYBOX # Runtime dependency only
-	depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
+	depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm && \
+		BR2_ARM_EABIHF
 	help
 	  Graphics libraries for TI boards.
 
@@ -70,6 +71,6 @@ endchoice
 
 endif
 
-comment "ti-gfx needs an (e)glibc toolchain and a Linux kernel to be built"
+comment "ti-gfx needs an (e)glibc and EABIhf toolchain and a Linux kernel to be built"
 	depends on BR2_arm
-	depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)
+	depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_ARM_EABIHF)
package/ti-gfx/ti-gfx.mk +1 -7
index 324e19c..8235917 100644
@@ -4,15 +4,9 @@
 #
 ################################################################################
 
-TI_GFX_VERSION = 5_01_00_01
+TI_GFX_VERSION = 5_01_01_01
 TI_GFX_SO_VERSION = 1.10.2359475
-
-ifeq ($(BR2_ARM_EABIHF),y)
 TI_GFX_SOURCE = Graphics_SDK_setuplinux_hardfp_$(TI_GFX_VERSION).bin
-else
-TI_GFX_SOURCE = Graphics_SDK_setuplinux_softfp_$(TI_GFX_VERSION).bin
-endif
-
 TI_GFX_SITE = http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/$(TI_GFX_VERSION)/exports/
 TI_GFX_LICENSE = Technology / Software Publicly Available
 TI_GFX_LICENSE_FILES = TSPA.txt
Signature · 1 line
2.0.0
#1 lore raw

PATCH 1/1 ti-gfx: bump to version 5_01_01_01

Hadrien, All,

On 2014-06-03 18:14 +0200, Hadrien Boutteville spake thusly:

Quoted 1 line

Note that SDK 5_01_01_01 only support EABIhf.

Then maybe we should fallback to the 5.01.00.01 version for non-EABIhf builds?

If we want to still support that, of course, but I guess we should. There are still binary-only, legacy code that is using the softfp ABI, so I suggest we should stick to supporting it for a while.

Regards,
Yann E. MORIN.

Quoted 57 lines
---
 package/ti-gfx/Config.in | 7 ++++---
 package/ti-gfx/ti-gfx.mk | 8 +-------
 2 files changed, 5 insertions(+), 10 deletions(-)
package/ti-gfx/Config.in +4 -3
index 4ee8622..bd6189e 100644
@@ -4,7 +4,8 @@ config BR2_PACKAGE_TI_GFX
 	select BR2_PACKAGE_HAS_LIBGLES
 	select BR2_PACKAGE_HAS_POWERVR
 	select BR2_PACKAGE_FBSET if !BR2_PACKAGE_BUSYBOX # Runtime dependency only
-	depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
+	depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm && \
+		BR2_ARM_EABIHF
 	help
 	  Graphics libraries for TI boards.
 
@@ -70,6 +71,6 @@ endchoice
 
 endif
 
-comment "ti-gfx needs an (e)glibc toolchain and a Linux kernel to be built"
+comment "ti-gfx needs an (e)glibc and EABIhf toolchain and a Linux kernel to be built"
 	depends on BR2_arm
-	depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)
+	depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_ARM_EABIHF)
package/ti-gfx/ti-gfx.mk +1 -7
index 324e19c..8235917 100644
@@ -4,15 +4,9 @@
 #
 ################################################################################
 
-TI_GFX_VERSION = 5_01_00_01
+TI_GFX_VERSION = 5_01_01_01
 TI_GFX_SO_VERSION = 1.10.2359475
-
-ifeq ($(BR2_ARM_EABIHF),y)
 TI_GFX_SOURCE = Graphics_SDK_setuplinux_hardfp_$(TI_GFX_VERSION).bin
-else
-TI_GFX_SOURCE = Graphics_SDK_setuplinux_softfp_$(TI_GFX_VERSION).bin
-endif
-
 TI_GFX_SITE = http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/$(TI_GFX_VERSION)/exports/
 TI_GFX_LICENSE = Technology / Software Publicly Available
 TI_GFX_LICENSE_FILES = TSPA.txt
Signature · 6 lines
2.0.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 ti-gfx: bump to version 5_01_01_01

In reply to Hadrien Boutteville

Dear Hadrien Boutteville,

Quoted 7 lines · Hadrien Boutteville

Note that SDK 5_01_01_01 only support EABIhf.

---
 package/ti-gfx/Config.in | 7 ++++---
 package/ti-gfx/ti-gfx.mk | 8 +-------
 2 files changed, 5 insertions(+), 10 deletions(-)

Can you fix according to Yann's comments?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com