linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* port linux to prpmc610  kernel-2.4.25 with MVME2100 patch
       [not found] <20060110082311.B29B1689DF@ozlabs.org>
@ 2006-01-10 12:06 ` siman
  0 siblings, 0 replies; only message in thread
From: siman @ 2006-01-10 12:06 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

Hi All:
I still work for port the Linux to the prpmc610 board. I get the MVME2100
patch on the kernel-2.4.25, so I port base it, because the MVME2100 have the
MPC8240 CPU  similar  the MPC8245, they all have 603e core.

I use the light a LED on the prpmc610 to trace the kernel code. I start at
the "head's",  I found it will be dead on CPU initial. The detail
information is dead on the file "cpu_setup_6xx.S" function below:

setup_common_caches:
	mfspr	r11,HID0
	andi.	r0,r11,HID0_DCE
	ori	r11,r11,HID0_ICE|HID0_DCE
	ori	r8,r11,HID0_ICFI
	bne	1f			/* don't invalidate the D-cache */
	ori	r8,r8,HID0_DCI		/* unless it wasn't enabled */
1:	sync
	mtspr	HID0,r8			/* enable and invalidate caches */
	sync
	mtspr	HID0,r11		/* enable caches */
	sync
	isync
	blr

it will be dead on the 	"mtspr	HID0,r8			/* enable and
invalidate caches */" ,
 
who has any experience for this, Please tell me, Thank you so much.
The attached is MVME2100 patch file. 
Any very good man may tell me why dead?

[-- Attachment #2: mvme2100-linux-2.4.25.patch.bz2 --]
[-- Type: application/octet-stream, Size: 9130 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-10 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060110082311.B29B1689DF@ozlabs.org>
2006-01-10 12:06 ` port linux to prpmc610 kernel-2.4.25 with MVME2100 patch siman

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).