linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mpc755, sandpoint port and 1Gb of ram
@ 2003-07-02  2:21 Michael J. Accetta
  2003-07-02 17:25 ` Mark A. Greer
  0 siblings, 1 reply; 3+ messages in thread
From: Michael J. Accetta @ 2003-07-02  2:21 UTC (permalink / raw)
  To: linuxppc-embedded


Hello all,

We have a custom board built around the mpc755 and patterned after the
Sandpoint reference design using the MontaVista Pro 3.0 distribution.
This is a base 2.4.18 kernel which, according to the MV web, page includes the
2.4.17 linuxppc code.  When 1Gb ram is used, CONFIG_HIGHMEM is required
to access the top 256Mb.  However, the sandpoint port does

   io_block_mapping(0xfe000000, 0xfe000000, 0x02000000, _PAGE_IO);

whichs maps all of virtual 0xfexxxxxx to physical 0xfexxxxxx.  This call
ends up using BAT#0 to map the entire block.  However, the CONFIG_HIGHMEM
support in the base ppc port sets PKMAP_BASE to 0xfe000000 and expects
these virtual addresses to be available for dynamic mapping via kmap()
of high memory.  The conflicting mapping in the BAT takes precedence,
wreaking havoc with any accesses to high memory.  In our case NFS mounts
of the root file system was the first high memory user and init could
not be found.

I've made a stab at fixing this by configuring PKMAP_BASE down to 0xfc000000
and things now seem to work fine.  Is this a correct solution?  Are there
likely to be any negative side effects of this approach?  Are there
better solutions?

Mike Accetta
Laurel Networks, Inc.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-03 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-02  2:21 mpc755, sandpoint port and 1Gb of ram Michael J. Accetta
2003-07-02 17:25 ` Mark A. Greer
2003-07-03 16:31   ` Michael J. Accetta

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).