public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Init sequence for enabling MMU at mpc5xx fails
@ 2008-07-22 15:54 Anthony Tonizzo
  2008-07-22 16:06 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Tonizzo @ 2008-07-22 15:54 UTC (permalink / raw)
  To: eCos Disuss

Andrey:

The MMU uses burst access to DRAM. It might very well be that
your burst patterns in the UPM memory are not quite correct.
You can check this by setting the BIH bit in the ORx register
for your DRAM. This will inhibit the use of UPM burst patterns and
use single beat patterns instead. If your board now works after
you enable the MMU, then you know where where to look.

Tony

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Re: Init sequence for enabling MMU at mpc5xx fails
  2008-07-22 15:54 [ECOS] Re: Init sequence for enabling MMU at mpc5xx fails Anthony Tonizzo
@ 2008-07-22 16:06 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2008-07-22 16:06 UTC (permalink / raw)
  To: Anthony Tonizzo; +Cc: eCos Disuss

Anthony Tonizzo wrote:
> Andrey:
> 
> The MMU uses burst access to DRAM. It might very well be that
> your burst patterns in the UPM memory are not quite correct.
> You can check this by setting the BIH bit in the ORx register
> for your DRAM. This will inhibit the use of UPM burst patterns and
> use single beat patterns instead. If your board now works after
> you enable the MMU, then you know where where to look.

Correct, but bursts only happen when doing cache operations.
On this hardware, the cache is not enabled until later - after
the point where Andrey's code is failing.

More likely is that the MMU setup does not include the ROM/FLASH
or RAM (stack) or even the CPU registers.  All of these must be
mapped (one-to-one, but mapped nonetheless) before the MMU can be
enabled.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2008-07-22 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 15:54 [ECOS] Re: Init sequence for enabling MMU at mpc5xx fails Anthony Tonizzo
2008-07-22 16:06 ` Gary Thomas

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 read-only IMAP folder(s) and NNTP newsgroup(s).