Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4824

Bare metal, Assembly language • Re: RPi 4B - MMU config with "high-peri" profile

$
0
0
I have looked more in depth and there seems to really be something weird going on with high peri and MMU.

I am using the highperi overlay now instead of setting the config.txt option which seems to be deprecated.

I tried mapping the memory both by looking at the bcm2711 peripherals pdf and by looking at the highperi overlay source code. Both look simple enough: main peripherals go to 0x47e000000, arm peripherals go to 0x4c0000000. I am not parsing the DTBs in my code though, I am using addresses.

In both cases, without using the MMU everything works, when I turn on the MMU the system does not work.

Notice that the code with MMU works in low peri mode though, exactly as pointed out in the other topic with the same name as this.

Statistics: Posted by yaw moo — Tue Mar 19, 2024 6:58 pm



Viewing all articles
Browse latest Browse all 4824

Trending Articles