Re: Requesting help

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

 



Hi Andy,
         Apologize, my bad, I forget to cc "dmaengine". THanks for the
pointers. Let me go through the Kernel allocation used by the
configuration and see if that makes sense.

Best
Girish

On Fri, Dec 19, 2014 at 2:42 AM, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> Do not use private mail for such topics. Next time I will just remove
> your mail without reading.
>
> On Thu, 2014-12-18 at 23:58 -0800, GIRISH HALADY wrote:
>> Hi Andy,
>>          Hope you are doing good. Apologize, I haven't had a chance to
>> work on the DMA thing that I was experimenting before.  I could get
>> the Xilinx's Petalinux to build with the DMATest as a kernel module
>> and have the test run on ZYNQ's Petalinux prompt. Please find the
>> screenshots attached
>>
>> However, the challenge that I have now is that I have a  8K
>> memory(RAM) extended at physical location 0x4000_0000 as follows in
>> the Device tree information passed to kernel config:
>
> It seems we already discussed this. [1]
>
>
> [1] http://www.spinics.net/lists/dmaengine/msg02574.html
>
>
>>
>> /*
>>  * CAUTION: This file is automatically generated by Xilinx.
>>  * Version: HSM 2014.2
>>  * Today is: Thu Dec 18 11:16:54 2014
>> */
>>
>> &ps7_axi_interconnect_0 {
>> ranges;
>> axi_bram_ctrl_0: axi-bram-ctrl@40000000 {
>> compatible = "xlnx,axi-bram-ctrl-4.0";
>> reg = <0x40000000 0x2000>;
>> xlnx,bram-addr-width = <0xb>;
>> xlnx,bram-inst-mode = "EXTERNAL";
>> xlnx,ecc = <0x0>;
>> xlnx,ecc-onoff-reset-value = <0x0>;
>> xlnx,ecc-type = <0x0>;
>> xlnx,fault-inject = <0x0>;
>> xlnx,memory-depth = <0x800>;
>> xlnx,s-axi-ctrl-addr-width = <0x20>;
>> xlnx,s-axi-ctrl-data-width = <0x20>;
>> xlnx,s-axi-id-width = <0xc>;
>> xlnx,s-axi-supports-narrow-burst = <0x1>;
>> xlnx,single-port-bram = <0x1>;
>> } ;
>> } ;
>>
>> Now I would want to be able to use the dmatest to perform DMA from DDR
>> to this memory and viceversa.  Would there be a way of specifying this
>> memory as either the source or the destination using dmatest module,
>> as Petalinux works on Virtual memory, I'm trying to figure out how to
>> specify the physical address of this memory to the kernel.
>>
>> Would greatly appreciate your help on this.
>>
>> Looking forward to hearing back from you soon.
>>
>> THanks and Best Regards
>>
>> Girish Halady
>
>
> --
> 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