custom g_webcam driver in yocto recipe

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

custom g_webcam driver in yocto recipe

Jump to solution
1,435 Views
alexandre_caron
Contributor II

Hi,

I'm currently developping a camera application on IMX7 Dual and I use the webcam Usb Gadget. I had to modify the driver "webcam.c" located in ~/imx-yocto-bsp/build_folder/tmp/work-shared/imx7dsabresd/kernel-source/drivers/usb/gadget to chnage the resolution and the frame rate and it work well. 

My question is, it is possible to add those changes in a yocto recipe instead of the tmp folder ? It would be a lot cleaner and much more piratical to share with other colleagues. 

Thank you.

0 Kudos
1 Solution
1,233 Views
radhikasomaiya
Senior Contributor II

Hi alexandre.caron@teledyne.com ,

You can create your custom meta-layer and apply your patches using it. (you can share it with your colleagues.)

For creating your meta layer and apply your changes using yocto in kernel you can refer the below link:

i.MX Yocto Project: How can I patch the kernel? 

Regards,

Radhika Somaiya.

View solution in original post

2 Replies
1,233 Views
alexandre_caron
Contributor II

Thank you for your help

0 Kudos
1,234 Views
radhikasomaiya
Senior Contributor II

Hi alexandre.caron@teledyne.com ,

You can create your custom meta-layer and apply your patches using it. (you can share it with your colleagues.)

For creating your meta layer and apply your changes using yocto in kernel you can refer the below link:

i.MX Yocto Project: How can I patch the kernel? 

Regards,

Radhika Somaiya.