linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: kas turi <inox_kas@yahoo.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Disabling data cache
Date: Tue, 1 Apr 2003 17:34:34 -0800 (PST)	[thread overview]
Message-ID: <20030402013434.7201.qmail@web21010.mail.yahoo.com> (raw)


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/

             reply	other threads:[~2003-04-02  1:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02  1:34 kas turi [this message]
2003-04-02  5:30 ` Disabling data cache Matt Porter
  -- strict thread matches above, loose matches on Subject: below --
2003-04-02 14:28 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
2003-04-02 17:14 Ralph Blach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030402013434.7201.qmail@web21010.mail.yahoo.com \
    --to=inox_kas@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).