Acquiring a Dedicated Buffer at Boot Time

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

Acquiring a Dedicated Buffer at Boot Time

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

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