If you need a fast and maintained linux-based firmware package for your webcam then here is the best place for you - https://github.com/showmewebcam/showmewebcam.
- linux-based firmware package
- fast boot
- uvc-gadget inside
If you want to build it yourself, then here is a place for you.
New documentation for uvc-gadget
Usage: ./uvc-gadget [options]
Available options are
-b value Blink X times on startup (b/w 1 and 20 with led0 or GPIO pin if defined)
-f device Framebuffer device
-h Print this help screen and exit
-l Use onboard led0 for streaming status indication
-n value Number of Video buffers (b/w 2 and 32)
-p value GPIO pin number for streaming status indication
-r value Framerate for framebuffer (b/w 1 and 30)
-u device UVC Video Output device
-v device V4L2 Video Capture device
-x show fps information
- host:
make - Cross compile:
make ARCH=arch CROSS_COMPILE=cross_compiler
eg:
make ARCH=arm CROSS_COMPILE=arm-hisiv600-linux- - or:
set ARCH, CROSS_COMPILE, KERNEL_DIR in Makefile
-
Apply patchset Bugfixes for UVC gadget test application
-
Apply patchset UVC gadget test application enhancements
-
Add Readme/.gitignore and documentations
Copy linux-3.18.y/drivers/usb/gadget/function/uvc.h into repository, change include path for build
- Original uvc-gadget.git
- Fork(copy) uvc-gadget.git - wlhe
- Fork(copy) uvc-gadget.git - climberhunt / Dave Hunt
- Fork(copy) uvc-gadget.git - peterbay / Petr Vavrin
- better usb gadget configuration - maybe https://github.com/libusbgx/libusbgx
- better readme and wiki pages