Custom v4l2-controls

Hi
I want to create custom v4l2-controls (for adding test patterns and mirroring and flipping controls). I did manage to add these to tegra-camera… My changes are localized to tegra-camera.ko but is there a way to install this module only without (re)installing all the user modules. In the previous versions (Xavier-nx and Nano), these changes used to be part of the Image and so I had to rebuild only the image and place the image in the boot folder.

Regards
Athreya

P.S: I am using Jetpack 6 (r36.3)

Hello @athreya.rajaraman,

You could try building tegra-camera as builtin in your defconfig.
If you look for it and it says M, it means that it is being built as a module, you can change it to Y to build it as part of the kernel and so you can then change the Image file you mentioned.

If you want, you can share your defconfig file and we could try to take a look at it and see if that would be possible.

regards,
Andrew

hello athreya.rajaraman,

please refer to developer guide as well, Bring Your Own Kernel.

Since the tegra-camera is part of nvidia-oot and by default he makefile for the tegra-camera is obj-m . So don’t think we can solve this by modifying defconfig

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.