ppc-linux still not booting on my virtexII board

Scott Anderson scott_anderson at mvista.com
Thu Aug 26 05:10:13 EST 2004


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/





More information about the Linuxppc-embedded mailing list