> 
> Jamey Hicks writes:
> > In order to run with the I cache disabled, I would like to 
> add the following
> > instructions to __create_page_tables:
> 
> Why do you want to disable the I cache?

We have a logic analyzer, which attaches to all the pins of the SA110 chip
and allows us to trace all the signals from the chip.  If the I cache is
disabled, then we can trace instruction execution as we watch the
instruction fetches occur.  If the D cache is disabled, then we can trace
all the loads and stores.  If either cache is enabled, then we get partial
traces, which are much less useful for debugging.

It's really useful for that little bit of code in the beginning of the
kernel before printk etc. are working.  I thought I had this behind me, but
switching versions of gcc and changing from 2.2.12 to 2.3.x have both caused
me to sit down in front of the logic analyzer again.

-Jamey

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to