This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PowerPC hangs on memory read
- From: "Anthony Tonizzo" <atonizzo at lycos dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 18 Jun 2004 06:46:04 -0700
- Subject: Re: [ECOS] PowerPC hangs on memory read
- Organization: Lycos Mail (http://www.mail.lycos.com:80)
- Reply-to: atonizzo at lycos dot com
Andrew:
> You you checked the MMU setup? Maybe you don't have
> access to this location?
I had a hunch it was MMU, but I was under the mistaken
impression that when enabled, the MMU was mapped to a 1:1
correspondence between logical and physical address
_for_the_whole_extent_of_the_memory_ (this is not as
wasteful as it sounds since all the addressable space can
be covered with large memory blocks resulting in acceptably
sized translation tables).
Obviously I was wrong, because once I recompiled Ecos
to disabled the MMU, everything works alright.
I peeked around, and I found one particularly interesting
function in the HAL, cyg_hal_map_memory(). Can
this function be called at any time or is it a setup only
call? In other words, can you augment the MMU translation
table at any time?
Thanks for your help!
Tony
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss