[ELDK] Facing some problem with dma alloc coherent
Zaahir Khan
kn.zahirkhan at gmail.com
Tue Sep 15 08:11:09 CEST 2009
Hello,
I am using customized board based on sequoia and using linux 2.6.24.2 kernel
eldk version 4.2.
Working on DVR driver.
when doing dma_alloc_coherent
"return" ----- virtual address for allocated area
dma_handle ----- physical address for "return" address
( as per my understanding)
When doing virt_to_phys to "return" address not getting value as dma_handle
DVR driver will alloc and then do mmap.
In that it will take convert the "return" address to physical
and use in remap_pfn_range...
May be due to this mis-match DVR app is crashing....
Please suggest !!!!!
Thanks & regards,
Zaahir Khan
More information about the eldk
mailing list