We built PetaLinux 2016.2 for MicroZed SBC according to the steps in:
http://www.wiki.xilinx.com/Zynq+Linux+USB+Device+Driver
We used the BSP at http://microzed.org/sites/default/files/design/Avnet_MicroZed-7z020_2016_2_BSP.zip and we changed system-top.dts as instructed in the link above.
Unlike the regular MicroZed, the hardware of MicroZed SBC supports "USB peripheral mode" out-of-the-box.
Therefore, RNDIS in USB peripheral mode was supposed to work fine.
However we get the message "No such device" when we execute echo "ci_hdrc.0" > UDC and ifconfig -a doesn't show usb0. We noticed that we don't have ci_hdrc.0 in /sys/class/udc. I guess this is the reason.
What can be the reason of the missing ci_hdrc.0 file in /sys/class/udc?
Eliyahu