[U-Boot] Failure (read/write) in mtest
Gurumurthy Gowdar
gurumurthy.gm at rediffmail.com
Fri Aug 28 19:10:58 CEST 2009
hi all,
when i enable CFG_ALT_MEMTEST...i got following error as below.
1st Iteration:-
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
FLASH: 256.5 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: FCC2 ETHERNET
RIO->mtest 0x40000 0x4ffff
Testing 00040000 0004ffff
Iterration: 12511
FAILURE (read/write): @0x0004e3d0: expected 0xffffc70a, actual 0xffffc72e
2nd Test Error:-
RIO->mtest 0x40000 0x4ffff
Testing 00040000 0004ffff
Iterration: 11537
FAILURE (read/write): @0x0004e258: expected 0xffffc768, actual 0xffffc72e
3rd TEst Error:-
RIO->mtest 0x40000 0x4ffff
Testing 00040000 0004ffff
Iterration: 11469
FAILURE (read/write): @0x0004d5c0: expected 0xffffca8e, actual 0xffffca2e
after this it hangs in all above conducted test, so let me know what is the issue. this test
will do integrity of the memory device as explained in the cmd_mem.c file...what does it
mean.
With thanks & Regards,
gurumurthy
On Thu, 30 Jul 2009 18:23:20 +0530 wrote
>
>
>
On Thu, 30 Jul 2009 17:50:47 +0530 wrote
>
>Hello GurumurthyGowdar,
>
>
>
>GurumurthyGowdar wrote:
>
>> 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
>
>
>
>How do you compile it?
>
>
>
>make xxx_config
>
>
>
>What is xxx for you?
>
>I looked in code but couldn;t find a "SLN Technologies" string ...
>
>
>
>>> 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??
>
>
>
>You just have to add this define in your board config file.
>
>I looked in 1.3.1, so you should add a
>
>
>
>#define CFG_ALT_MEMTEST 1
>
i have added this line. after adding this which command i have to give..same mtest or any
other command for CFG_ALT_MEMTEST ??
>
>
>
>>> 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
>
>
>
>http://git.denx.de/?p=u-boot.git;a=summary
>
>
>
>>>>> 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)
>
>>
>
>[...]
>
>> 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.
>
>
>
>Hmm... nothing spring to my mind, just the "standard" things:
>
>
>
>check your
>
>- HRCW
>
>- clocks
>
>- SDRAM
>
>settings
>
>
>
>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