On Tue, Feb 26, 2002 at 09:30:01PM +0200, Paul Chitescu wrote:
> OK, another question: is it possible to disable the cache from the fixup
> routine? I currently have no possibility to pass a command line to the
> kernel - I tried to set a default command line with CONFIG_CMDLINE but it
> seems it does not help. I can see the setup_arch() sets the
> saved_command_line to:
> 
> root=0301 console=ttySA0,38400n8 noalign nocache nowb
> 
> 
> Are there any relevant examples?
> 
> Sorry to bother you all - I just wanna be able to do something while the HW
> guy tries to fix the problem.

You could examine the relevant arch/arm/mm/proc-*.S file and modify the
value passed back in for the control register in r0 (the function should
be called something like xxxx_setup, and it will have the control register
bits documented in groups of 4, eg WCAM).

You want to ensure the W and C bits are clear.

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to