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

GurumurthyGowdar
2009-07-30T10:08:35Z

On Thu, 30 Jul 2009 15:19:13 +0530 wrote
>
>
>On Thu, 30 Jul 2009 14:41:13 +0530 ?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.
>>
>>>Which u-boot version?
>>U-boot version is 1.3.1.
>>
>>>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.
>>
>>>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.
>>
>>>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.
>>>
>>>> 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:-
>>>>
>U-Boot 1.3.1 (Jul 29 2009 - 22:41:55)
>
>MPC8260 Reset Status: 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
>*** Warning - bad CRC, using default environment
>
>In: ? ?serial
>Out: ? serial
>Err: ? serial
>Net: ? FCC2 ETHERNET
>RIO->mtest 0x00700000 0x00800000
>
>
>Pattern 00000000 ?Writing... ? ? ? ? ? ?Reading...
>Pattern FFFFFFFF ?Writing... ? ? ? ? ? ?Reading...
>Mem error @ 0x0071E65C: found 00008F3F, expected 00008F21
>
>Pattern FFFFEA75 ?Writing... ? ? ? ? ? ?Reading...
>Mem error @ 0x00723684: found FFFF5CB6, expected FFFF5CD4
>
>Pattern 0000158B ?Writing... ? ? ? ? ? ?Reading...
>Pattern FFFFEA74 ?Writing... ? ? ? ? ? ?Reading...
>Pattern 0000158C ?Writing... ? ? ? ? ? ?Reading...
>Pattern FFFFEA73 ?Writing... ? ? ? ? ? ?NIP: 1FFA1F70 XER: 20000000 LR: 1FFA1F6C REGS: 1ffa1cf8 TRAP: 0700 DAR: 00000000
>MSR: 0008b002 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 00
>
>GPR00: 1FFA1F6C 1FFA1DE8 EFFFFFFF 00000000 00000000 00000010 1FFF6E08 00000000
>GPR08: 00000000 FFFFFFD0 00000000 00000000 1FFA1B78 FFF7FEFF 1FFFE000 1FFF44B8
>GPR16: 1FFF6E08 00000000 00000000 00000000 1FFF32D0 1FFF32F8 1FFF32FC 1FFF3308
>GPR24: FFFFFFFF 00000000 00000000 00000000 1FFB2228 00000000 00000000 00000000
>Call backtrace:
>Program Check Exception
>
>
>U-Boot 1.3.1 (Jul 29 2009 - 22:41:55)
>
>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
>*** Warning - bad CRC, using default environment
>
>In: ? ?serial
>Out: ? serial
>Err: ? serial
>Net: ? FCC2 ETHERNET
>RIO->NIP: 1FFD5834 XER: 00000000 LR: 1FFD5834 REGS: 1fed8cbe TRAP: 0600 DAR: 1FED8DB6
>MSR: 00003002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
>
>GPR00: 1FFD5098 1FED8DAE EFFFFFFF 1FED8DD6 1FED8ECE 00005F81 1FFD5000 1FFF7208
>GPR08: 1FFF7278 F0000080 NIP: 1FFA1DCC XER: 20000000 LR: 1FFA1DCC REGS: 1fed897c TRAP: 0700 DAR: 1FED8DB6
>MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
>
>GPR00: 1FFA1DCC 1FED8A6C EFFFFFFF 00000000 1FED8AA0 00000010 FFFFFFFF 00000030
>GPR08: 00000041 F0000088 00000000 F0000091 1FED89EC FFF7FEFF 1FFFE000 1FFF44B8
>GPR16: 1FFF2AB0 1FFF8E04 1FFF447C 1FFF6DD0 00003002 1FED8CAE 00000000 1FFD5098
>GPR24: 1FFD5828 1FFA1DCC 1FFF094C 1FFF0958 1FED8AA0 1FFA1F6C 1FFFE994 1FED8CBE
>Call backtrace:
>Program Check Exception
>
>

this same thing repeats and hangs , if i press hardware reset also it hangs here.....please help me out to solve this i am not able to identify where is the problem

with regards,
gurumurthy