Since early this year, I’ve been working on a BSP project. The biggest challenge was understanding physical memory layout, specifically why certain addresses are defined in the DTS and don’t fall within other expected ranges.
To tackle this, I created a complete memory map of the chip to explain.
Fortunately, NXP has made the kernel source and reference manuals for the S32G3 chipset publicly available. This allows us to practice designing memory map diagrams freely using these resources—big thanks to NXP!
The image below shows the complete memory map, including kernel-reserved memory regions.
is designed as a 64MB storage.
Conclusion
We have been exploring the memory map of the chip. This can be challenging for BSP newcomers, but it’s essential knowledge.
For instance, U-Boot, a bootloader uses environment variables such as loadaddr and fdtaddr to load binaries into DRAM. In such cases, understanding the accessible memory range is crucial.
I hope you found this post helpful and insightful!
SOCIAL SHARE CARD GENERATOR