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] SDRAM initialization process - U-BOOT1.1.1
Date: Mon, 30 Jan 2006 17:39:32 -0500	[thread overview]
Message-ID: <43DE95A4.4050500@smiths-aerospace.com> (raw)
In-Reply-To: <BAY16-F210002463F18E21B4EC4E2B7090@phx.gbl>

ronen no wrote:
> Hello,
> 
> we are in the process of initializing the SDRAM refresh procedure with 
> MPC8260.
> As we get started, we have seen that u-boot.1.1.1 code includes two 
> functions
> which includes:
> board/mpc8260ads/mpc8260ads.c   initdram()
> cpu/cpu.c                                    upmconfig()
> 
> we have seen that initdram() is called from  init_func_ram() in 
> board/lib_ppc/board.c
> Also, init_func_ram() is a function pointer in the array init_sequence[].
> 
> we have not seen that the function upmconfig() is ever called for 
> MPC8260ads, and
> we would like to know whether we should call it.
> 
> Currently, we have the u-boot1.1.1 reaching the relocate_code to the 
> point where
> the kernel image is copied from Flash to SDRAM, but the image in the 
> SDRAM is corrupted.
> 
> The question is: is there a bug in the mpc8260ads that does not call the 
> upmconfig()
> or we should not call it at all?
> 
> Looking forward for your input.
> 
> Regards,
> Ronen

The SDRAM is controlled by the SDRAM machine which is initialized by 
initdram().  The UPM machine is not used to control the SDRAM (at least 
in any 82xx system I'm aware of), so not calling upmconfig() is not an 
error unless your board uses the upm for something (sounds like not).

You probably have a problem in your SDRAM initialization: this is a 
tough area to set up correctly because it depends on your SDRAM and 
other hardware.  Make sure your initialization matches the 
manufacturer's recommended initialization.

FAQ:
<http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation>

gvb

      reply	other threads:[~2006-01-30 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 21:58 [U-Boot-Users] SDRAM initialization process - U-BOOT1.1.1 ronen no
2006-01-30 22:39 ` 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=43DE95A4.4050500@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