custom g_webcam driver in yocto recipe

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

custom g_webcam driver in yocto recipe

ソリューションへジャンプ
2,420件の閲覧回数
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 件の賞賛
返信
1 解決策
2,218件の閲覧回数
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.

元の投稿で解決策を見る

2 返答(返信)
2,218件の閲覧回数
alexandre_caron
Contributor II

Thank you for your help

0 件の賞賛
返信
2,219件の閲覧回数
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.