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# 69587

2017.1/2 Zynq UltraScale+ MPSoC: Linux hangs when accessing PL peripheral generated by Yocto.

Description

This is a known issue with Common Clock Framework (CCF) and PL IP clocks. 

When the PL IP is in the design, DTG does not generate the clock nodes in DTS to specify the clocks used by corresponding IP. 

When CCF is enabled it will turn off all of the unused clocks or those not voted for by their corresponding drivers.

All of the drivers for PL IPs need to use CCF to set the IP clocks. If not, it can cause the system to hang on Linux.

CCF disables unused clocks.

Solution

Work-around:

To work around this issue you can use meta-xilinx-tools DTG, or set the bootargs in DTSI to "clk_ignore_unused" so that CCF will not disable the unused clocks automatically.

Fix:

From the 2018.1 release on, all of the drivers will need to use CCF. 

DTG will generate the PL DTSI clock entries in 2018.1.

If the device-tree is generated by DTG, clk_ignore_unused will be set to bootargs when the PL IP exists. 

Please do not remove clk_ignore_unused, otherwise the system will hang for any PL register/memory access.

Building the Device Tree manually:

Add the clk_ignore_unused property in the bootargs device-tree.

chosen {
    bootargs = "clk_ignore_unused";
}

Yocto:

The device-tree generated by meta-xilinx-tools layer and clk_ignore_unused device-tree property is appended.

If you use meta-xilinx alone this device-tree property will be not be generated.

You will need to use the in-kernel DTS (from Xilinx Linux) and manually add the clk_ignore_unused property in the bootargs device-tree.

chosen {
    bootargs = "clk_ignore_unused";
}

 

PetaLinux:

PetaLinux uses meta-xilinx tools DTG which generates the  "clk_ignore_unused" device-tree property.

 
AR# 69587
Date 09/13/2017
Status Active
Type Known Issues
Devices
  • Zynq UltraScale+ MPSoC
Tools
  • Yocto
  • Linux
Boards & Kits
  • Zynq UltraScale+ MPSoC Boards and Kits
Page Bookmarked