Re: DMA example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 25, 2010 at 7:54 AM, Philip Balister <philip@xxxxxxxxxxxx> wrote:
> On 02/24/2010 02:52 PM, Tony Lindgren wrote:
>>
>> * Philip Balister<philip@xxxxxxxxxxxx>  [100224 14:28]:
>>>
>>> On 02/24/2010 12:35 PM, Tony Lindgren wrote:
>>>>
>>>> * Philip Balister<philip@xxxxxxxxxxxx>   [100224 11:31]:
>>>>>
>>>>> I am trying to setup a dma operation to copy memory from GPMC
>>>>> address space into RAM. The only examples using the omap-dma api use
>>>>> hardware triggers.
>>>>>
>>>>> When I start a transfer, I end up with a DMA transaction error when
>>>>> I start the transfer.
>>>>>
>>>>> Does anyone have a good example of a software transfer? Currently, I
>>>>> am tracing the omap dma api to see how things map into the registers
>>>>> ....

For the record, some unit tests for OMAP device drivers are available at
http://dev.omapzoom.org/?p=richo/device_driver_test.git;a=summary.
In dma/test_code/utils/dma/dma_addrmode_doubleidx.c, there's normal
memory to memory transfer example..
Most of the omap_dma* api calls are done via dma_single_channel.c file.

Hope this helps,

Venkat.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux