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

PetaLinux 2014.4 - The "ip" Command Fails to Properly Locate CAN Devices


I am using the Zynq-7000 CAN driver by following the steps on the wiki page:


However, when I run the ip command, I receive the following error message:

root@Xilinx-ZC706-2014_4:~# ip link set can0 type can bitrate 200000
ip: either "dev" is duplicate, or "type" is garbage


To work around this issue, follow the steps below:

Add the iproute package to the root filesystem of the PetaLinux project using the petalinux-config command:

$ petalinux-config -c rootfs

In the menuconfig for the root filesystem, navigate to the location below and add iproute2:

Filesystem Packages ---> base ---> iproute2 ---> [*] iproute2

AR# 65243
Date 09/23/2015
Status Active
Type General Article
  • Zynq-7000
  • PetaLinux - 2014.4