All of lore.kernel.org
 help / color / mirror / Atom feed
* Aarch64 u-boot with gcc .5x
@ 2016-03-28 15:51 akuster808
  2016-03-28 18:20 ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: akuster808 @ 2016-03-28 15:51 UTC (permalink / raw)
  To: OE-core

Hello,

I have an arm64 odroid c2 board.  If I build u-boot with the current OE
5.3 gcc it hangs at kernel load time. If I use 4.9 gcc it works fine. A
5.3 built kernel boots fine with a 4.9 built u-boot.

The vendor supplied u-boot is hacked up and am leaning it that direction
as the culprit so I am looking for data points.

Is anyone using a current u-boot with 5.3 gcc on an arm64 machine? if
so, any special tweaks to get that combo to work?

kind regards,
Armin


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

* Re: Aarch64 u-boot with gcc .5x
  2016-03-28 15:51 Aarch64 u-boot with gcc .5x akuster808
@ 2016-03-28 18:20 ` Otavio Salvador
  2016-03-28 20:08   ` Stephen Arnold
  2016-03-28 20:52   ` akuster808
  0 siblings, 2 replies; 6+ messages in thread
From: Otavio Salvador @ 2016-03-28 18:20 UTC (permalink / raw)
  To: akuster808; +Cc: OE-core

Hello Armin,

On Mon, Mar 28, 2016 at 12:51 PM, akuster808 <akuster808@gmail.com> wrote:
> I have an arm64 odroid c2 board.  If I build u-boot with the current OE
> 5.3 gcc it hangs at kernel load time. If I use 4.9 gcc it works fine. A
> 5.3 built kernel boots fine with a 4.9 built u-boot.
>
> The vendor supplied u-boot is hacked up and am leaning it that direction
> as the culprit so I am looking for data points.
>
> Is anyone using a current u-boot with 5.3 gcc on an arm64 machine? if
> so, any special tweaks to get that combo to work?

I am using one ARM 64 SoC with GCC 5.2 at this moment and it works
fine. What U-Boot version is the fork based on?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Aarch64 u-boot with gcc .5x
  2016-03-28 18:20 ` Otavio Salvador
@ 2016-03-28 20:08   ` Stephen Arnold
  2016-03-28 20:52   ` akuster808
  1 sibling, 0 replies; 6+ messages in thread
From: Stephen Arnold @ 2016-03-28 20:08 UTC (permalink / raw)
  To: OE-core

I hit the same thing and ended up using their prebuilt bootloader to
get it up for testing.  There is a big C++ ABI change with gcc 5.x
(I've been using 5.3.0 for a while now) and the gold linker is much
less tolerant of underlinking than bfd is.  That said, their u-boot is
funky but not actually that old, and they also have a blob 1st-stage
that is only provided as a binary.

Their wiki:

http://odroid.com/dokuwiki/doku.php?id=en:c2_building_u-boot

says to checkout branch odroidc2-v2015.01 but I didn't dig into the
commit history to see when they last pulled from upstream.  The error
I get with 5.3.0 looks like their u-boot/include/linux stuff is just
way too old for gcc5 (since they're still using a 3.10 kernel fork
probably).  Their build also blows up with gcc-4.8 - can you say
brittle-hard-dep on gcc 4.9?

Steve

On Mon, Mar 28, 2016 at 11:20 AM, Otavio Salvador
<otavio.salvador@ossystems.com.br> wrote:
> Hello Armin,
>
> On Mon, Mar 28, 2016 at 12:51 PM, akuster808 <akuster808@gmail.com> wrote:
>> I have an arm64 odroid c2 board.  If I build u-boot with the current OE
>> 5.3 gcc it hangs at kernel load time. If I use 4.9 gcc it works fine. A
>> 5.3 built kernel boots fine with a 4.9 built u-boot.
>>
>> The vendor supplied u-boot is hacked up and am leaning it that direction
>> as the culprit so I am looking for data points.
>>
>> Is anyone using a current u-boot with 5.3 gcc on an arm64 machine? if
>> so, any special tweaks to get that combo to work?
>
> I am using one ARM 64 SoC with GCC 5.2 at this moment and it works
> fine. What U-Boot version is the fork based on?
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: Aarch64 u-boot with gcc .5x
  2016-03-28 18:20 ` Otavio Salvador
  2016-03-28 20:08   ` Stephen Arnold
@ 2016-03-28 20:52   ` akuster808
  2016-03-28 21:17     ` Otavio Salvador
  1 sibling, 1 reply; 6+ messages in thread
From: akuster808 @ 2016-03-28 20:52 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: OE-core



On 03/28/2016 11:20 AM, Otavio Salvador wrote:
> Hello Armin,
> 
> On Mon, Mar 28, 2016 at 12:51 PM, akuster808 <akuster808@gmail.com> wrote:
>> I have an arm64 odroid c2 board.  If I build u-boot with the current OE
>> 5.3 gcc it hangs at kernel load time. If I use 4.9 gcc it works fine. A
>> 5.3 built kernel boots fine with a 4.9 built u-boot.
>>
>> The vendor supplied u-boot is hacked up and am leaning it that direction
>> as the culprit so I am looking for data points.
>>
>> Is anyone using a current u-boot with 5.3 gcc on an arm64 machine? if
>> so, any special tweaks to get that combo to work?
> 
> I am using one ARM 64 SoC with GCC 5.2 at this moment and it works
> fine. What U-Boot version is the fork based on?

2015.01

- armin
> 


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

* Re: Aarch64 u-boot with gcc .5x
  2016-03-28 20:52   ` akuster808
@ 2016-03-28 21:17     ` Otavio Salvador
  2016-03-28 22:08       ` akuster808
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2016-03-28 21:17 UTC (permalink / raw)
  To: akuster808; +Cc: OE-core

On Mon, Mar 28, 2016 at 5:52 PM, akuster808 <akuster808@gmail.com> wrote:
> On 03/28/2016 11:20 AM, Otavio Salvador wrote:
>> On Mon, Mar 28, 2016 at 12:51 PM, akuster808 <akuster808@gmail.com> wrote:
>>> I have an arm64 odroid c2 board.  If I build u-boot with the current OE
>>> 5.3 gcc it hangs at kernel load time. If I use 4.9 gcc it works fine. A
>>> 5.3 built kernel boots fine with a 4.9 built u-boot.
>>>
>>> The vendor supplied u-boot is hacked up and am leaning it that direction
>>> as the culprit so I am looking for data points.
>>>
>>> Is anyone using a current u-boot with 5.3 gcc on an arm64 machine? if
>>> so, any special tweaks to get that combo to work?
>>
>> I am using one ARM 64 SoC with GCC 5.2 at this moment and it works
>> fine. What U-Boot version is the fork based on?
>
> 2015.01

Please try to use GCC 5.2 and see if it makes any difference. The BSP
I am referring to is currently using it and it is working fine.

The forked version is the same. Of course, it may have changes which
hides or solve the issue but it is a hint anyway.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Aarch64 u-boot with gcc .5x
  2016-03-28 21:17     ` Otavio Salvador
@ 2016-03-28 22:08       ` akuster808
  0 siblings, 0 replies; 6+ messages in thread
From: akuster808 @ 2016-03-28 22:08 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: OE-core



On 03/28/2016 02:17 PM, Otavio Salvador wrote:
> On Mon, Mar 28, 2016 at 5:52 PM, akuster808 <akuster808@gmail.com> wrote:
>> On 03/28/2016 11:20 AM, Otavio Salvador wrote:
>>> On Mon, Mar 28, 2016 at 12:51 PM, akuster808 <akuster808@gmail.com> wrote:
>>>> I have an arm64 odroid c2 board.  If I build u-boot with the current OE
>>>> 5.3 gcc it hangs at kernel load time. If I use 4.9 gcc it works fine. A
>>>> 5.3 built kernel boots fine with a 4.9 built u-boot.
>>>>
>>>> The vendor supplied u-boot is hacked up and am leaning it that direction
>>>> as the culprit so I am looking for data points.
>>>>
>>>> Is anyone using a current u-boot with 5.3 gcc on an arm64 machine? if
>>>> so, any special tweaks to get that combo to work?
>>>
>>> I am using one ARM 64 SoC with GCC 5.2 at this moment and it works
>>> fine. What U-Boot version is the fork based on?
>>
>> 2015.01
> 
> Please try to use GCC 5.2 and see if it makes any difference. The BSP
> I am referring to is currently using it and it is working fine.
> 
> The forked version is the same. Of course, it may have changes which
> hides or solve the issue but it is a hint anyway.
ok. will try this next.

kind regards,
Armin


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

end of thread, other threads:[~2016-03-28 22:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-28 15:51 Aarch64 u-boot with gcc .5x akuster808
2016-03-28 18:20 ` Otavio Salvador
2016-03-28 20:08   ` Stephen Arnold
2016-03-28 20:52   ` akuster808
2016-03-28 21:17     ` Otavio Salvador
2016-03-28 22:08       ` akuster808

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.