I am trying to configure a Logitech USB Webcam for my NXP i.MX 8M based embedded board. I am working with Buildroot and I have enabled CONFIG_MEDIA_USB_SUPPORT=y, CONFIG_USB_VIDEO_CLASS=y, CONFIG_USB_G_WEBCAM=y and CONFIG_MEDIA_CAMERA_SUPPORT=y in the kernel config linux-menuconfig. Added additional config fragment (in menuconfig) using BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES, did rm -rf buildroot/output/build/linux-*.*.*/ and rebuilt the image with make.
But after booting, when I do ls -l /dev/video* I get No such file or directory and v4l2-ctl --list-devices shows Cannot open device /dev/video0, exiting.. But USB device recognized (lsusb lists the device Bus 001 Device 003: ID 046d:0843)
Can anyone please let me know why the device is not showing as /dev/video* and how to resolve it?
Thanks in advance