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

2016.3 PetaLinux: TCF agent is not loading automatically if I enable the TCF agent in PetaLinux Config for all MicroBlaze designs.

Description

Note: This issue has been reported for KC705 PetaLinux images. The issue is not occurring in ZC702 and ZCU102 images.

If I create PetaLinux images with TCF agent enabled in the config file, after booting Linux, I do not see that TCF agent running.

Here is the list of processes running after booting Linux. This list should show tcf-agent.

root@Xilinx-KC705-AXI-full-2016_3:~# ps
PID   USER     TIME   COMMAND
    1 root       0:05 init [5]
    2 root       0:00 [kthreadd]
    3 root       0:00 [ksoftirqd/0]
    4 root       0:00 [kworker/0:0]
    5 root       0:00 [kworker/0:0H]
    6 root       0:00 [kworker/u2:0]
    7 root       0:00 [kdevtmpfs]
    8 root       0:00 [khungtaskd]
    9 root       0:00 [oom_reaper]
   10 root       0:00 [writeback]
   11 root       0:00 [kcompactd0]
   12 root       0:00 [crypto]
   13 root       0:00 [bioset]
   14 root       0:00 [kblockd]
   15 root       0:00 [watchdogd]
   16 root       0:00 [rpciod]
   17 root       0:00 [kworker/0:1]
   18 root       0:00 [kswapd0]
   19 root       0:00 [nfsiod]
   20 root       0:00 [cifsiod]
   34 root       0:00 [bioset]
   35 root       0:00 [bioset]
   36 root       0:00 [bioset]
   37 root       0:00 [bioset]
   38 root       0:00 [bioset]
   39 root       0:00 [bioset]
   40 root       0:00 [bioset]
   41 root       0:00 [bioset]
   42 root       0:00 [bioset]
   43 root       0:00 [bioset]
   44 root       0:00 [bioset]
   45 root       0:00 [bioset]
   46 root       0:00 [bioset]
   47 root       0:00 [bioset]
   48 root       0:00 [bioset]
   49 root       0:00 [bioset]
   50 root       0:00 [kworker/u2:1]
   53 root       0:00 [irq/1-40800000.]
   62 root       0:00 [deferwq]
  323 root       0:00 /usr/sbin/inetd
  352 root       0:00 udhcpc -R -b -p /var/run/udhcpc.eth0.pid -i eth0
  361 root       0:00 /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key
  370 root       0:00 {start_getty} /bin/sh /bin/start_getty 115200 ttyS0
  371 root       0:00 -sh
  386 root       0:00 ps

Solution

This is a known issue in PetaLinux 2016.3. The TCF agent does not have executable permissions set. To work around the issue, after Linux boots up, change the permission to the TCF executable and then run the tcf-agent:

root@Xilinx-KC705-AXI-full-2016_3> chmod +x ./usr/sbin/tcf-agent

root@Xilinx-KC705-AXI-full-2016_3>tcf-agent&

This issue is scheduled to be fixed in the 2016.4 release.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
68057 PetaLinux 2016.3 - Product Update Release Notes and Known Issues N/A N/A
AR# 68004
Date Created 09/30/2016
Last Updated 11/09/2016
Status Active
Type General Article
Devices
  • FPGA Device Families
Tools
  • Vivado Design Suite - 2016.3