Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG
I have a few questions about memory on the AM6442 and shared memory between R5F and A53 cores:
1. I understand why DDR must be reserved (via MPU Region setup on the R5F, via device tree on the A53/Linux) so Linux doesn't clobber memory in this region. If I were to share MSRAM between R5F and A53, do I need to reserve it in the same way (via MPU Region setup on R5F and adding an MSRAM entry to the RESERVED_MEMORY section of the device tree for Linux)?
2. I read a forum post that indicated the SBL is loaded into MSRAM during boot. At what point after boot can the cores use MSRAM without clobbering the SBL?
3. In the default device tree for the AM64x GP EVM, small DMA buffers are allocated for each R5F core. Is there any example showing how these buffers can be used? Can these buffers be removed to free up DDR, or are they required when using the R5F cores?
4. What is the preferred way to access reserved memory on the A53/Linux? Can we mmap() the reserved memory from user space? Or should we write a kernel driver to ioremap() the area of memory to share?