public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [STATUS] v2009.11-rc1 is out
Date: Tue, 03 Nov 2009 10:37:41 +0100	[thread overview]
Message-ID: <m2vdhsymmy.fsf@ohwell.denx.de> (raw)
In-Reply-To: <hcoo6m$ojo$1@ger.gmane.org> (rhabarber's message of "Tue, 3 Nov 2009 08:04:39 +0000 (UTC)")

Hi rhabarber1848,

> I just tested it on my Dbox2 board where U-Boot 2009.08 is working 
> perfectly well with unchanged config.
> But now U-Boot raises an exception during machine check:
>
> =============================================================================
> U-Boot 2009.11 (Tuxbox) (Nov 03 2009 - 08:59:24)
>
> CPU:   PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
> Board: DBOX2, Sagem, BMon V1.0
>        Watchdog enabled
> I2C:   ready
> DRAM:  64 MB
> Top of RAM usable for U-Boot at: 04000000
> Reserving 201k for U-Boot at: 03fcd000
> Reserving 144k for malloc() at: 03fa9000
> Reserving 60 Bytes for Board Info at: 03fa8fc4
> Reserving 52 Bytes for Global Data at: 03fa8f90
> Stack Pointer at: 03fa8f78
> New Stack Pointer is: 03fa8f78
> Now running in RAM - U-Boot at: 03fcd000
> FLASH:  8 MB
> FB:    ready
> Bus Fault @ 0x03fcfe0c, fixup 0x00000000
> Machine check in kernel mode.
> Caused by (from msr): regs 03fa8d88 Unknown values in msr
> NIP: 03FCFE0C XER: 8000007F LR: 03FCFD98 REGS: 03fa8d88 TRAP: 0200 DAR: 3038B700
> MSR: 00001002 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
>
> GPR00: 30323030 03FA8E78 03FA8F90 00000008 30323030 30376666 00000000 000686CC
> GPR08: 03FF56CC 3038B6FC 00000002 000F423F FF002848 00031CBC 03FFB600 03F8D000
> GPR16: 00000000 00000000 00000000 00000000 20004000 00000001 60634001 90640170
> GPR24: 03FA8F90 00000040 03FCD000 00000000 0006868C 00000001 03FFB678 03FCD000
> Call backtrace:
> machine check
> =============================================================================
>
> The remaining boot messages would be:
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   SCC ETHERNET
> LCD:   ready
>
> Any pointers where I could start debugging?

Grepping through my source, I cannot find such a configuration - do you
plan to submit this support here sometime?

Apart from that, I'd strongly start looking for implications of the
recent rewrite of the relocation strategy to code not in mainline.
Given that the last message is "FB:" (also not in mainline), the
corresponding code would be my start for the debugging.

Apart from that you could also use the information in our DULG[1] for
debugging of U-Boot after relocation and use gdb to find the code
corresponding to "0x3fcfe0c".  You'll not even need a JTAG debugger for
this address lookup as all neccessary informations are in your dump ;)

Cheers
  Detlev

[1] http://www.denx.de/wiki/view/DULG/DebuggingUBoot#Section_10.1.2.

-- 
Man is a fool, and woman, for tolerating him, is a damned fool
                       -- Mark Twain
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  reply	other threads:[~2009-11-03  9:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 13:42 [U-Boot] [STATUS] v2009.11-rc1 is out Wolfgang Denk
2009-10-28 14:53 ` Paulraj, Sandeep
2009-10-28 15:58   ` Wolfgang Denk
2009-10-28 16:13     ` Paulraj, Sandeep
2009-10-31 17:57       ` Tom
2009-11-11 12:36       ` Albin Tonnerre
2009-11-03  8:04 ` rhabarber1848
2009-11-03  9:37   ` Detlev Zundel [this message]
2009-11-03 10:17     ` rhabarber1848
2009-11-03 10:47       ` Detlev Zundel
2009-11-03 11:03         ` [U-Boot] Support dbox in mainline, was: " rhabarber1848
2009-11-03 10:41     ` [U-Boot] " rhabarber1848
2009-11-03 13:10   ` 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=m2vdhsymmy.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --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