Kernel stops when MMU is enabled

I'm working on a MPC8248 based custom made board. I used u-boot 1.1.4 as boot loader and a Linux 2.4.18 kernel. The rather old kernel is due to compatibility with an older MPC8xx based board and custom implementations in the kernel.

The boot loader is installed in flash and the kernel is uploaded via Ethernet to SDRAM at 0x00500000 (SDRAM physical base address is

0x00000000). The control is handed over from the boot loader to the kernel and the basic settings are made. When the kernel has configured the MMU (SDRAM address translation to 0xC0000000) it call rfi (in arc/ppc/kernel/head.S) and the kernel stops or crashes. As far as I can see the SRR0 contains the correct address and he BAT settings are also correct according to the datasheet.

Any suggestions on what to look for?

Thanks Mogens

Reply to
Winther
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.