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

2022-09-04 Thread Alan Cudmore
with >> just one entry? >> >> Looking at the RT-Thread OS, they have the following Pi4/Aarch64 MMU >> table: >> >> >> https://github.com/RT-Thread/rt-thread/blob/master/bsp/raspberry-pi/raspi4-64/driver/board.c#L25 >> >> >> >> A

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

2022-09-04 Thread Noor Aman
om/RT-Thread/rt-thread/blob/master/bsp/raspberry-pi/raspi4-64/driver/board.c#L25 > > > > Alan > > *From: *Noor Aman > *Sent: *Friday, September 2, 2022 2:18 PM > *To: *Alan Cudmore > *Cc: *Hesham Moustafa ; William Moore > ; rtems-de...@rtems.org > *Subject: *Re: RPi

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

2022-09-03 Thread Alan Cudmore
/bsp/raspberry-pi/raspi4-64/driver/board.c#L25 AlanFrom: Noor AmanSent: Friday, September 2, 2022 2:18 PMTo: Alan CudmoreCc: Hesham Moustafa; William Moore; rtems-de...@rtems.orgSubject: Re: RPi 4B MMU seems to be enabled but throwing aarch64-default-exception error Openocd connection is on my

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

2022-09-02 Thread Noor Aman
Openocd connection is on my website. Here's the link to that. https://0xnoor.hashnode.dev/setup-openocd-with-jtag-uart-on-raspberry-pi-4-using-ft232h I pushed the code to my github repo. Be sure to checkout noor-dev branch. Here's the link for that. https://github.com/0xnoor/rtems And yes the cod

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

2022-09-02 Thread Alan Cudmore
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 wrote: > Hey all, > Raspberry Pi 4B MMU seems to be enabled, as reported b

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

2022-09-02 Thread Noor Aman
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 size