I’m working on getting at the basic memory map of the system at a bare metal level. I’m having a hard time finding information outside of using linux with u-boot. Can anybody point me to information on how the memory map is layed out with the memory manager disabled? Right now I’m loading u-boot to get the system functional then loading programs through eclipse. It looks like the SDRAM starts a 0x0 but my FPGA design maps a peripheral to 0x0 also. I can access the memory mapped registers in the HPS from the datasheet but I’m missing how the DDR maps into the memory space along with any peripherals I’ve added when I build the FPGA. Initially I would like to disable the MMU and use the address space linearly, but its difficult to figure out because invalid accesses break the emulator environment.
First, how do I disable the MMU to have access to the complete memory space without causing a fault and second, when I create a peripheral how do I map it to a useable location in memory?
All help is appreciated.