Accessing SRAM from Linux on T-Series Processors

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Accessing SRAM from Linux on T-Series Processors

964 次查看
EmbEng
Contributor III

We are going to attach an SRAM on the IFC interface of T1042 processor. I want to know how can we configure IFC in u-boot to support SRAM in addition to other NOR flashes already present on difference chip selects of IFC controller.

In addition to that, how can I access the SRAM afterwards in Linux? Is there any existing generic driver for SRAMs, do I need to write my own driver or can I access the memory mapped SRAM from /dev/mem in userspace? Which one of the mentioned three options is feasible?

标记 (4)
0 项奖励
回复
1 回复

720 次查看
Pavel
NXP Employee
NXP Employee

Look at attached file it is .dts file for the T1042d4rdb board.

Find the localbus alias in this file.

See the AN5125 about changing the "ranges":

https://www.nxp.com/docs/en/application-note/AN5125.pdf


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复