I try to understand how to access SRAM with imx6.
I've seen previous post about accessing SRAM but it seems to deal only with how to define it in dts, not how to test its access
I would like to ask:
1. Using other socs, it usually requires no specific driver, but it is a plain access to memory space. Is it really required to define it in dts in order to access the memory ? Is it required even if the access is only from userspace not kernel.
2. How do we test access to SRAM, is it by accessing the physical memory (using mmap or /dev/mem for example ) ?