[U-Boot] u-boot depends on toolchain

Stevan Ignjatovic stevan at iritel.com
Wed Apr 1 12:06:15 CEST 2009


When I cross-compile u-boot prepared for my custom made board with
mpc885 (CROSS_COMPILE=ppc_8xx-) using the toolchain found in eldk 4.2
(gcc version 4.2.2) u-boot doesn't boot because of an exception:

U-Boot 2009.03 (Apr 01 2009 - 10:27:03)

CPU:   MPC885ZPnn at 66 MHz [66.0...133.0 MHz]
       8 kB I-Cache 8 kB D-Cache FEC present
  Board: MPC885FSM
DRAM:  16 MB
Machine check in kernel mode.
Caused by (from msr): regs 00d3be48 Unknown values in msr
NIP: 00FD1260 XER: 20000C00 LR: 00FD1208 REGS: 00d3be48 TRAP: 0200 DAR:
01000000
MSR: 00001002 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 5D59FFFF 00D3BF38 00D3BF8C 00FCD000 00FD1208 00FF8DD2 00000010
00FF93E4
GPR08: 5A5D2FFF 02FCD000 00D3BF8C 00FFFFEC F0002C38 00000251 00FFE000
02FCD000
GPR16: 48512009 C31C0C00 00202000 2AA0C000 00001002 00000001 00000000
00FCF09C
GPR24: 00FCFC68 47100000 00000001 00FCD000 00D3BF68 00FCD000 00FFE12C
00D3BFC4
Call backtrace:
00FD1200 00FCF3B0
machine check

However, when I cross-compile it using older toolchain (gcc version
3.3.2) everything's fine:

U-Boot 2009.03 (Apr 01 2009 - 11:40:33)

CPU:   MPC885ZPnn at 66 MHz [66.0...133.0 MHz]
       8 kB I-Cache 8 kB D-Cache FEC present
  Board: MPC885FSM
DRAM:  16 MB
FLASH: 16 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET, FEC2 ETHERNET
Hit any key to stop autoboot:  0
=>      

Why does this happen?

Regards,
Stevan
 




More information about the U-Boot mailing list