public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] prob. faced in UBoot with 64MB SDRAM
Date: Tue, 10 Apr 2007 08:42:19 -0400	[thread overview]
Message-ID: <461B862B.8030605@smiths-aerospace.com> (raw)
In-Reply-To: <9918727.post@talk.nabble.com>

Nethra wrote:
> Hello,
> 
> I m using U-Boot 1.1.2 for custom board similar to MPC8272ADS board.
> 
> On board it has 64MB Micron SDRAm and 16MB AMD flash.
> 
> When Uboot is configured for 16MB SDRAM it works fine.
> 
> A)But the same Uboot after doing necessary changes in OR1 to configure it
> for 64MB SDRAM.it fails to comeup properly.
> 
> So for 16MB 
> OR1:0xFF0030C0
> for 64MB
> OR1:0xFC002CC0
> 
> and other SDRAM register value remain the same 
> 
> BR1                   0x00001841
> PSDMR               0x8266B73E
> 
> PSRT                0x4B
> 
> MPTPR               0x1300
> 
> 
> when we debugged the Uboot through BDI we found that it always hangs after
> relocating the code in SDRAM.
>  but we ar not sure what could be the reason.....
> 
> 
> B) Also we found that same uboot for second board with same SDRAM and FLASH
> it comes up properly.
> And after configuring boot arguements environment variables.It will download
> the kermel image 
> and after uncompressing kernel image and mount NFS properly.
> But when the root prompt comes board will get reset and again start
> executing uboot. 
> and this get repeated in a loop.
> 
> C) One more observation on the second board where uboot comes up properly
> and kernel +Ramdisk boot arguments are configured.
> both kernel +Ramdisk image will be copied from tftp and start executing
> properly without any problem.
> 
> As far as HW is concerned both the board is same w.r.t to components
> mounted.             
> 
> kindly help in this respect with possible solution.
> 
> Thanking you.

Hi Nethra,

Your SDRAM initialization sequence (PSDMR & friends) is most likely 
wrong for the new RAM devices.  What worked with the 16MB SDRAM is not 
going to work with the 64MB SDRAM, timing parameters are nearly 100% 
guaranteed to be different.
   <http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation>

Best regards,
gvb

      reply	other threads:[~2007-04-10 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10 12:32 [U-Boot-Users] prob. faced in UBoot with 64MB SDRAM Nethra
2007-04-10 12:42 ` Jerry Van Baren [this message]

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=461B862B.8030605@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox