First I would suggest to use the eglibc image because it already contains UVC. Another option would be to download the uClibc image and install the UVC package from the AlexT repo. You can check an explanation about the difference between both images following this link https://communities.intel.com/message/241845.
A general step by step guide would look like this:
- Download the image for your Galileo from here: https://software.intel.com/en-us/iot/hardware/galileo/downloads.
- If you are using the uClibc-based image (not necessary if using the eglibc-based image), install UVC using the AlexT repo. In this link http://alextgalileo.altervista.org/package-repo-configuration-instructions.html you can find instructions on how to make use of his repo, and this one http://repo.opkg.net/galileo/ you’ll find the available packages.
- Next, make sure that your camera is supported by UVC, use this website to check that: http://www.ideasonboard.org/uvc/.
- Make sure that the UVC driver is loaded to your board and that the webcam is detected properly. You can use lsmod | grep uvc command for this. Ideally, this will display uvcvideo, videobu2_vmalloc and videobuf2_core.
- Check that the video device node has been created, use ls –l /dev/video0 command. The output should display /dev/video0.
Once you have /dev/video0 available you can use the webcam with other programs. Let us know if this helps you.