these are the steps i followed
1114 source device/milkv-duo256m-sd/boardconfig.sh
1115 source build/milkvsetup.sh
1116 defconfig cv1812cp_milkv_duo256m_sd
1117 menuconfig_kernel
selected these options
Device Drivers —> <*>
Multimedia support —> Media core support —> [ * ]Media Controller API (NEW)
<*>
Multimedia support —> Video4Linux options —> [ * ]V4L2 sub-device userspace API (NEW)
<*>
Multimedia support —> Media drivers —> [ * ]Media USB Adapters —> <*>
USB Video Class(UVC) [ * ]UVC input events device supports
Media drivers —> [ * ]V4L platform devices
Device Drivers —> <*>
USB support —> [ * ]USB announce new devices
saved config and built image
1118 cp linux_5.10/build/cv1812cp_milkv_duo256m_sd/defconfig build/boards/cv181x/cv1812cp_milkv_duo256m_sd/cv1812cp_milkv_duo256m_sd_defconfig
1119 clean_all
1120 build_all
1121 ~pack_sd_image
1122 pack_sd_image
after flashing the image and enabling usb using
ln -sf /mnt/system/usb-host.sh /mnt/system/usb.sh
sync
i got the webcam on usb
[root@milkv-duo]~# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0edc:2050
the video0 and video1 isnt visible on /dev/
any way to check if the image built has the required modules loaded?