This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请问在am335x的设备树GPMC增加一个节点后,怎么操作SRAM?



在am335x-boneblack.dts的GPMC上增加一个节点后,比如:

sram@0,0 {
compatible = "xxx,xxxxxx";
reg = <0 0 0x8000>;
bank-width = <2>

.......

};

系统启动后通过打印发现能进入probe,也成功将设定的物理地址映射好,但问题是怎样操作这些映射好的SRAM空间?譬如在应用层操作该空间