Accessing SRAM from Linux on T-Series Processors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Accessing SRAM from Linux on T-Series Processors

806 Views
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?

Tags (4)
0 Kudos
1 Reply

562 Views
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 Kudos