Accessing SRAM from Linux on T-Series Processors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Accessing SRAM from Linux on T-Series Processors

963件の閲覧回数
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 返信

719件の閲覧回数
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 件の賞賛
返信