Re: Issues with running dmatest

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

 



> Hi Andy,
>        Thanks for the reply. Apologize for the delay in getting back. I did try the step that you mentioned:
>
> zynq> ls -1 /sys/class/dma/
> dma0chan0
> dma0chan1
> dma0chan2
> dma0chan3
> dma0chan4
> dma0chan5
> dma0chan6
> dma0chan7
>
> Looks like all the 8 channels of PL330 are supported.  But as I said earlier, neither the kernel module method, nor the built-in command method seems to work.
>
> zynq> modprobe dmatest channel=dma0chan0 timeout=2000 iterations=1 run
> 1
> modprobe: chdir(3.14.0-xilinx-dirty): No such file or directory
>
>
> zynq> dmatest.channel=dma0chan0 dmatest.timeout=2000 dmatest.iterations=1 dmates
> t.run=1
> -/bin/ash: dmatest.channel=dma0chan0: not found
>
> Please suggest what needs to be changed to get this test to work.
>
> Best Regards
> Girish
>
>
>
> On Mon, Oct 6, 2014 at 4:20 AM, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>>
>> On Sun, 2014-10-05 at 23:56 -0700, GIRISH HALADY wrote:
>> > Hi Andiry,
>> >       Thanks for the post on www.kernel.org:
>> > https://www.kernel.org/doc/Documentation/dmatest.txt
>> >
>> >
>> First of all, I dared to answer this mail publicly. Please, keep the
>> mailing list address in the Cc list (dmaengine@xxxxxxxxxxxxxxx) for now
>> and for any future mail regarding to DMA engine subsystem related
>> issues.
>> >
>> > I was trying to run this test on my target (Microzed Zynq7010 board).
>> > I could get the dmatest compiled within the kernel. However, when I
>> > try running the command I get some strange error. Thought  I check
>> > with you if I am missing something.
>>
>> > The objective that I setforth was to be able to run the dmatest from
>> > DDR to a RAM instance in the Programmable Logic which is mapped to the
>> > processing system (PS7) that runs dual-ARM A9 and an embedded linux
>> > kernel on it.
>>
>> > zynq> modprobe dmatest channel=dma0chan0 timeout=2000 iterations=1 run
>> > =1
>> > modprobe: chdir(3.14.0-xilinx-dirty): No such file or directory
>> >
>> > Kernel command : ERROR
>>
>> > zynq> dmatest.channel=dma0chan0 dmatest.timeout=2000 dmatest.iteration
>> > s=1 dmatest.run=1
>> > -/bin/ash: dmatest.channel=dma0chan0: not found
>>
>> > Please help me understand how I go about fixing this.
>> >
>> Have you tried to get the list of available dma channels first as
>> suggested by the documentation?
>>
>> "Hint: available channel list could be extracted by running the
>> following command:
>>         % ls -1 /sys/class/dma/
>> "
>>
>>
>> --
>> Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>> Intel Finland Oy
>>
>
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux