UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 68118

2016.3 PetaLinux - Zynq UltraScale+ MPSoC: During Linux boot up, warning messages are generated [ 5.001929] xilinx-zynqmp-dma ffa80000.dma: main clock not found.

Description

During the boot-up of Linux, many of the DMA entries fail to initialize.

[    5.000564] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    5.000892] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    5.001029] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    5.001167] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    5.001306] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    5.001441] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    5.001580] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    5.001720] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    5.001855] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    5.001929] xilinx-zynqmp-dma ffa80000.dma: main clock not found.
[    5.001936] xilinx-zynqmp-dma ffa80000.dma: Probing channel failed
[    5.001963] xilinx-zynqmp-dma: probe of ffa80000.dma failed with error -2
[    5.002033] xilinx-zynqmp-dma ffa90000.dma: main clock not found.
[    5.002039] xilinx-zynqmp-dma ffa90000.dma: Probing channel failed
[    5.002055] xilinx-zynqmp-dma: probe of ffa90000.dma failed with error -2
[    5.002123] xilinx-zynqmp-dma ffaa0000.dma: main clock not found.
[    5.002129] xilinx-zynqmp-dma ffaa0000.dma: Probing channel failed
[    5.002145] xilinx-zynqmp-dma: probe of ffaa0000.dma failed with error -2
[    5.002213] xilinx-zynqmp-dma ffab0000.dma: main clock not found.
[    5.002220] xilinx-zynqmp-dma ffab0000.dma: Probing channel failed
[    5.002236] xilinx-zynqmp-dma: probe of ffab0000.dma failed with error -2
[    5.002303] xilinx-zynqmp-dma ffac0000.dma: main clock not found.
[    5.002310] xilinx-zynqmp-dma ffac0000.dma: Probing channel failed
[    5.002326] xilinx-zynqmp-dma: probe of ffac0000.dma failed with error -2
[    5.002394] xilinx-zynqmp-dma ffad0000.dma: main clock not found.
[    5.002401] xilinx-zynqmp-dma ffad0000.dma: Probing channel failed
[    5.002417] xilinx-zynqmp-dma: probe of ffad0000.dma failed with error -2
[    5.002484] xilinx-zynqmp-dma ffae0000.dma: main clock not found.
[    5.002491] xilinx-zynqmp-dma ffae0000.dma: Probing channel failed
[    5.002506] xilinx-zynqmp-dma: probe of ffae0000.dma failed with error -2
[    5.002574] xilinx-zynqmp-dma ffaf0000.dma: main clock not found.
[    5.002581] xilinx-zynqmp-dma ffaf0000.dma: Probing channel failed
[    5.002597] xilinx-zynqmp-dma: probe of ffaf0000.dma failed with error -2

These entries are found in the device tree, why am I receiving these warnings?

Solution

This is a known issue in the 2016.3 release. There is no clock information about ADMA in zynqmp-clk.dtsi.

You can work around the issue by adding the following to the device tree for the DMA nodes. 

You can add this to the system-top.dts file. You will need to build the project to incorporate the changes into your image.

 &lpd_dma_chan1 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffa80000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 77 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x868>;
   power-domains = <&pd_adma>;
  };
  &lpd_dma_chan2 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffa90000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 78 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x869>;
   power-domains = <&pd_adma>;
  };
  &lpd_dma_chan3 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffaa0000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 79 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x86a>;
   power-domains = <&pd_adma>;
  };
  &lpd_dma_chan4 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffab0000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 80 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x86b>;
   power-domains = <&pd_adma>;
  };
  &lpd_dma_chan5 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffac0000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 81 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x86c>;
   power-domains = <&pd_adma>;
  };
  &lpd_dma_chan6 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffad0000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 82 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x86d>;
   power-domains = <&pd_adma>;
  };
 &lpd_dma_chan7 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffae0000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 83 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x86e>;
   power-domains = <&pd_adma>;
  };
  &lpd_dma_chan8 {
   status = "disabled";
   compatible = "xlnx,zynqmp-dma-1.0";
   clock-names = "clk_main", "clk_apb";
   reg = <0x0 0xffaf0000 0x0 0x1000>;
   interrupt-parent = <&gic>;
   interrupts = <0 84 4>;
   xlnx,bus-width = <64>;
   #stream-id-cells = <1>;
   iommus = <&smmu 0x86f>;
   power-domains = <&pd_adma>;
  };

This issue is scheduled to be fixed in a future release of PetaLinux.

AR# 68118
Date Created 10/21/2016
Last Updated 11/03/2016
Status Active
Type Known Issues
Devices
  • Zynq UltraScale+ MPSoC
Tools
  • PetaLinux - 2016.3
  • PetaLinux - 2016.1
  • PetaLinux - 2016.2
Boards & Kits
  • Zynq UltraScale+ MPSoC Boards and Kits