linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Disabling data cache
@ 2003-04-02 14:28 Jean-Denis Boyer
  2003-04-02 16:40 ` Matt Porter
  0 siblings, 1 reply; 11+ messages in thread
From: Jean-Denis Boyer @ 2003-04-02 14:28 UTC (permalink / raw)
  To: Matt Porter, kas turi; +Cc: linuxppc-embedded


There is a kernel configuration option for that: CONFIG_DCACHE_DISABLE.
In the kernel configuration UI, look into the section 'MPC8260 CPM Options'.

Regards,
--------------------------------------------
 Jean-Denis Boyer, B.Eng., Technical Leader
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Disabling data cache
@ 2003-04-02 17:14 Ralph Blach
  0 siblings, 0 replies; 11+ messages in thread
From: Ralph Blach @ 2003-04-02 17:14 UTC (permalink / raw)
  To: Matt Porter; +Cc: linuxppc-embedded


Yes, I gave it a breif test and it did not work and I did not have time to
debug it.

Chip


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Disabling data cache
@ 2003-04-02  1:34 kas turi
  2003-04-02  5:30 ` Matt Porter
  0 siblings, 1 reply; 11+ messages in thread
From: kas turi @ 2003-04-02  1:34 UTC (permalink / raw)
  To: linuxppc-embedded


Hi
  We have a custom made board and we are running 8250
processor. We are using DMA to transmit and receive
data between peripheral and memory. The data is
getting corrupted while transmitting and receiving. We
are suspecting it might be due to data cache being
enabled. So I disabled data cache in the routine
enable_cache in the file arch/ppc/kernel/head.S. I
rebuilt the kernel and when I run on my board it hangs
after printing "Now booting the kernel". I would like
to know why the kernel is not booting up. I have
enclosed the console output:

Transfering control to linux (at address 00400040)
loaded at : 00400040   0040b340
relocated to : 00400000 0040b300
board data at: 007FFE40 007FFEF8
relocated to: 0040B148  0040B200
image at:     0040B340  004B6026
avail ram:    004B7000  04000000

Linux/PPC load: console=ttyS0,9600
root=/dev/mtdblock/1
Uncompressing linux
Now booting the kernel

Also I would like to understand what is the use of ESE
bit in SIUMCR. Should this bit be always enabled
whenever data cache is enabled.

Any help is appreciated.

Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-04-04 22:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 14:28 Disabling data cache Jean-Denis Boyer
2003-04-02 16:40 ` Matt Porter
2003-04-02 19:23   ` Dan Malek
2003-04-02 19:46     ` Tom Rini
2003-04-02 20:19       ` Wolfgang Denk
2003-04-03 14:59         ` Tom Rini
2003-04-04 22:49           ` Wolfgang Denk
2003-04-02 21:59       ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2003-04-02 17:14 Ralph Blach
2003-04-02  1:34 kas turi
2003-04-02  5:30 ` Matt Porter

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 NNTP newsgroup(s).