AnsweredAssumed Answered

Accessing SRAM

Question asked by ranshalit on Jan 22, 2018
Latest reply on Jan 23, 2018 by igorpadykov



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.mx28 on-chip SRAM 

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 ) ?


Thank you,