port linux to prpmc610 kernel-2.4.25 with MVME2100 patch
A message that is not in the archive (sent off-list or not yet received): [email protected]
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?