Skip to contentSkip to conversation

MPC8313ERDB board hangs on u-boot start up

U-Boot Doug Warner 2 participants 2 messages Dec 30, 2009

lore
Share & tools
lore
#0 lore raw

I found that u-boot-2008.10 with default settings, and anything prior to this version, works; u-boot-2009.01 through u-boot-2009.11 will not (hangs up per output below).

Has anybody else run into this problem when using 2009.01 or above with the MPC8313ERDB REVB board and figured out the issue?

-----Original Message-----
From: Doug Warner [mailto:dewarner1 at cox.net]
Sent: Monday, December 28, 2009 6:44 PM
To: u-boot at lists.denx.de
Subject: FW: MPC8313ERDB board hangs on u-boot start up

The MPC8313E-RDB board I have is REV B running with a 33 MHz crystal. Switch settings are default for NOR flash boot (S3 all ON, S4 all OFF).

I built the 2009.11 u-boot binary image using the tool chain from ppc-2008-04-01_freescale.iso under Fedora 10. I used ?make MPC8313ERDB_33_config? for the setup

I used all of the default configuration settings (no changes to the unzipped 2009.11 source) for the build. I used the on-board I2C loader and Kermit (Windows PC) to load the flash image on the board.

I did use the same above Linux tool chain above to build u-boot 1.3.0, which booted with no problems (default configuration), which was also installed with the I2C loader.

Am I missing something in the configuration beyond the defaults for this board?

Hyperterm screen output of the failed boot process, which is in an endless loop of getting a Machine check in kernel mode error when reaching the NAND portion of the boot process is pasted below.

Thanks

Doug

U-Boot 2009.11 (Dec 28 2009 - 16:21:56) MPC83XX

Reset Status: Software Hard, External/Internal Soft, External/Internal Hard

CPU:   e300c3, MPC8313EA, Rev: 2.0 at 333.333 MHz, CSB: 166.667 MHz
Board: Freescale MPC8313ERDB
I2C:   ready
DRAM:  128 MB
FLASH:  8 MB
NAND:  Machine check in kernel mode.
Caused by (from msr): regs 07f35dd8 Unknown values in msr
NIP: 07FD6E80 XER: 20000000 LR: 07FD7798 REGS: 07f35dd8 TRAP: 0200 DAR:

00000000

MSR: 00003030 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 11

GPR00: 000258E0 07F35EC8 07F35F50 00000050 00000001 FFFFFFFF FFFFFFFF 00000000
GPR08: 07FF2FE9 07FF8CC8 FFFFFFFF 00000001 44000022 00000000 07FFC000 09FB8000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 07FBB098
GPR24: 07FBBAEC 00080000 00000001 09FB8000 09FB8000 00000050 07FFD04C 07FFAB14
Call backtrace:
BFFFFFFF 07FC9D60 07FC3BDC 07FBC888 07FBB5F0
machine check
Resetting the board.

U-Boot 2009.11 (Dec 28 2009 - 16:21:56) MPC83XX

Reset Status: Software Hard, External/Internal Soft, External/Internal Hard

CPU:   e300c3, MPC8313EA, Rev: 2.0 at 333.333 MHz, CSB: 166.667 MHz
Board: Freescale MPC8313ERDB
I2C:   ready
DRAM:  128 MB
FLASH:  8 MB
NAND:  Machine check in kernel mode.
Caused by (from msr): regs 07f35dd8 Unknown values in msr
NIP: 07FD6E80 XER: 20000000 LR: 07FD7798 REGS: 07f35dd8 TRAP: 0200 DAR:

00000000

MSR: 00003030 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 11

GPR00: 000258E0 07F35EC8 07F35F50 00000050 00000001 FFFFFFFF FFFFFFFF 00000000
GPR08: 07FF2FE9 07FF8CC8 FFFFFFFF 00000001 44000022 00000000 07FFC000 09FB8000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 07FBB098
GPR24: 07FBBAEC 00080000 00000001 09FB8000 09FB8000 00000050 07FFD04C 07FFAB14
Call backtrace:
BFFFFFFF 07FC9D60 07FC3BDC 07FBC888 07FBB5F0
machine check
Resetting the board.

#1 lore raw

Dear "Doug Warner",

Quoted 4 lines · In message <[email protected]> you wrote:

I found that u-boot-2008.10 with default settings, and anything prior to this version, works; u-boot-2009.01 through u-boot-2009.11 will not (hangs up per output below).

So you have two goot corner stones for running "git bisect". Please try that and report which commit breaks it...

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I express preference for a chronological  sequence  of  events  which
precludes a violence.   - Terry Pratchett, _The Dark Side of the Sun_