• Content count

  • Joined

  • Last visited

About SMatt

  • Rank

Profile Information

  • Gender
  • Location
  • Interests
    ICT, Electronics, Embedded System
  1. Linux Gadget

    Hi all, I'm new in this world and I hope someone could help me in this issue I'm working on a project in the Uniersity where I would like to use the Zedboard as UVC device to stream video from FPGA to the host. I'm able to build, configure and run the kernel from SD but I'm having some problem to connect the Zedboard as peripheral mode and to detect it as UVC gadget. In particular I've configured the kernel to act in peripheral mode following this instruction : To let the Zedboard act as gadget I started from this guide and then I configured the kernel for USB Webcam gadget enabling these option: <*> USB functions configurable through configfs [*] USB Webcam function <*> USB Gadget Drivers (USB Webcam Gadget) At the end of building kernel process I have the g_webcam.ko and the libcomposite.ko modules. After that I boot the linux on the Zedboard and I tried to load the modules with insmod command but having this issue: Welcome to Linaro 12.11 (GNU/Linux 4.9.0-xilinx-25595-g68e6869-dirty armv7l) * Documentation: root@linaro-ubuntu-desktop:~# cd / root@linaro-ubuntu-desktop:/# ls bin dev home lost+found mnt proc run selinux sys usr boot etc lib media opt root sbin srv tmp var root@linaro-ubuntu-desktop:/# cd home root@linaro-ubuntu-desktop:/home# cd linaro root@linaro-ubuntu-desktop:/home/linaro# ls examples.desktop g_webcam.ko g_zero.ko libcomposite.ko root@linaro-ubuntu-desktop:/home/linaro# insmod libcomposite.ko root@linaro-ubuntu-desktop:/home/linaro# insmod g_webcam.ko insmod: error inserting 'g_webcam.ko': -1 Unknown symbol in module root@linaro-ubuntu-desktop:/home/linaro# I also tried to connect the Zedboard to a Windows host and obviously nothing succeed. Could someone help me please? Thanks. -Mattia