All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem with starting TI Graphics
@ 2014-02-13  8:11 Peter Kuemmel
  2014-02-13 21:35 ` Marcelo Gutierrez
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Kuemmel @ 2014-02-13  8:11 UTC (permalink / raw)
  To: buildroot

Hi, 
I have problems with the package ti-gfx.

Setup uses a buildroot compiler with eabihf enabled.
All goes fine until TI's pvrsrvctl gets called:

#pvrsrvctl
/usr/bin/pvrsrvctl: line 1: syntax error: unexpected word (expecting ")")

# strace pvrsrvctl
execve("/usr/bin/pvrsrvctl", ["pvrsrvctl"], [/* 16 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
exit_group(1)                           = ?
+++ exited with 1 +++

But no problems with the modules
# lsmod
Module                  Size  Used by    Not tainted
bufferclass_ti          4734  0
omaplfb                10298  0
pvrsrvkm              157244  2 bufferclass_ti,omaplfb


First I thought it is ABI-problem so I configured the system until they match,
see below, but this didn't help.

Could it be a mis-match in the eglibc version?

# LD_TRACE_LOADED_OBJECTS=1 /usr/bin/pvrsrvctl
        libc.so.6 => /lib/libc.so.6 (0x401dc000)
        /lib/ld-linux-armhf.so.3 (0x40094000)

Many thanks for any hints!

Peter


$ readelf -A /share/rootfs/usr/lib/pvr_drv.so
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_Advanced_SIMD_arch: NEONv1
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_HardFP_use: SP and DP
  Tag_ABI_VFP_args: VFP registers
  Tag_ABI_optimization_goals: Aggressive Speed
  Tag_CPU_unaligned_access: v6
  Tag_DIV_use: Not allowed

 $ readelf -A /share/rootfs/usr/bin/pvrsrvctl 
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_Advanced_SIMD_arch: NEONv1
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_HardFP_use: SP and DP
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6
  Tag_DIV_use: Not allowed

Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "7-A"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_rounding: Needed
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_HardFP_use: SP and DP
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6
  Tag_Virtualization_use: TrustZone

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-06 17:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13  8:11 [Buildroot] Problem with starting TI Graphics Peter Kuemmel
2014-02-13 21:35 ` Marcelo Gutierrez
2014-02-14 10:24   ` Peter Kuemmel
2014-03-04 19:09     ` Thomas Petazzoni
2014-03-05 21:09       ` Arnout Vandecappelle
2014-03-06 12:47         ` Peter Kümmel
2014-03-06 17:47           ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.