public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: David Hawkins <dwh@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] Initialization
Date: Fri, 03 Oct 2008 14:24:20 -0700	[thread overview]
Message-ID: <48E68D84.7050307@ovro.caltech.edu> (raw)
In-Reply-To: <d970ff420810031412l753efc8cjd0fbc798eccd405e@mail.gmail.com>

Hi Alemao,

> In my MPC8360 board I have the BMS bit (from the reset configuration
> word high register, CFG_HRCW_HIGH in u-boot) seted to '0', that means:
> 
> 	 8 Mbytes at 0x0000_0000 to 0x007F_FFFF

Yep, an 8MB window starting at address zero.
The processor will jump to address 0x100 when it comes
out of reset.

> But then still in u-boot I set my DDR & Flash:
> 
> 	CFG_DDR_BASE 0x00000000
> 
> 	CFG_FLASH_BASE 0xFF000000
>  
> So it wont conflict?

U-boot moves the memory map around during processor
initialization and avoids any conflict.

> Or the reset configuration word is used only when
> the core comes out of reset and then u-boot remmap things to
> CFG_DDR_BASE and CFG_FLASH_BASE?
> 
> My new flash is only 1MB, so can i set CFG_FLASH_BASE 0xFFF00000 ?
> Or it has a minimum like 8MB (0xFF800000) ?

You can put it where ever you like, so either of the
addresses you mention would be ok.

If you happen to have an evaluation board, then just
put your flash in the same location as the eval board, it'll
save you having to remember which address to use when you're
flipping between boards :)

Cheers,
Dave

      reply	other threads:[~2008-10-03 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 21:12 [U-Boot] Initialization Alemao
2008-10-03 21:24 ` David Hawkins [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=48E68D84.7050307@ovro.caltech.edu \
    --to=dwh@ovro.caltech.edu \
    --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