Skip to contentSkip to conversation

toolchain for u-boot

U-Boot Angelo Dureghello 2 participants 4 messages Jul 30, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi Angelo,

Quoted 7 lines · Angelo Dureghello

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

#2 lore raw
Quoted 11 lines · Wolfgang Wegner

Hi Angelo,

Quoted 7 lines · Angelo Dureghello

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 ?

Quoted 8 lines

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

#3 lore raw
Quoted 44 lines · Angelo Dureghello
Quoted 11 lines · Wolfgang Wegner

Hi Angelo,

Quoted 7 lines · Angelo Dureghello

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 ?

Quoted 8 lines

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

Quoted 8 lines

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.