All of lore.kernel.org
 help / color / mirror / Atom feed
From: Feng Kan <fkan@amcc.com>
To: SunNeo <sunwx2001@hotmail.com>
Cc: linuxppc-dev@ozlabs.org, support@amcc.com
Subject: Re: Help!Some memory doesn't work on PPC405Ex based board!
Date: Tue, 14 Apr 2009 09:30:46 -0700	[thread overview]
Message-ID: <49E4BA36.2080102@amcc.com> (raw)
In-Reply-To: <BAY114-W4176A96E45AE37FB5FBE02AB7C0@phx.gbl>

Hi SunNeo:

The fact that it is hanging at the same place in kernel seems strange.
Usually when dram initialization is incorrect,
the kernel would not run at all. Uboot just hangs at relocate code. I
suggest you turn on early kernel printf to see
if you get some other outputs.

P.S when you have discrete memory on board. you have to be sure that
your calibration values are correct. The RDCC
RQDC value should be best possible. You can run the fix initialization
and then lift the autocalibration routine
to the end of the fix dram init to determine the best RFDC RQDC windows.
After that recode the fix values for those
registers.

Feng Kan
AMCC Software

SunNeo wrote:
> Hi, Stefan,
>  
> Thanks for your help.
>  
> My platform uses the MICRON MT47H256M8THN DDRII SDRAM and the DDRII SDRAM is soldered on the board.
>
> As I said, my board was similar with "Kilauea" evb, so I created my configuration header file from Kilauea's at U-Boot. In the configuration file, register value for the DDR SDRAM controller is defined. But I have removed DDR autocalibraton related configuration from the configuration file, do you think this will cause any issues?
>  
> I'm not sure what you mean about "intensive memory test". I use "mm" cmd under U-Boot command prompt to modify value of high 512M memory, and this command works well.
>  
> About booting Linux, the kernel hangs at the same location. Always after this print info "<4>Mount-cache hash table entries: 512".
>
> Best Regards,
> Sun
>  
>   
>> From: sr@denx.de
>> To: linuxppc-dev@ozlabs.org
>> Subject: Re: Help!Some memory doesn't work on PPC405Ex based board!
>> Date: Tue, 14 Apr 2009 11:23:02 +0200
>> CC: sunwx2001@hotmail.com
>>
>> On Monday 13 April 2009, SunNeo wrote:
>>     
>>> I'm porting Linux-2.6.29 on PPC405Ex based board, it's very similar to AMCC
>>> "Kilauea" evb.
>>>
>>> In my board, two 512MB DDRII memory is connected to 2 ranks of the 405Ex
>>> CPU. This 1GB memory works well at U-Boot-2009.01, but when I boot
>>> Linux-2.6.29, the kernel hangs somewhere.
>>>       
>> Does it just hang "somewhere", or always at the same location? A random hangup 
>> could mean that you are having a memory problem (hardware, or wrong 
>> initialization).
>>
>>     
>>> What interesting is, if I 
>>> configured the system to use only 512MB memory at U-Boot, the Linux can
>>> boot normally .
>>>       
>> Are you using DIMM's on your platform? Or soldered chips? Which memory 
>> initialization code are you using in U-Boot? And which autocalibration code?
>>
>> Did you do some intensive memory test?
>>
>> Best regards,
>> Stefan
>>     
>
>
>   _____  
>
> 把MSN装进手机,更多聊天乐趣等你挖掘! 立刻下载! <http://mobile.msn.com.cn/> 
>
>   

  parent reply	other threads:[~2009-04-14 16:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13 12:05 Help!Some memory doesn't work on PPC405Ex based board! SunNeo
2009-04-14  9:23 ` Stefan Roese
2009-04-14 11:08   ` SunNeo
2009-04-14 12:20     ` Stefan Roese
2009-04-14 12:20       ` [U-Boot] " Stefan Roese
2009-04-14 14:04     ` Grant Erickson
2009-04-14 16:30     ` Feng Kan [this message]
2009-04-15  7:56       ` [U-Boot] " SunNeo
2009-04-15  8:08         ` Stefan Roese
2009-04-23  5:00           ` SunNeo
2009-04-23  6:01             ` Grant Erickson
2009-04-23  8:07               ` Stefan Roese
2009-04-23  9:13                 ` SunNeo
2009-04-23  9:55                   ` Stefan Roese
2009-05-04  4:56                     ` SunNeo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49E4BA36.2080102@amcc.com \
    --to=fkan@amcc.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=sunwx2001@hotmail.com \
    --cc=support@amcc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.