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

2014.2 Petalinux -Design Advisory for AXI_UART_16550- Enabling external clock for baud rate results in error during petalinux-config --get-hw-description

Description

When the external clock is enabled for baud rate on a UART_16550 in the hardware design, the command Petalinux-config --get-hw-description(synch hardware) fails with the following error:

 

INFO: Checking component...
INFO: Getting hardware description...
INFO: Rename design_1_wrapper.hdf to system.hdf
****** hsm v2014.2
  **** SW Build 921552 on Mon May 26 14:30:35 MDT 2014
    ** Copyright 1986-2014 Xilinx, Inc. All Rights Reserved.
INFO: [Hsm 55-1698] elapsed time for repository loading 3 seconds
source /group/bcapps/seemas/cases/1014037/peta_project1/build/linux/hw-description/hw-description.tcl -notrace
INFO: [Common 17-206] Exiting hsm at Thu Jul  3 09:41:51 2014...
INFO: Config linux
[INFO ] oldconfig linux
[INFO ] generate DTS to /group/bcapps/seemas/cases/1014037/peta_project1/subsystems/linux/configs/device-tree
INFO: [Hsm 55-1698] elapsed time for repository loading 1 seconds
INFO: [Common 17-206] Exiting hsm at Thu Jul  3 09:41:58 2014...
ERROR: [Hsm 55-1545] Problem running tcl command ::sw_uartns::generate : ERROR:Trying to access frequency value from non-clock port "xin" of IP "axi_uart16550_0"
    while executing
"error "ERROR:Trying to access frequency value from non-clock port \"$clk_port\" of IP \"$cell_obj\"""
    (procedure "xget_ip_clk_pin_freq" line 8)
    invoked from within
"xget_ip_clk_pin_freq $ip "$clock_port""
    (procedure "::sw_uartns::generate" line 9)
    invoked from within
"::sw_uartns::generate axi_uart16550_0"
ERROR: [Hsm 55-1442] Error(s) while running TCL procedure generate()
ERROR: [Hsm 55-1450] Error: running generate_bsp.
make[1]: *** [autogen-dts] Error 1
make: *** [post-config-auto-dts] Error 255
ERROR: Failed to post config linux
ERROR: Failed to config subsystem linux.
 
When the external clock is not configured for baud rate, hardware synch is done with no errors.

Solution

There is a Tcl script workaround for the device tree generator.

 

Please save the attached uartns.tcl to <petalinux_install>/components/edk_user_repository/device-tree-generator/uartns/data

 

This should fix the above error while synching the hardware into Petalinux.

Attachments

Associated Attachments

Name File Size File Type
uartns.tcl 2 KB TCL
AR# 61609
Date Created 07/24/2014
Last Updated 07/25/2014
Status Active
Type Design Advisory
Devices
  • Zynq-7000
Tools
  • PetaLinux - 2014.2
IP
  • AXI UART 16550