LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Mark A. Greer" <mgreer@mvista.com>
To: happa@wmlab.csie.ncu.edu.tw
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: About MMU setting in MPC8245
Date: Wed, 11 Jan 2006 09:07:09 -0700	[thread overview]
Message-ID: <20060111160709.GA6405@mag.az.mvista.com> (raw)
In-Reply-To: <20060111102618.0F9251100F2@wmlab.csie.ncu.edu.tw>

On Wed, Jan 11, 2006 at 06:26:18PM +0800, happa@wmlab.csie.ncu.edu.tw wrote:
> Hi,
> Sorry, I have very basic question about PPC MMU setting.
> 
> In "http://www.denx.de/wiki/PPCEmbedded/Kernel#BOOTLOADER",
> chapter 10.2. Memory Map, I get the following information.
>  
> "The bootloader is responsible for configuring the memory map before jumping to the Linux kernel."
> 
> Is anyone know what memory map should be done in bootloader? 

Are you in PCI host mode?  If so, the first sentence of chapter 3--
Address Maps of the 8245 manual states:

	"The MPC8245 in PCI host mode supports an address mapping
	configuration that is designated as address map B."

Map B == CHRP mapping.

> If I'm using ICE to load linux kernel, what kind of CPU registers need be configured first?
> Is IBAT/DBAT and Segment register need be set?

Why don't you just use U-boot or look at the U-Boot code to see how its
done?

Mark

  reply	other threads:[~2006-01-11 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 10:26 About MMU setting in MPC8245 happa
2006-01-11 16:07 ` Mark A. Greer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-12  6:45 happa

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=20060111160709.GA6405@mag.az.mvista.com \
    --to=mgreer@mvista.com \
    --cc=happa@wmlab.csie.ncu.edu.tw \
    --cc=linuxppc-embedded@ozlabs.org \
    /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