Acquiring a Dedicated Buffer at Boot Time

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

Acquiring a Dedicated Buffer at Boot Time

443 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Reply

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