All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: rmorin@miranda.com
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: MPC8240 PTE setup
Date: Mon, 22 Apr 2002 15:49:06 -0400	[thread overview]
Message-ID: <3CC46932.4040805@embeddededge.com> (raw)
In-Reply-To: 200204221807.g3MI7Uh27005@ares.gdc.ca


Robert Morin wrote:


> I have based my work on the Linux kernel 2.5.8 ....

You don't want to use that yet :-)  Use the 2_4_devel kernel.

> ....I can see with my BDI2000 that the
> MMU is not translating correctly virtual addresses to physical
> addresses.

The mmu always translates correctly, your programming of it
is probably incorrect :-)


> .... I made a patch to use a BAT instead of PTE but
> this cause only to move the problem further upstream

What BAT did you change, and to what?


> I have check the parameter passed with ioremap() and it's
> ok. With the BDI2000, I get this with the phys command:
>
> 	phys 0xfdfd0000          (virtual address returned by ioremap)
>
> 	PHYS = 0xfffff000	END = 0xffffffff
> instead of
> 	PHYS 0xfdf40000 END = 0xfdffffff

So, you did 'virt = ioremap(0xfdf40000)' and virt == 0xfdfd0000?
Where did you call ioremap()?  Are you trying to remap the EUMB registers
again (this is done in mpc10x_common.c for 82xx boards)?


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-04-22 19:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-22 18:07 MPC8240 PTE setup Robert Morin
2002-04-22 19:49 ` Dan Malek [this message]
2002-04-22 19:08   ` Robert Morin
2002-04-23 15:20     ` Tom Rini

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=3CC46932.4040805@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=rmorin@miranda.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.