All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
@ 2014-02-27  8:22 Massimiliano Marretta
  2014-02-27 20:16 ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Massimiliano Marretta @ 2014-02-27  8:22 UTC (permalink / raw)
  To: buildroot

Dear,

I have some problem to obtain a buildroot with Qt5 and gpu-viv-bin-mx6q.
Where is the correct combination of toolchain and floating point strategy ?

I try some combination of toolchains with the last stable version of
buildroot (2013.11).

- If I use the last codebanch toolchain the gpu-viv-bin-mx6q examples and
the Qt5 qmlscene crash with segmentation fault.
- If I use the last buildroot linaro toolchain 4.8-2013.09, the system not
start because the kernel is to old ( 3.0.35 ).
- If I use the toolchain linaro-4.7-2013.01 the Qt5 qmlscene exit without
message and gpu-viv-bin-mx6q examples not start with the message program
not found.

Best Regards,
Massimiliano Marretta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140227/291fdf61/attachment.html>

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
  2014-02-27  8:22 [Buildroot] Qt5 and gpu-viv-bin-mx6q problem Massimiliano Marretta
@ 2014-02-27 20:16 ` Arnout Vandecappelle
  2014-02-27 20:42   ` Eric Nelson
  0 siblings, 1 reply; 8+ messages in thread
From: Arnout Vandecappelle @ 2014-02-27 20:16 UTC (permalink / raw)
  To: buildroot

On 02/27/14 09:22, Massimiliano Marretta wrote:
> Dear,
> 
> I have some problem to obtain a buildroot with Qt5 and gpu-viv-bin-mx6q.
> Where is the correct combination of toolchain and floating point strategy ?
> 
> I try some combination of toolchains with the last stable version of
> buildroot (2013.11).
> 
> - If I use the last codebanch toolchain the gpu-viv-bin-mx6q examples and
> the Qt5 qmlscene crash with segmentation fault.

 That's the combination I used successfully in the past:

BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109=y
BR2_PACKAGE_GPU_VIV_BIN_MX6Q=y
BR2_PACKAGE_QT5BASE_LINUXFB=y
BR2_PACKAGE_QT5BASE_DIRECTFB=y

 This was with an old buildroot however (2012.08 with a lot of additional
patches).

> - If I use the last buildroot linaro toolchain 4.8-2013.09, the system
> not start because the kernel is to old ( 3.0.35 ).
> - If I use the toolchain linaro-4.7-2013.01 the Qt5 qmlscene exit without
> message and gpu-viv-bin-mx6q examples not start with the message program
> not found.

 I think that gpu-viv-bin-mx6q are softfp libraries, so they won't work
with Linaro (hardfp) toolchains. I'm surprised that qt5 builds at all in
that case...


 Regards,
 Arnout

> 
> Best Regards,
> Massimiliano Marretta      
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
  2014-02-27 20:16 ` Arnout Vandecappelle
@ 2014-02-27 20:42   ` Eric Nelson
  2014-02-27 20:43     ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Nelson @ 2014-02-27 20:42 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

On 02/27/2014 01:16 PM, Arnout Vandecappelle wrote:
> On 02/27/14 09:22, Massimiliano Marretta wrote:
>> Dear,
>>
>> <snip>
 >>
>> - If I use the last buildroot linaro toolchain 4.8-2013.09, the system
>> not start because the kernel is to old ( 3.0.35 ).
>> - If I use the toolchain linaro-4.7-2013.01 the Qt5 qmlscene exit without
>> message and gpu-viv-bin-mx6q examples not start with the message program
>> not found.
>
>   I think that gpu-viv-bin-mx6q are softfp libraries, so they won't work
> with Linaro (hardfp) toolchains. I'm surprised that qt5 builds at all in
> that case...
>
The latest patches (on -next) allow for either hardfp or softfp:

	http://git.buildroot.net/buildroot/commit/package/freescale-imx/gpu-viv-bin-mx6q?h=next&id=b0b72591d74c1a84b8c1b2e1990a2fe1dfe8c4ab

Regards,


Eric

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
  2014-02-27 20:42   ` Eric Nelson
@ 2014-02-27 20:43     ` Arnout Vandecappelle
  2014-02-27 23:50       ` Eric Nelson
  0 siblings, 1 reply; 8+ messages in thread
From: Arnout Vandecappelle @ 2014-02-27 20:43 UTC (permalink / raw)
  To: buildroot

On 02/27/14 21:42, Eric Nelson wrote:
> Hi Arnout,
> 
> On 02/27/2014 01:16 PM, Arnout Vandecappelle wrote:
>> On 02/27/14 09:22, Massimiliano Marretta wrote:
>>> Dear,
>>>
>>> <snip>
>>>
>>> - If I use the last buildroot linaro toolchain 4.8-2013.09, the system
>>> not start because the kernel is to old ( 3.0.35 ).
>>> - If I use the toolchain linaro-4.7-2013.01 the Qt5 qmlscene exit without
>>> message and gpu-viv-bin-mx6q examples not start with the message program
>>> not found.
>>
>>   I think that gpu-viv-bin-mx6q are softfp libraries, so they won't work
>> with Linaro (hardfp) toolchains. I'm surprised that qt5 builds at all in
>> that case...
>>
> The latest patches (on -next) allow for either hardfp or softfp:
> 
>     http://git.buildroot.net/buildroot/commit/package/freescale-imx/gpu-viv-bin-mx6q?h=next&id=b0b72591d74c1a84b8c1b2e1990a2fe1dfe8c4ab

 Yes, but the OP mentioned that he uses 2013.11 in the text you snipped.

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
  2014-02-27 20:43     ` Arnout Vandecappelle
@ 2014-02-27 23:50       ` Eric Nelson
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Nelson @ 2014-02-27 23:50 UTC (permalink / raw)
  To: buildroot

On 02/27/2014 01:43 PM, Arnout Vandecappelle wrote:
> On 02/27/14 21:42, Eric Nelson wrote:
>> Hi Arnout,
>>
>> On 02/27/2014 01:16 PM, Arnout Vandecappelle wrote:
>>> On 02/27/14 09:22, Massimiliano Marretta wrote:
>>>> Dear,
>>>>
>>>> <snip>
>>>>
>>>> - If I use the last buildroot linaro toolchain 4.8-2013.09, the system
>>>> not start because the kernel is to old ( 3.0.35 ).
>>>> - If I use the toolchain linaro-4.7-2013.01 the Qt5 qmlscene exit without
>>>> message and gpu-viv-bin-mx6q examples not start with the message program
>>>> not found.
>>>
>>>    I think that gpu-viv-bin-mx6q are softfp libraries, so they won't work
>>> with Linaro (hardfp) toolchains. I'm surprised that qt5 builds at all in
>>> that case...
>>>
>> The latest patches (on -next) allow for either hardfp or softfp:
>>
>>      http://git.buildroot.net/buildroot/commit/package/freescale-imx/gpu-viv-bin-mx6q?h=next&id=b0b72591d74c1a84b8c1b2e1990a2fe1dfe8c4ab
>
>   Yes, but the OP mentioned that he uses 2013.11 in the text you snipped.
>

Oops.

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
@ 2014-02-28  9:12 Massimiliano Marretta
  0 siblings, 0 replies; 8+ messages in thread
From: Massimiliano Marretta @ 2014-02-28  9:12 UTC (permalink / raw)
  To: buildroot

Dear Eric,

many thanks for the suggestions.

I use the wandboard kernel version 3.0.35_4.1.0.
I have apply your patch in my buildroot version and now with the linaro hf
toolchain the gpu-viv-bin-mx6q examples work correctly.
Unfortunately qmlscene exit without any message (both console and fb). Qt5
work only with sf ?

Why the patch is not present in the last buildroot version 14.02 ?

Regards,
Massimiliano.


2014-02-28 1:11 GMT+01:00 Eric Nelson <eric.nelson@boundarydevices.com>:

> Hi Massimiliano,
>
> On 02/27/2014 02:40 PM, Massimiliano Marretta wrote:
>
>> Can I use the gpu-viv-bin-mx6q-3.5.7-1.0.0-hfp.bin with the kernel
>> version 3.0.35  ?
>>
>>
> Unfortunately, saying "3.0.35" isn't specific enough. The first
> few releases (what Freescale referred to as 1.0.0, 1.1.0, and 4.0.0)
> won't support the badly-named 3.5.7-1.0.0 GPU binaries.
>
> For that, you need the updates that came with the 3.0.35_4.1.0
> release.
>
> Clear, huh?
>
> If you have a commit id in your source tree for the last Freescale
> update we (or you) can likely pin-point it with "git branch --contains".
>
> If you started with one of the older branches, it's likely that
> your patches will forward-port pretty easily. None of the 3.0.35
> releases from Freescale had any major re-structuring.
>
> Regards,
>
>
> Eric
>



-- 
Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
 *mailto:max at marretta.com* <max@marretta.com>
*web:www.marretta.com* <http://www.marretta.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140228/da5c0bbd/attachment.html>

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
  2014-02-27 21:40 Massimiliano Marretta
@ 2014-02-28  0:11 ` Eric Nelson
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Nelson @ 2014-02-28  0:11 UTC (permalink / raw)
  To: buildroot

Hi Massimiliano,

On 02/27/2014 02:40 PM, Massimiliano Marretta wrote:
> Can I use the gpu-viv-bin-mx6q-3.5.7-1.0.0-hfp.bin with the kernel
> version 3.0.35  ?
>

Unfortunately, saying "3.0.35" isn't specific enough. The first
few releases (what Freescale referred to as 1.0.0, 1.1.0, and 4.0.0)
won't support the badly-named 3.5.7-1.0.0 GPU binaries.

For that, you need the updates that came with the 3.0.35_4.1.0
release.

Clear, huh?

If you have a commit id in your source tree for the last Freescale
update we (or you) can likely pin-point it with "git branch --contains".

If you started with one of the older branches, it's likely that
your patches will forward-port pretty easily. None of the 3.0.35
releases from Freescale had any major re-structuring.

Regards,


Eric

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

* [Buildroot] Qt5 and gpu-viv-bin-mx6q problem
@ 2014-02-27 21:40 Massimiliano Marretta
  2014-02-28  0:11 ` Eric Nelson
  0 siblings, 1 reply; 8+ messages in thread
From: Massimiliano Marretta @ 2014-02-27 21:40 UTC (permalink / raw)
  To: buildroot

Can I use the gpu-viv-bin-mx6q-3.5.7-1.0.0-hfp.bin with the kernel version
3.0.35  ?


2014-02-27 21:42 GMT+01:00 Eric Nelson <eric.nelson@boundarydevices.com>:

> Hi Arnout,
>
> On 02/27/2014 01:16 PM, Arnout Vandecappelle wrote:
>
>> On 02/27/14 09:22, Massimiliano Marretta wrote:
>>
>>> Dear,
>>>
>>> <snip>
>>>
>> >>
>
>> - If I use the last buildroot linaro toolchain 4.8-2013.09, the system
>>> not start because the kernel is to old ( 3.0.35 ).
>>> - If I use the toolchain linaro-4.7-2013.01 the Qt5 qmlscene exit without
>>> message and gpu-viv-bin-mx6q examples not start with the message program
>>> not found.
>>>
>>
>>   I think that gpu-viv-bin-mx6q are softfp libraries, so they won't work
>> with Linaro (hardfp) toolchains. I'm surprised that qt5 builds at all in
>> that case...
>>
>>  The latest patches (on -next) allow for either hardfp or softfp:
>
>         http://git.buildroot.net/buildroot/commit/package/
> freescale-imx/gpu-viv-bin-mx6q?h=next&id=b0b72591d74c1a84b8c1b2e1990a2f
> e1dfe8c4ab
>
> Regards,
>
>
> Eric
>



-- 
Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
 *mailto:max at marretta.com* <max@marretta.com>
*web:www.marretta.com* <http://www.marretta.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140227/69fa5c36/attachment.html>

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

end of thread, other threads:[~2014-02-28  9:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27  8:22 [Buildroot] Qt5 and gpu-viv-bin-mx6q problem Massimiliano Marretta
2014-02-27 20:16 ` Arnout Vandecappelle
2014-02-27 20:42   ` Eric Nelson
2014-02-27 20:43     ` Arnout Vandecappelle
2014-02-27 23:50       ` Eric Nelson
2014-02-27 21:40 Massimiliano Marretta
2014-02-28  0:11 ` Eric Nelson
2014-02-28  9:12 Massimiliano Marretta

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.