Instruction OCM
Sergey Temerkhanov
temerkhanov at yandex.ru
Tue May 20 04:53:22 EST 2008
mojtaba wrote:
>
> Dear all,
>
> I cannot run Linux when I have an instruction OCM in my design but,
> without instruction OCM everything is fine. I tried to do some
> debugging. It seems that the Linux memory management unit has a
> problem with that. After entering the MMU initialization phase, it
> suddenly jumps to address 0x00000700 it get stuck there. Is there
> anybody who have tried a design with instruction OCM? Do I need to do
> special configuration for the Linux kernel?
>
> Regards,
>
> Mojtaba
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Address 0x700 means invalid opcode exception.
If instruction OCM is same as data OCM (I think it's so) then any MMU
mapping is not applicable to this region at all as OCM controller
decodes virtual addresses bypassing any MMU mappings.
In your situation MMU maps virtual address of OCM to physical address
containing some random data and CPU tries to execute it. So you get
invalid opcode exception.
More information about the Linuxppc-embedded
mailing list