All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mx53loco_defconfig: refresh
@ 2014-10-17 15:05 Vincent Stehlé
  2014-10-18 16:35 ` Thomas Petazzoni
  2014-10-19 14:39 ` Thomas Petazzoni
  0 siblings, 2 replies; 15+ messages in thread
From: Vincent Stehlé @ 2014-10-17 15:05 UTC (permalink / raw)
  To: buildroot

Force gcc to version 4.5, as versions 4.7 and 4.8 break the boot.

Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).

Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
---
 configs/mx53loco_defconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig
index 8b12238..f0d13bb 100644
--- a/configs/mx53loco_defconfig
+++ b/configs/mx53loco_defconfig
@@ -1,7 +1,11 @@
 # Architecture
 BR2_arm=y
 BR2_cortex_a8=y
-BR2_ARM_FPU_VFPV3D16=y
+BR2_ARM_FPU_VFPV3=y
+
+# toolchain
+# Use gcc 4.5, as gcc 4.7 & 4.8 break the boot.
+BR2_GCC_VERSION_4_5_X=y
 
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
-- 
2.1.1

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

* [Buildroot] [PATCH] mx53loco_defconfig: refresh
  2014-10-17 15:05 [Buildroot] [PATCH] mx53loco_defconfig: refresh Vincent Stehlé
@ 2014-10-18 16:35 ` Thomas Petazzoni
  2014-10-18 20:05   ` Eric Bénard
  2014-10-19 14:39 ` Thomas Petazzoni
  1 sibling, 1 reply; 15+ messages in thread
From: Thomas Petazzoni @ 2014-10-18 16:35 UTC (permalink / raw)
  To: buildroot

Dear Vincent Stehl?,

On Fri, 17 Oct 2014 17:05:08 +0200, Vincent Stehl? wrote:
> Force gcc to version 4.5, as versions 4.7 and 4.8 break the boot.
> 
> Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).

This is quite worrying. Gcc 4.5 is very old now, and we would like to
get rid of it in Buildroot rather than adding more defconfig that use
it.

Is there some hope to get a fix in a more recent gcc such as 4.9.x ?
Has the specific gcc bug been identified and reported ?

Thanks,

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

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

* [Buildroot] [PATCH] mx53loco_defconfig: refresh
  2014-10-18 16:35 ` Thomas Petazzoni
@ 2014-10-18 20:05   ` Eric Bénard
  0 siblings, 0 replies; 15+ messages in thread
From: Eric Bénard @ 2014-10-18 20:05 UTC (permalink / raw)
  To: buildroot

Hi Thomas, Hi Vincent,

Le Sat, 18 Oct 2014 18:35:34 +0200,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :

> On Fri, 17 Oct 2014 17:05:08 +0200, Vincent Stehl? wrote:
> > Force gcc to version 4.5, as versions 4.7 and 4.8 break the boot.
> > 
> > Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).
> 
> This is quite worrying. Gcc 4.5 is very old now, and we would like to
> get rid of it in Buildroot rather than adding more defconfig that use
> it.
> 
> Is there some hope to get a fix in a more recent gcc such as 4.9.x ?
> Has the specific gcc bug been identified and reported ?
> 
if you switch to imx_2.6.35_maintain branch instead of older
rel_imx_2.6.35_11.09.01 actually used in the defconfig, you will get
(among other fixes) these patches :
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_2.6.35_maintain&id=96a7591a6f72db6d7bb337e78d61c53f670d9793
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_2.6.35_maintain&id=a0de0f94dd9868d2280aa8cdb8295231e00d5ef6
and I believe the kernel built with recent gcc will run as it runs fine
on i.MX53 when built with Yocto.

Best regards,
Eric

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

* [Buildroot] [PATCH] mx53loco_defconfig: refresh
  2014-10-17 15:05 [Buildroot] [PATCH] mx53loco_defconfig: refresh Vincent Stehlé
  2014-10-18 16:35 ` Thomas Petazzoni
@ 2014-10-19 14:39 ` Thomas Petazzoni
  2014-11-25 16:12   ` [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32) Vincent Stehlé
  1 sibling, 1 reply; 15+ messages in thread
From: Thomas Petazzoni @ 2014-10-19 14:39 UTC (permalink / raw)
  To: buildroot

Dear Vincent Stehl?,

On Fri, 17 Oct 2014 17:05:08 +0200, Vincent Stehl? wrote:
> Force gcc to version 4.5, as versions 4.7 and 4.8 break the boot.
> 
> Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).
> 
> Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Peter Korsgaard <jacmet@sunsite.dk>
> ---
>  configs/mx53loco_defconfig | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Can you update the patch according to Eric Benard's comment?

In the mean time, I'll mark your patch as "Changes Requested" in our
patch tracking system.

Thanks!

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

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-10-19 14:39 ` Thomas Petazzoni
@ 2014-11-25 16:12   ` Vincent Stehlé
  2014-11-25 16:54     ` Eric Bénard
  0 siblings, 1 reply; 15+ messages in thread
From: Vincent Stehlé @ 2014-11-25 16:12 UTC (permalink / raw)
  To: buildroot

Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).

While at it, switch to EABIHF.

Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>

---


Hi,

This is v2 of an old patch for mx53loco (patchwork id 400549,
"mx53loco_defconfig: refresh").

It boots fine on an i.MX53 QSB on top of latest buildroot, commit
ccec35e342a38537fba746a483eec063b5151d3e.

Changes since v1:
~~~~~~~~~~~~~~~~~
- Do not force gcc version anymore.
- Change the title accordingly.
- Switch to EABIHF.


 configs/mx53loco_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig
index 942dedf..6af42a7 100644
--- a/configs/mx53loco_defconfig
+++ b/configs/mx53loco_defconfig
@@ -1,12 +1,15 @@
 # Architecture
 BR2_arm=y
 BR2_cortex_a8=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV3=y
 
 # System
 BR2_KERNEL_HEADERS_VERSION=y
 BR2_DEFAULT_KERNEL_VERSION="2.6.35"
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 
-- 
2.1.3

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 16:12   ` [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32) Vincent Stehlé
@ 2014-11-25 16:54     ` Eric Bénard
  2014-11-25 17:03       ` Vincent Stehlé
  0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2014-11-25 16:54 UTC (permalink / raw)
  To: buildroot

Hi Vincent,

Le Tue, 25 Nov 2014 17:12:23 +0100,
Vincent Stehl? <vincent.stehle@freescale.com> a ?crit :

> Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).
> 
> While at it, switch to EABIHF.
> 
unless mistaken, switching to hard float prevent the usage of the AMD
GPU libraries as these binaries are soft float only.

May you please ask inside Freescale to provide AMD GPU libraries
compiled for hard float ? (we don't need support nor warranty, we just
need the binaries compiled for hard float to try if that can work).

Many thanks
Eric

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 16:54     ` Eric Bénard
@ 2014-11-25 17:03       ` Vincent Stehlé
  2014-11-25 17:30         ` Thomas Petazzoni
  0 siblings, 1 reply; 15+ messages in thread
From: Vincent Stehlé @ 2014-11-25 17:03 UTC (permalink / raw)
  To: buildroot

On 11/25/2014 05:54 PM, Eric B?nard wrote:
(switching i.mx53 to hard floats)
> unless mistaken, switching to hard float prevent the usage of the AMD
> GPU libraries as these binaries are soft float only.

You are right of course; silly me :-S

> May you please ask inside Freescale to provide AMD GPU libraries
> compiled for hard float ? (we don't need support nor warranty, we just
> need the binaries compiled for hard float to try if that can work).

Ok, I'll ask. No promise that you will get an answer, though :)

...also I wonder, shall I maybe submit a "v3" of the patch, with no EABIHF?

Best regards,

V.

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 17:03       ` Vincent Stehlé
@ 2014-11-25 17:30         ` Thomas Petazzoni
  2014-11-25 17:44           ` Eric Bénard
                             ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Thomas Petazzoni @ 2014-11-25 17:30 UTC (permalink / raw)
  To: buildroot

Dear Vincent Stehl?,

On Tue, 25 Nov 2014 18:03:25 +0100, Vincent Stehl? wrote:

> > May you please ask inside Freescale to provide AMD GPU libraries
> > compiled for hard float ? (we don't need support nor warranty, we just
> > need the binaries compiled for hard float to try if that can work).
> 
> Ok, I'll ask. No promise that you will get an answer, though :)
> 
> ...also I wonder, shall I maybe submit a "v3" of the patch, with no EABIHF?

I'd say yes. Is 2.6.35 the latest kernel available for this platform,
or could we switch to a more recent version.

Also, Eric, you mention the AMD GPU libraries, but do we have packages
for those libraries in Buildroot? I know we have the ones for i.MX6,
but what about i.MX53 ?

Thanks,

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

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 17:30         ` Thomas Petazzoni
@ 2014-11-25 17:44           ` Eric Bénard
  2014-11-25 20:57             ` Jérôme Pouiller
  2014-11-25 18:34           ` Vincent Stehlé
  2014-11-25 18:35           ` [Buildroot] [PATCH v3] " Vincent Stehlé
  2 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2014-11-25 17:44 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Le Tue, 25 Nov 2014 18:30:17 +0100,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :
> On Tue, 25 Nov 2014 18:03:25 +0100, Vincent Stehl? wrote:
> 
> > > May you please ask inside Freescale to provide AMD GPU libraries
> > > compiled for hard float ? (we don't need support nor warranty, we just
> > > need the binaries compiled for hard float to try if that can work).
> > 
> > Ok, I'll ask. No promise that you will get an answer, though :)
> > 
> > ...also I wonder, shall I maybe submit a "v3" of the patch, with no EABIHF?
> 
> I'd say yes. Is 2.6.35 the latest kernel available for this platform,
> or could we switch to a more recent version.
> 
> Also, Eric, you mention the AMD GPU libraries, but do we have packages
> for those libraries in Buildroot? I know we have the ones for i.MX6,
> but what about i.MX53 ?

a patch adding the AMD GPU libraries was sent earlier this month by
J?r?me Pouiller : http://patchwork.ozlabs.org/patch/408174/
I can't find the new version but a patch depending on this one is
available so I assume a v2 will follow :
http://patchwork.ozlabs.org/patch/412521/

Eric

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 17:30         ` Thomas Petazzoni
  2014-11-25 17:44           ` Eric Bénard
@ 2014-11-25 18:34           ` Vincent Stehlé
  2014-11-25 18:35           ` [Buildroot] [PATCH v3] " Vincent Stehlé
  2 siblings, 0 replies; 15+ messages in thread
From: Vincent Stehlé @ 2014-11-25 18:34 UTC (permalink / raw)
  To: buildroot

On 11/25/2014 06:30 PM, Thomas Petazzoni wrote:
(re-submit a v3)
> I'd say yes.

Ok, will do.

> Is 2.6.35 the latest kernel available for this platform,
> or could we switch to a more recent version.

The kernel b3912bb used in buildroot for mx53loco is more advanced than
the latest official release 2.6.35 11.09 from Freescale on the Quick
Start Board [1]. Nothing to update there I would say.

Best regards,

V.

[1]
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&fpsp=1&tab=Design_Tools_Tab

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

* [Buildroot] [PATCH v3] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 17:30         ` Thomas Petazzoni
  2014-11-25 17:44           ` Eric Bénard
  2014-11-25 18:34           ` Vincent Stehlé
@ 2014-11-25 18:35           ` Vincent Stehlé
  2014-11-25 19:26             ` Thomas Petazzoni
  2 siblings, 1 reply; 15+ messages in thread
From: Vincent Stehlé @ 2014-11-25 18:35 UTC (permalink / raw)
  To: buildroot

Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).

Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Eric B?nard <eric@eukrea.com>

---


Here is v3; sorry for the noise.

Changes since v2:
~~~~~~~~~~~~~~~~~
- Switch back to EABI.

Changes since v1:
~~~~~~~~~~~~~~~~~
- Do not force gcc version anymore.
- Change the title accordingly.
- Switch to EABIHF.


 configs/mx53loco_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig
index 942dedf..d2a2b66 100644
--- a/configs/mx53loco_defconfig
+++ b/configs/mx53loco_defconfig
@@ -1,6 +1,7 @@
 # Architecture
 BR2_arm=y
 BR2_cortex_a8=y
+BR2_ARM_FPU_VFPV3=y
 
 # System
 BR2_KERNEL_HEADERS_VERSION=y
-- 
2.1.3

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

* [Buildroot] [PATCH v3] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 18:35           ` [Buildroot] [PATCH v3] " Vincent Stehlé
@ 2014-11-25 19:26             ` Thomas Petazzoni
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas Petazzoni @ 2014-11-25 19:26 UTC (permalink / raw)
  To: buildroot

Dear Vincent Stehl?,

On Tue, 25 Nov 2014 19:35:36 +0100, Vincent Stehl? wrote:
> Switch to VFPv3(d32), as i.MX53 Cortex-A8 supports it (MVFR0 = 0x11110222).
> 
> Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Peter Korsgaard <jacmet@sunsite.dk>
> Cc: Eric B?nard <eric@eukrea.com>

Applied to next, thanks.

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

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 17:44           ` Eric Bénard
@ 2014-11-25 20:57             ` Jérôme Pouiller
  2014-11-25 21:10               ` Eric Bénard
  0 siblings, 1 reply; 15+ messages in thread
From: Jérôme Pouiller @ 2014-11-25 20:57 UTC (permalink / raw)
  To: buildroot

Hello Eric,

On Tuesday 25 November 2014 18:44:29 Eric B?nard wrote:
> Le Tue, 25 Nov 2014 18:30:17 +0100,
[...]
> > Also, Eric, you mention the AMD GPU libraries, but do we have packages
> > for those libraries in Buildroot? I know we have the ones for i.MX6,
> > but what about i.MX53 ?
> 
> a patch adding the AMD GPU libraries was sent earlier this month by
> J?r?me Pouiller : http://patchwork.ozlabs.org/patch/408174/
> I can't find the new version but a patch depending on this one is
> available so I assume a v2 will follow :
> http://patchwork.ozlabs.org/patch/412521/
They are two separate series. First one introduce iMX5 GPU driver while second 
one introduce a new helper function to extract FSL archives. 

I currently do not plan to make a v2 of iMX 5 GPU series.


BR,

-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 20:57             ` Jérôme Pouiller
@ 2014-11-25 21:10               ` Eric Bénard
  2014-11-26  9:49                 ` Jérôme Pouiller
  0 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2014-11-25 21:10 UTC (permalink / raw)
  To: buildroot

Hi J?r?me,

Le Tue, 25 Nov 2014 12:57:00 -0800 (PST),
J?r?me Pouiller <jezz@sysmic.org> a ?crit :
> On Tuesday 25 November 2014 18:44:29 Eric B?nard wrote:
> > Le Tue, 25 Nov 2014 18:30:17 +0100,
> [...]
> > > Also, Eric, you mention the AMD GPU libraries, but do we have packages
> > > for those libraries in Buildroot? I know we have the ones for i.MX6,
> > > but what about i.MX53 ?
> > 
> > a patch adding the AMD GPU libraries was sent earlier this month by
> > J?r?me Pouiller : http://patchwork.ozlabs.org/patch/408174/
> > I can't find the new version but a patch depending on this one is
> > available so I assume a v2 will follow :
> > http://patchwork.ozlabs.org/patch/412521/
> They are two separate series. First one introduce iMX5 GPU driver while second 
> one introduce a new helper function to extract FSL archives. 
> 
Yes that's why I wrote the second depends on the first one ;-)

> I currently do not plan to make a v2 of iMX 5 GPU series.
> 
v1 is marked as superseded in patchwork and doesn't seems to be in
next : is that intended ?

Best regards,
Eric

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

* [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32)
  2014-11-25 21:10               ` Eric Bénard
@ 2014-11-26  9:49                 ` Jérôme Pouiller
  0 siblings, 0 replies; 15+ messages in thread
From: Jérôme Pouiller @ 2014-11-26  9:49 UTC (permalink / raw)
  To: buildroot

On Tuesday 25 November 2014 22:10:51 Eric B?nard wrote:
> Hi J?r?me,
> 
> Le Tue, 25 Nov 2014 12:57:00 -0800 (PST),
> 
> J?r?me Pouiller <jezz@sysmic.org> a ?crit :
> > On Tuesday 25 November 2014 18:44:29 Eric B?nard wrote:
> > > Le Tue, 25 Nov 2014 18:30:17 +0100,
> > 
> > [...]
[...]
> > I currently do not plan to make a v2 of iMX 5 GPU series.
> 
> v1 is marked as superseded in patchwork and doesn't seems to be in
> next : is that intended ?
I understand better why you expected a v2 :-) . 

It seems to be a mistake. I revert statuses of iMX 5 GPU series.

BR,
-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

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

end of thread, other threads:[~2014-11-26  9:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-17 15:05 [Buildroot] [PATCH] mx53loco_defconfig: refresh Vincent Stehlé
2014-10-18 16:35 ` Thomas Petazzoni
2014-10-18 20:05   ` Eric Bénard
2014-10-19 14:39 ` Thomas Petazzoni
2014-11-25 16:12   ` [Buildroot] [PATCH v2] mx53loco_defconfig: switch to VFPv3(d32) Vincent Stehlé
2014-11-25 16:54     ` Eric Bénard
2014-11-25 17:03       ` Vincent Stehlé
2014-11-25 17:30         ` Thomas Petazzoni
2014-11-25 17:44           ` Eric Bénard
2014-11-25 20:57             ` Jérôme Pouiller
2014-11-25 21:10               ` Eric Bénard
2014-11-26  9:49                 ` Jérôme Pouiller
2014-11-25 18:34           ` Vincent Stehlé
2014-11-25 18:35           ` [Buildroot] [PATCH v3] " Vincent Stehlé
2014-11-25 19:26             ` Thomas Petazzoni

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.