port linux to prpmc610 kernel-2.4.25 with MVME2100 patch
siman
siman at bsysjob.sharella.com
Tue Jan 10 23:06:37 EST 2006
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvme2100-linux-2.4.25.patch.bz2
Type: application/octet-stream
Size: 9130 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060110/ddacbc16/attachment.obj
More information about the Linuxppc-embedded
mailing list