[U-Boot] U-boot hangs in mtest in MPC8280 Board

GurumurthyGowdar gurumurthy.gm at rediffmail.com
Thu Jul 30 13:33:22 CEST 2009



On Thu, 30 Jul 2009 16:14:30 +0530  wrote
>Hello GurumurthyGowdar,
>
>GurumurthyGowdar wrote:
>> On Thu, 30 Jul 2009 12:54:31 +0530  wrote
>>> Hello GurumurthyGowdar,
>>>
>>> GurumurthyGowdar wrote:
>>>> i am using MPC8280 in our board which has 512MB of SDRAM i.e. from micron.
>>> Is this board in mainline, so I can look in the Source Code?
>> yes this board is in mainline.only one board.
>
>And which board is it? means ? it is MPC8280 based board called remote I/O board
>As I saw in your log, it uses the "normal" mtest. Try to use
>
>CONFIG_SYS_ALT_MEMTEST
how to use this...where to add...command for this test??
>
>instead. (Hopefully, this is available in 1.3.1 ...)
>
>>> Which u-boot version?
>> U-boot version is 1.3.1.
>
>Hmm.. this is very old ...
which is the latest version of u-boot ,can i upgrade the current version of u-boot to latest version i.e. from u-boot 1.3.1 to latest u-boot without reinstalling ELDK
>
>>> Which SDRAMs?
>> SDRAM is MT48LC32M16A2 from Micron.
>>>> when i give command mtest  only for 1MB to check memory test from U-boot, machine check and program exception is coming after 40 - 60mins later it hangs giving program check exception
>>> Hmm... maybe problems with your SDRAMs?
>> if it is SDRAM problem it should not work for 1hour also i think.
>
>Why not? 
ok
>
>>> Is this error shown always after 40-60 mins, not sometimes also earlier?
>> maximum i am able to run mtest for 1hr 30 mins. sometimes it hangs with 45mins also.
>
>Not earlier?
sometimes earlier but rare
>
>Hmm...
>
>>> Can you boot a Linux Kernel for example?
>> No. our job is to only give the board with U-boot boot loader, Linux booting is done by our client.
>
>But you can try it ...
>This would help here, to stress more the SDRAMs ... also you
>can do better memtests there/with it.

i got one new error which is below :- 
U-Boot 1.3.1 (Jul 27 2009 - 17:27:10)

MPC8260 Reset Status: Check Stop, External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 3x, VCO Div 4, 60x Bus Freq  16-50 , Core Freq  50-150
 - dfbrg 1, corecnf 0x10, busdf 4, cpmdf 1, plldf 0, pllmf 4, pcidf 3
 - vco_out  500000000, scc_clk  125000000, brg_clk   31250000
 - cpu_clk  300000000, cpm_clk  250000000, bus_clk  100000000

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 300 MHz
Board: MPC8280 Based Remote IO CARD.SLN Technologies Pvt Ltd.
I2C:   ready
DRAM:  512 MB
FLASH: 256.5 MB
*** Warning - bad CRC, using default environment

NIP: 1FFE8A88 XER: 00000000 LR: 1FFE89CC REGS: 1ffa1df0 TRAP: 0700 DAR: 00000000
MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00

GPR00: 00729878 1FFA1EE0 EFFFFFFF 28EE0928 1FFAB424 00006BC4 1FFA201D 3D313135 
GPR08: 1FFF0314 00000000 0028EE09 E6635C01 1FFA1CB0 FFF7FEFF 1FFFE000 DFFD2000 
GPR16: 1FFF6E00 00000000 00000000 00000000 00003002 00000001 00000000 1FFD5098 
GPR24: 1FFD57D4 01000000 1FFA1F20 00000000 1FFA2008 1FFA1F6C 1FFFEB88 1FFF715C 
Call backtrace: 
Program Check Exception


U-Boot 1.3.1 (Jul 27 2009 - 17:27:10)

MPC8260 Reset Status: Check Stop, External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 3x, VCO Div 4, 60x Bus Freq  16-50 , Core Freq  50-150
 - dfbrg 1, corecnf 0x10, busdf 4, cpmdf 1, plldf 0, pllmf 4, pcidf 3
 - vco_out  500000000, scc_clk  125000000, brg_clk   31250000
 - cpu_clk  300000000, cpm_clk  250000000, bus_clk  100000000

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 300 MHz
Board: MPC8280 Based Remote IO CARD.SLN Technologies Pvt Ltd.
I2C:   ready
DRAM:  512 MB
FLASH: Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.
Caused by (from msr): Machine check in kernel mode.

it hangs here only....if i do manual hardware reset it hangs in DRAM : 512MB as below

U-Boot 1.3.1 (Jul 27 2009 - 17:27:10)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 3x, VCO Div 4, 60x Bus Freq  16-50 , Core Freq  50-150
 - dfbrg 1, corecnf 0x10, busdf 4, cpmdf 1, plldf 0, pllmf 4, pcidf 3
 - vco_out  500000000, scc_clk  125000000, brg_clk   31250000
 - cpu_clk  300000000, cpm_clk  250000000, bus_clk  100000000

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 300 MHz
Board: MPC8280 Based Remote IO CARD.SLN Technologies Pvt Ltd.
I2C:   ready
DRAM:  512 MB

it hangs here only if i press manual hardware reset many times also.

if i power off & switch on then it reboots in normal way again.

>
>>>> i have checked the SDRAM configuration settings everything is fine as per the device datasheet.
>>>>
>>>> please i want to know where is the problem, what is the cause for this exception. why memory test fails after 40-60mins.
>>>>
>>>> error output is as attached:-
>>>>
>>>> MPC8260 Reset Status: Check Stop, External Soft, External Hard
>>>>
>>>> MPC8260 Clock Configuration
>>>>  - Bus-to-Core Mult 5x, VCO Div 2, 60x Bus Freq  20-60 , Core Freq 100-300
>>>>  - dfbrg 1, corecnf 0x1b, busdf 7, cpmdf 1, plldf 0, pllmf 7, pcidf 3
>>>>  - vco_out  528000000, scc_clk  132000000, brg_clk   33000000
>>>>  - cpu_clk  330000000, cpm_clk  264000000, bus_clk   66000000
>>>>
>>>> CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 330 MHz
>>>> Board: MPC8280 Based Remote IO CARD.SLN Technologies Pvt Ltd.
>>>> I2C:   ready
>>>> DRAM:  512 MB
>>>> FLASH: 256.5 MB
>
>If this is one chip, are there really 256,5 MB ?
>
>>>> *** Warning - bad CRC, using default environment
>>>>
>>>> NIP: 1FFE8A30 XER: 00000000 LR: 1FFE899CC REGS: 1ffa1df0 TRAP: 0700 DAR: 00000000
>>>> MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
>>>>
>>>> GPR00: 446BA781 1FFA1EE0 EFFFFFFF 3A858DD6 1FFA9F3C 000080C4 1FFA201D 3D313135 
>>>> GPR08: 1FFF0314 NIP: 1FFE9648 XER: 20000000 LR: 1FFE93DC REGS: 1ffa1a68 TRAP: 0700 DAR: 00000000
>>>> MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
>>>>
>>>> GPR00: 00000030 1FFA1B58 EFFFFFFF 1FFA1C1C 00000000 00000010 FFFFFFFF 00000030 
>>>> GPR08: 00000041 00000000 00000000 00000002 1FFA1B60 FFF7FEFF 1FFFE000 DFFD2000 
>>>> GPR16: 1FFF1240 1FFF1214 1FFF127C 1FFA1EA0 00003002 1FFA1DE0 1FFF47F8 1FFA1BD0 
>>>> GPR24: 1FFA1C14 00000041 1FFF094C 00000000 1FFF47A8 1FFA1F6C 1FFF$EBBC FFFFFFFF 
>>>> Call backtraace: 
>>>> Program Check Exception
>>> I cannot see here in this log, where you typed mtest ...
>> 
>> please see the attachment in this mail.i have captured the log file from hyper terminal. 
>
>Hmm.. I looked in the log. Is this right, that if you get this error
>u-boot never returns to the shell prompt?
>
>Also from your log:
>Pattern 0000158A  Writing...            Reading...
>Mem error @ 0x0071E65C: found 00008F3F, expected 00008F21
>                                    ^^                 ^^
>
>Pattern FFFFEA75  Writing...            Reading...
>Mem error @ 0x00723684: found FFFF5CB6, expected FFFF5CD4
>                                    ^^                 ^^
>                                    always the last byte seems broken
>
>Is there getting something hot and the board, and maybe disturb this datalines?
>
>bye
>Heiko
>-- 
>DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
>HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>


More information about the U-Boot mailing list