Skip to contentSkip to conversation

MPC8313ERDB board hangs on u-boot start up

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

lore
Share & tools
lore
#0 lore raw

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:

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.

You have a crashing board, so the natural thing seems to be to analyze the crash and try to understand what it means.

Quoted 11 lines

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

The Next Instruction Pointer is at 07FD6E80 - which code is it pointing to, i. e. where exactly did your code crash?

Quoted 2 lines

Call backtrace:
BFFFFFFF 07FC9D60 07FC3BDC 07FBC888 07FBB5F0

There is a nice backtrace - which addresses in your code do these resolve to?

And why don't you attach a debugger and debug the code?

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
"Bureaucracy is the enemy of innovation."
       - Mark Shepherd, former President and CEO of Texas Instruments