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

Heiko Schocher
2009-07-30T12:12:11Z

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

>> 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