From: Matt Porter <porter@cox.net>
To: kas turi <inox_kas@yahoo.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Disabling data cache
Date: Tue, 1 Apr 2003 22:30:10 -0700 [thread overview]
Message-ID: <20030401223010.A30745@home.com> (raw)
In-Reply-To: <20030402013434.7201.qmail@web21010.mail.yahoo.com>; from inox_kas@yahoo.com on Tue, Apr 01, 2003 at 05:34:34PM -0800
On Tue, Apr 01, 2003 at 05:34:34PM -0800, kas turi wrote:
>
> 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:
Sure, you are hitting a number of places in early init
where the kernel uses dcbz. You need to "fix" those areas
and hack the BAT setting to cache inhibit the DBATs that
map lowmem. If you search the list archives, I recall an
old email describing what somebody did in detail to run
with dcache disabled on a classic PPC core.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-04-02 5:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-02 1:34 Disabling data cache kas turi
2003-04-02 5:30 ` Matt Porter [this message]
-- 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=20030401223010.A30745@home.com \
--to=porter@cox.net \
--cc=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).