From: Scott Anderson <scott_anderson@mvista.com>
To: Patrick Huesmann <tricknology@gmx.de>
Cc: linuxppc-embedded@lists.linuxppc.org, v2p@mind.be
Subject: Re: ppc-linux still not booting on my virtexII board
Date: Wed, 25 Aug 2004 12:10:13 -0700 [thread overview]
Message-ID: <412CE415.6010201@mvista.com> (raw)
In-Reply-To: <24181.1093452013@www39.gmx.net>
Patrick Huesmann wrote:
> Then there is a possibility of cache problems. Someone on this list
> suggested that I better flush the caches before booting, using a code
> snippet like this:
>
> for(i=0; i<16384; i+=32) {
> asm("dccci 0,%0" :: "r"(i));
> }
> asm("iccci 0,0");
> asm("sync;isync");
You should probably invalidate the cache before you flush it. There is
code to do this for the ML300. Search for "mfdccr" in:
http://ppc.bkbits.net:8080/linuxppc-2.4/anno/arch/ppc/boot/simple/embed_config.c@1.24?nav=index.html|src/|src/arch|src/arch/ppc|src/arch/ppc/boot|src/arch/ppc/boot/simple
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-08-25 19:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 16:40 ppc-linux still not booting on my virtexII board Patrick Huesmann
2004-08-25 19:10 ` Scott Anderson [this message]
2004-08-25 19:25 ` Patrick Huesmann
2004-08-25 20:09 ` Patrick Huesmann
-- strict thread matches above, loose matches on Subject: below --
2008-04-25 3:18 yanlong wang
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=412CE415.6010201@mvista.com \
--to=scott_anderson@mvista.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=tricknology@gmx.de \
--cc=v2p@mind.be \
/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).