linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Sébastien Côté" <scote1@matrox.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Page table -> SDR1
Date: Wed, 14 Feb 2001 14:28:40 -0500	[thread overview]
Message-ID: <20010214142840.A19657@dyn-52-73.matrox.com> (raw)
In-Reply-To: <5D2136DF3DD5D311AE89009027C67FB003138BA8@fmsmsx96.fm.intel.com>; from haifei.zheng@intel.com on Wed, Feb 14, 2001 at 14:00:57 -0500


Hello again,

Can someone explain me how the base address for the page table is set ?
Looking at hashtable.S, it should be set to 0x180000 and be 256 kB long.
However, when SDR1 is set in turn_on_mmu (head.S), they use _SDR1 to set
the value but I couldn't find anywhere where _SDR1 is set!

Also, when I check the value in the register SRD1, the HTABORG part (bits
0-15) show 0xE so this isn't 0x180000.  Finally, the value of HTABMASK
(bits 23-31) doesn't correcpond to what is recommended in the PowerPC book
from Motorola for 32 MB of RAM and a 256 kB page table.

To me, it seems like the page table isn't set up correctly but since I
don't really understand how it is done, maybe I'm wrong.  I would also be
very surprised to get that far (jumping to the first instruction of init)
without page table.  A little help about this would be very appreciated.


Sébastien Côté


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

  reply	other threads:[~2001-02-14 19:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 19:00 initrd problems on CLLF860T, please help Zheng, Haifei
2001-02-14 19:28 ` Sébastien Côté [this message]
2001-02-14 21:17 ` Dan Malek
2001-02-15 23:28   ` Graham Stoney
2001-03-26  8:33 ` Jari Nguyen Trung Thanh

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=20010214142840.A19657@dyn-52-73.matrox.com \
    --to=scote1@matrox.com \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).