RPi 4B MMU seems to be enabled but throwing aarch64-default-exception error

Alan Cudmore alan.cudmore at gmail.com
Fri Sep 2 18:01:10 UTC 2022


Hi Noor,
Can you describe the setup you use for testing the BSP?
I can set up my Pi 4 to try running your code as you update it. How do you
setup the OCD connection?

Thanks,
Alan

On Fri, Sep 2, 2022 at 11:48 AM Noor Aman <nooraman5718 at gmail.com> wrote:

> Hey all,
> Raspberry Pi 4B MMU seems to be enabled, as reported by openocd but gdb is
> showing to run in a loop from aarch64-defaulit-exception.S file starting
> from code line number 143 to 220.
>
> From what I can gather, it is being caused by the wrong MMU address.
>  Here's a RAM and MMU allocation sizes and base
>
>   MEMORY {
>   RAM_MMU  : ORIGIN = 0x0, LENGTH = (0x1000 *
> ${AARCH64_MMU_TRANSLATION_TABLE_PAGES})
>   RAM      : ORIGIN = 0x80000, LENGTH = 1024M
>   }
>
> Relevant Openocd info
>
> bcm2711.cpu0 halted in AArch64 state due to debug-request, current mode:
> EL1T
> cpsr: 0x200003c4 pc: 0x8e208
> MMU: enabled, D-Cache: enabled, I-Cache: enabled
> Info : New GDB Connection: 1, Target bcm2711.cpu0, state: halted
>
> Any ideas?
>
> Thanks,
> Noor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220902/fcedcd35/attachment-0001.htm>


More information about the devel mailing list