This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: caching problem
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Vinayak P Risbud <vinayak at multitech dot co dot in>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 08 Oct 2002 06:07:36 -0600
- Subject: Re: [ECOS] caching problem
- References: <3DA26255.92F55FD3@multitech.co.in>
On Mon, 2002-10-07 at 22:43, Vinayak P Risbud wrote:
> Hi,
> I am trying to bringup Redboot on ARM940T board.
> If I disable, caching my code is working fine, and
> I am getting console on serial port.
> If I enable, caching, nothing works. The strange thing
> is, Every RAM location contains 0x0000107D
>
> What could be exact problem ?
The caches on these boards are notoriously hard to get working.
Make sure that your cache descriptions (var_cache.h) match the
hardware exactly. You might also try keeping the caches off
during hardware initialization and then only turn them on "by
hand" to see what's happening.
Finally, the problem with the cache might be a problem with
your code. Make sure that all I/O devices are marked as not
cacheable - running devices through the cache is most often
deadly.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss