* [Buildroot] gpu-viv-bin-mx6q
@ 2013-05-09 17:52 Richard Cagley
2013-05-09 19:03 ` H.Fijnvandraat at inter.nl.net
0 siblings, 1 reply; 4+ messages in thread
From: Richard Cagley @ 2013-05-09 17:52 UTC (permalink / raw)
To: buildroot
Is there a way to integrate the gpu-viv-bin-mx6q package in buildroot?
I can only extract these binaries over the root filesystem. But, they
seem to be built with a compiler that I can't seem to find. I did try
the one included with ltib with no luck.
The binaries themselves I can only find here.
http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/
I posted over at the freescale community site, but no responses.
https://community.freescale.com/thread/307122
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] gpu-viv-bin-mx6q
2013-05-09 17:52 [Buildroot] gpu-viv-bin-mx6q Richard Cagley
@ 2013-05-09 19:03 ` H.Fijnvandraat at inter.nl.net
2013-05-09 19:18 ` Richard Cagley
2013-05-09 21:51 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: H.Fijnvandraat at inter.nl.net @ 2013-05-09 19:03 UTC (permalink / raw)
To: buildroot
Op Do, 9 mei, 2013 7:52 pm schreef Richard Cagley:
> Is there a way to integrate the gpu-viv-bin-mx6q package in buildroot?
>
Unfortunately: Not as source
This software for the on-chip Vivante GPU is closed source....
I am working on incorporating them as libraries into buildroot at the moment.
>
> I can only extract these binaries over the root filesystem. But, they
> seem to be built with a compiler that I can't seem to find. I did try the
> one included with ltib with no luck.
>
It requires a compiler with both -mfloat-abi=softfp and -mfpu=neon options
available. The first seems to indicate the way fpu parameters are
transferred, the second indicates the underlying fpu hardware.
(a toolchain with hf in it's name will probably not work)
Furthermore glib-2.13 was used to generate these libraries and you need
the freescale patched 3.0.35-1.1.0 kernel sources.
(and the real catch is that these sources build the graphics accelerator
code as module, so you have to modprobe galcore.ko after bootup to make
anything work at all)(which reminds me to to create a Sxxscript in
/etc/init.d for install-target somehow)
Until very recent, i used the crosstool-ng external toolchain from within
buildroot to generate a good compiler,
but that has been removed very recently :-((, without an immediate
replacement
(and I got Qt5 5.0.1 working with that setup, if that's what you're aiming
for...)
> The binaries themselves I can only find here.
> http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/
>
http://download.ossystems.com.br/bsp/freescale/source
is another
Hope this helps at least a bit in the right direction,
Henk
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] gpu-viv-bin-mx6q
2013-05-09 19:03 ` H.Fijnvandraat at inter.nl.net
@ 2013-05-09 19:18 ` Richard Cagley
2013-05-09 21:51 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Richard Cagley @ 2013-05-09 19:18 UTC (permalink / raw)
To: buildroot
I'm looking to use the libOpenCL.so library. I'm using the nitrogen6x
config shipped with the latest stable version of buildroot so I have
compatible kernel/uboot with headers (things like gst-fsl-plugins build
just fine).
Despite loading galcore things like ./clinfo just don't do much. I mean
I can't be sure it's a compiler incompatibility, but strace turns up
nothing. Clinfo finds the opencl library just fine.
I guess I'm just looking to see if there is anyone I can talk to about
including gpu-viv-bin-mx6q into the buildroot as a standard package.
> -----Original Message-----
> From: H.Fijnvandraat at inter.nl.net [mailto:H.Fijnvandraat at inter.nl.net]
> Sent: Thursday, May 09, 2013 12:04 PM
> To: Richard Cagley
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] gpu-viv-bin-mx6q
>
> Op Do, 9 mei, 2013 7:52 pm schreef Richard Cagley:
> > Is there a way to integrate the gpu-viv-bin-mx6q package in
buildroot?
> >
> Unfortunately: Not as source
> This software for the on-chip Vivante GPU is closed source....
> I am working on incorporating them as libraries into buildroot at the
moment.
> >
> > I can only extract these binaries over the root filesystem. But,
they
> > seem to be built with a compiler that I can't seem to find. I did
try
> > the one included with ltib with no luck.
> >
> It requires a compiler with both -mfloat-abi=softfp and -mfpu=neon
options
> available. The first seems to indicate the way fpu parameters are
transferred,
> the second indicates the underlying fpu hardware.
> (a toolchain with hf in it's name will probably not work)
>
> Furthermore glib-2.13 was used to generate these libraries and you
need the
> freescale patched 3.0.35-1.1.0 kernel sources.
> (and the real catch is that these sources build the graphics
accelerator code
> as module, so you have to modprobe galcore.ko after bootup to make
> anything work at all)(which reminds me to to create a Sxxscript in
/etc/init.d
> for install-target somehow)
>
> Until very recent, i used the crosstool-ng external toolchain from
within
> buildroot to generate a good compiler, but that has been removed very
> recently :-((, without an immediate replacement
>
> (and I got Qt5 5.0.1 working with that setup, if that's what you're
aiming
> for...)
>
> > The binaries themselves I can only find here.
> > http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/
> >
> http://download.ossystems.com.br/bsp/freescale/source
> is another
>
> Hope this helps at least a bit in the right direction,
>
> Henk
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] gpu-viv-bin-mx6q
2013-05-09 19:03 ` H.Fijnvandraat at inter.nl.net
2013-05-09 19:18 ` Richard Cagley
@ 2013-05-09 21:51 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-05-09 21:51 UTC (permalink / raw)
To: buildroot
Henk,
On Thu, 9 May 2013 21:03:30 +0200 (CEST), H.Fijnvandraat at inter.nl.net
wrote:
> Until very recent, i used the crosstool-ng external toolchain from within
> buildroot to generate a good compiler,
> but that has been removed very recently :-((, without an immediate
> replacement
You might be making some confusions here regarding the Crosstool-NG
support. What has been marked deprecated (and not removed!) is the
integration of Crosstool-NG with Buildroot, what we call the
"Crosstool-NG backend". This backend allows Buildroot to automatically
call Crosstool-NG to get a toolchain compiled.
The deprecation (and possible future removal) of this backend is
completely unrelated to the external toolchain backend, which will
remain in place, and will continue to allow the usage of Crosstool-NG
toolchains that have been built outside of Buildroot.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-09 21:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 17:52 [Buildroot] gpu-viv-bin-mx6q Richard Cagley
2013-05-09 19:03 ` H.Fijnvandraat at inter.nl.net
2013-05-09 19:18 ` Richard Cagley
2013-05-09 21:51 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox