[U-Boot] bug report: the 8378 can not boot up when we enable the debug log

Leo Liu liucai.lfn at gmail.com
Wed Jan 19 12:55:50 CET 2011


I test the mpc8378 board when I enable the DEBUG macro in common.h file
Log is below:
------
U-Boot 2010.12 (Jan 15 2011 - 11:40:03) MPC83XX

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

CPU: e300c4, MPC8378E, Rev: 2.1 at 297 MHz, CSB: 198 MHz
Board: Freescale MPC837xEMDS
I2C: Requested speed:400000, i2c_clk:66000000
FDR:0x24, div:320, ga:0x4, gb:0x1, a:10, b:32, speed:206250
Tr <= 348 ns
FDR:0x21, div:192, ga:0x5, gb:0x0, a:12, b:16, speed:343750
Tr <= 106 ns
divider:165, est_div:192, DFSR:3
FDR:0x21, speed:343750
Requested speed:400000, i2c_clk:198000000
FDR:0x28, div:640, ga:0x4, gb:0x2, a:10, b:64, speed:309375
Tr <= 186 ns
FDR:0x27, div:512, ga:0x7, gb:0x1, a:16, b:32, speed:386718
Tr <= 25 ns
divider:495, est_div:512, DFSR:9
FDR:0x27, speed:386718
ready
DRAM: 512 MiB (DDR2, 64-bit, ECC off, 198 MHz)
Top of RAM usable for U-Boot at: 20000000
Reserving 545k for U-Boot at: 1ff77000
Reserving 520k for malloc() at: 1fef5000
Reserving 68 Bytes for Board Info at: 1fef4fbc
Reserving 152 Bytes for Global Data at: 1fef4f24
Stack Pointer at: 1fef4f08
New Stack Pointer is: 1fef4f08
Now running in RAM - U-Boot at: 1ff77000
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
i2c_wait: No RXACK
PCI 32bit bus on PMC1 & PMC2 &PMC3
FLASH: flash detect cfi
fwc addr fe000000 cmd f0 f0 8bit x 8 bit
fwc addr fe000000 cmd ff ff 8bit x 8 bit
fwc addr fe000055 cmd 98 98 8bit x 8 bit
is= cmd 51(Q) addr fe000010 is= 0 51
fwc addr fe000555 cmd 98 98 8bit x 8 bit
is= cmd 51(Q) addr fe000010 is= 0 51
fwc addr fe000000 cmd f0 f0f0 16bit x 8 bit
fwc addr fe000000 cmd ff ffff 16bit x 8 bit
fwc addr fe0000aa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr fe000020 is= 0051 5151
fwc addr fe000aaa cmd 98 9898 16bit x 8 bit
is= cmd 51(Q) addr fe000020 is= 0051 5151
fwc addr fe000000 cmd f0 00f0 16bit x 16 bit
fwc addr fe000000 cmd ff 00ff 16bit x 16 bit
fwc addr fe0000aa cmd 98 0098 16bit x 16 bit
is= cmd 51(Q) addr fe000020 is= 0051 0051
is= cmd 52(R) addr fe000022 is= 0052 0052
is= cmd 59(Y) addr fe000024 is= 0059 0059
device interface is 2
found port 2 chip 2 port 16 bits chip 16 bits
00 : 51 52 59 02 00 40 00 00 00 00 00 27 36 00 00 07 QRY.. at .....'6...
10 : 07 0a 00 03 05 04 00 18 02 00 05 00 01 7f 00 00 ................
20 : 02 00 00 00 00 00 00 00 00 00 00 00 00 fb ce 28 ...............(
fwc addr fe000000 cmd f0 00f0 16bit x 16 bit
fwc addr fe000aaa cmd aa 00aa 16bit x 16 bit
fwc addr fe000554 cmd 55 0055 16bit x 16 bit
fwc addr fe000aaa cmd 90 0090 16bit x 16 bit
fwc addr fe000000 cmd f0 00f0 16bit x 16 bit
fwc addr fe0000aa cmd 98 0098 16bit x 16 bit
manufacturer is 2
manufacturer id is 0x1
device id is 0x227e
device id2 is 0x0
cfi version is 0x3133
size_ratio 1 port 16 bits chip 16 bits
found 1 erase regions
erase region 0: 0x0200007f
erase_region_count = 128 erase_region_size = 131072
fwc addr fe000000 cmd f0 00f0 16bit x 16 bit
flash_protect ON: from 0xFE000000 to 0xFE051FFF
flash_is_busy: 0
protect on 0
flash_is_busy: 0
protect on 1
flash_is_busy: 0
protect on 2
flash_protect ON: from 0xFE060000 to 0xFE07FFFF
flash_is_busy: 0
protect on 3
16 MiB
NAND: No NAND device found!!!
0 MiB
MMC:
* Warning - bad CRC, using default environment

Destroy Hash Table: 1ffca978 table = (null)
Create Hash Table: N=172
INSERT: table 1ffca978, filled 1/173 rv 1fef57b8 ==> name="bootcmd"
value="setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off
console=$consoledev,$baudrate $othbootargs;tftp $loadaddr
$bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr"
Bad trap at PC: 10820010, SR: 1000, vector=2000000
NIP: 10820010 XER: 00000000 LR: 10480030 REGS: 00000001 TRAP: 2000000
DAR: 08000200
MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 00990080 00000100 00800040 00000100 00820000 04000800 20080010 10000000
GPR08: 00800000 02001100 30E00000 40000000 004A0000 80000200 21020000 00000000
GPR16: 00010020 2A000000 300C0000 08000200 002B0000 00001000 00100070 3B005000
GPR24: 00000001 00000100 20520000 00004100 001A0000 41000000 01000000 40000900
Call backtrace:
60000000
Exception in kernel pc 10820010 signal 0
Resetting the board.


More information about the U-Boot mailing list