This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to add UVC driver into ti-davinci kernel (v.2.6.18) ?

I want to build UVC(usb video class) driver into ti-davinci kernel (v.2.6.18) by static driver (not .ko). The uvc driver I got from TI is uvcvideo-bff77ec33116. What I do is to :

1. put "uvcvideo-bff77ec33116\linux\drivers\media\video\uvc" into "ti-davinci/drivers/media/video"
2. modify Makefile and Kconfig in "ti-davinci/drivers/media"

But I got compile errors with uvc_v4l2.c and uvc_ctrl.c when building uImage
Any suggestions ? How do I add uvc driver into ti-davinci kernel correctly ?

Thanks

-- rick

  • I am not too familiar with the entire process, but there are Konfig and make files that define the hirerchy of available drivers as well as which source code is associated with a particular driver.  The .config file at the kernel root directory uses the information in these files to determine dependencies and source code needed to build a particular driver.  Finally, you would need to make sure your driver option is available in the .config file.