public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stevan Ignjatovic <stevan@iritel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot depends on toolchain
Date: Wed, 01 Apr 2009 12:06:15 +0200	[thread overview]
Message-ID: <1238580375.15731.11.camel@stevan> (raw)

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
 

             reply	other threads:[~2009-04-01 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 10:06 Stevan Ignjatovic [this message]
2009-04-01 13:47 ` [U-Boot] u-boot depends on toolchain Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1238580375.15731.11.camel@stevan \
    --to=stevan@iritel.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox