All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Gutierrez <kuyurix@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problem with starting TI Graphics
Date: Thu, 13 Feb 2014 19:35:47 -0200	[thread overview]
Message-ID: <CA+kK6WuqEOYcgypxbDJ8Hs5Jy3JXpuGaQPb9Qgp0+nsjDz1k5g@mail.gmail.com> (raw)
In-Reply-To: <trinity-96c3bbe4-4de2-4d94-a868-2ca9c13f130e-1392279117507@3capp-gmx-bs38>

Hi Peter, all

Can you apply this patch and see if it fixes the problem?

http://patchwork.ozlabs.org/patch/320194/raw/

Regards,
Marcelo


2014-02-13 5:11 GMT-03:00 Peter Kuemmel <syntheticpp@gmx.net>:

> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140213/1f44b342/attachment.html>

  reply	other threads:[~2014-02-13 21:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13  8:11 [Buildroot] Problem with starting TI Graphics Peter Kuemmel
2014-02-13 21:35 ` Marcelo Gutierrez [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+kK6WuqEOYcgypxbDJ8Hs5Jy3JXpuGaQPb9Qgp0+nsjDz1k5g@mail.gmail.com \
    --to=kuyurix@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.