zhemao / sockit_test

Figuring out the Arrow SoCKit
11 stars 10 forks source link

How to Build UVC with Linaro #2

Closed bangonkali closed 10 years ago

bangonkali commented 10 years ago

I have been working on OpenCV for a particular project. My intention is to do some hardware acceleration on some segments of the computer vision library. However as for the moment I'm still working on understanding everything in the Linux side.

I have followed the instructions on rocketboards regarding a Prebuilt image of Linaro for my SocKit. I was able to run the Linux in it. I then compiled the OpenCV library. However when I use my Logitech C525 WebCam it seems it is not detected. I have worked on a similar project on a purely ARM Board the CubieBoard and was successful in making OpenCV run on it with live video feed from the WebCam. However I have not been able to do some custom hardware acceleration because it has no FPGA component.

I thought maybe it's because UVC (USB Video Class) is not installed on the Example image from rocketboards. After a brief search on the internet it seems UVC can only be enabled during compilation of the Kernel. Because of this I began searching for information on the build procedure for Linux for my SocKit.

I have not been able to avail of the seminar/workshops provided by Arrow for SocKit because I'm from the Philippines. After my search it seems it has been your documentation and the from Rocketboards that really provides sufficient information. I'm hoping to ask if you could guide me in this process.

I was able to make Part 1, and Part 3, but only until "Programming the FPGA from HPS" on Part 3. I totally encountered an error on Part 2 but I will post the concerns on the error on Part 2 on a different issue because I believe it's a separate question.

However my ultimate concern for this issue is how do I enable UVC during compilation using Buildroot? Is it even supported? Thanks.