* [U-Boot] toolchain for u-boot
@ 2011-07-30 9:06 Angelo Dureghello
2011-07-30 11:05 ` Wolfgang Wegner
0 siblings, 1 reply; 4+ messages in thread
From: Angelo Dureghello @ 2011-07-30 9:06 UTC (permalink / raw)
To: u-boot
hi all,
i have some issues with an mcf5307 (coldfire, see my previous post of 38 Jul).
I am now suspecting of some differences in the toolchain.
Is there a specific gcc toolchain (or gcc version) required to build u-boot ?
thanks
angelo
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] toolchain for u-boot
2011-07-30 9:06 [U-Boot] toolchain for u-boot Angelo Dureghello
@ 2011-07-30 11:05 ` Wolfgang Wegner
2011-07-30 11:47 ` Angelo Dureghello
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Wegner @ 2011-07-30 11:05 UTC (permalink / raw)
To: u-boot
Hi Angelo,
On Sat, Jul 30, 2011 at 11:06:56AM +0200, Angelo Dureghello wrote:
> hi all,
>
> i have some issues with an mcf5307 (coldfire, see my previous post of 38 Jul).
>
> I am now suspecting of some differences in the toolchain.
>
> Is there a specific gcc toolchain (or gcc version) required to build u-boot ?
I had good results using CodeSourcery Light (don't remember the exact version,
something from 2009) for MCF5373 and MCF54455 in early 2010.
Unfortunately I am currently not working on it any more.
Best regards,
Wolfgang
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] toolchain for u-boot
2011-07-30 11:05 ` Wolfgang Wegner
@ 2011-07-30 11:47 ` Angelo Dureghello
2011-07-30 14:49 ` Angelo Dureghello
0 siblings, 1 reply; 4+ messages in thread
From: Angelo Dureghello @ 2011-07-30 11:47 UTC (permalink / raw)
To: u-boot
On 30/07/2011 13:05, Wolfgang Wegner wrote:
> Hi Angelo,
>
> On Sat, Jul 30, 2011 at 11:06:56AM +0200, Angelo Dureghello wrote:
>> hi all,
>>
>> i have some issues with an mcf5307 (coldfire, see my previous post of 38 Jul).
>>
>> I am now suspecting of some differences in the toolchain.
>>
>> Is there a specific gcc toolchain (or gcc version) required to build u-boot ?
>
> I had good results using CodeSourcery Light (don't remember the exact version,
> something from 2009) for MCF5373 and MCF54455 in early 2010.
>
> Unfortunately I am currently not working on it any more.
>
> Best regards,
> Wolfgang
>
many thanks,
i have a very strange issue:
on a timer interupt i ger a vector 3 error:
_int_handler:
// commeneted all, only rte left, exception in rte
rte
*** Unexpected exception ***
Vector Number: 3 Format: 04 Fault Status: 4
PC: 00fe910a SR: 00002000 SP: 00ed8af0
D0: 00002c1b D1: 0000001b D2: 00400000 D3: 00ee8b76
D4: ffc12d08 D5: ffffffff D6: 00ffad57 D7: 00ee8b76
A0: 00ee8b76 A1: 00fe9604 A2: 00ee8bc6 A3: 00ffd400
A4: 00ff8167 A5: 00ffbb00 A6: 00ed8b48
there is nothing inside the interrupt handler, so there would be apparently any reason to get the exception on "rte", so my only suspect is about toolchain/compiler.
every help is welcome
Reagards,
angelo
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] toolchain for u-boot
2011-07-30 11:47 ` Angelo Dureghello
@ 2011-07-30 14:49 ` Angelo Dureghello
0 siblings, 0 replies; 4+ messages in thread
From: Angelo Dureghello @ 2011-07-30 14:49 UTC (permalink / raw)
To: u-boot
On 30/07/2011 13:47, Angelo Dureghello wrote:
> On 30/07/2011 13:05, Wolfgang Wegner wrote:
>> Hi Angelo,
>>
>> On Sat, Jul 30, 2011 at 11:06:56AM +0200, Angelo Dureghello wrote:
>>> hi all,
>>>
>>> i have some issues with an mcf5307 (coldfire, see my previous post of 38 Jul).
>>>
>>> I am now suspecting of some differences in the toolchain.
>>>
>>> Is there a specific gcc toolchain (or gcc version) required to build u-boot ?
>>
>> I had good results using CodeSourcery Light (don't remember the exact version,
>> something from 2009) for MCF5373 and MCF54455 in early 2010.
>>
>> Unfortunately I am currently not working on it any more.
>>
>> Best regards,
>> Wolfgang
>>
>
> many thanks,
>
> i have a very strange issue:
>
> on a timer interupt i ger a vector 3 error:
>
> _int_handler:
> // commeneted all, only rte left, exception in rte
>
> rte
>
>
>
> *** Unexpected exception ***
> Vector Number: 3 Format: 04 Fault Status: 4
>
> PC: 00fe910a SR: 00002000 SP: 00ed8af0
> D0: 00002c1b D1: 0000001b D2: 00400000 D3: 00ee8b76
> D4: ffc12d08 D5: ffffffff D6: 00ffad57 D7: 00ee8b76
> A0: 00ee8b76 A1: 00fe9604 A2: 00ee8bc6 A3: 00ffd400
> A4: 00ff8167 A5: 00ffbb00 A6: 00ed8b48
>
>
> there is nothing inside the interrupt handler, so there would be apparently any reason to get the exception on "rte", so my only suspect is about toolchain/compiler.
>
> every help is welcome
>
>
> Reagards,
> angelo
>
I found something interesting:
_int_handler:
rts
seems to work, execution return to board_init_r, even if still the command console seems locked.
_int_handler:
rte
generate the exception above.
Seems that @ SP there is the "next" return address instead of the vector/format/status values.
Any help is really appreciated.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-30 14:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-30 9:06 [U-Boot] toolchain for u-boot Angelo Dureghello
2011-07-30 11:05 ` Wolfgang Wegner
2011-07-30 11:47 ` Angelo Dureghello
2011-07-30 14:49 ` Angelo Dureghello
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox