Acquiring a Dedicated Buffer at Boot Time

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

Acquiring a Dedicated Buffer at Boot Time

457 次查看
manoloruiz
Contributor III


Hi,

I would like to have a dedicated buffer in RAM at Boot Time  in my T2080RDB. For example, I would like to have the first 50MB of my ram to use for DMA transfers. And O.S. cannot allow to touch this space for it use.

BR

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

348 次查看
alexander_yakov
NXP Employee
NXP Employee

This is not supported directly, but please keep in mind Linux works with memory you give to it at boot time, so you can simply restrict memory size to give to Linux, and use all remaining memory for your other purposes.

Another question is how you are going to run this DMA in parallel with Linux, this is another tricky job. I think the more easy way will be to use Linux DMA driver we supply with our Linux (drivers/dma/fsldma.c)


Have a great day,
Alexander

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

0 项奖励