I am trying to access a CSI camera attached to my Raspberry Pi 5 board. I have SD card 1 with the standard Raspberry Pi 5 64-bit OS and SD card 2 with my custom 64-bit Linux OS built with Buildroot.
The problem is that running the following command on SD1 gives the following output:while on SD2 the response is "No cameras available!"
Running the following command: produces similar output. SD1:SD2:SD1:SD2:config.txt files are as follows:
SD1:SD2:Please suggest where to look to find what is wrong with the OS or rpicam-apps on SD2.
The problem is that running the following command
Code:
rpicam-hello --list-cameras
Code:
Available cameras-----------------0 : ov5647 [2592x1944 10-bit GBRG] (/base/axi/pcie@120000/rp1/i2c@88000/ov5647@36) Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop] 1296x972 [43.25 fps - (0, 0)/2592x1944 crop] 1920x1080 [30.62 fps - (348, 434)/1928x1080 crop] 2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
Running the following command:
Code:
v4l2-ctl --list-devices
Code:
pispbe (platform:1000880000.pisp_be):/dev/video20/dev/video21/dev/video22/dev/video23/dev/video24/dev/video25/dev/video26/dev/video27/dev/video28/dev/video29/dev/video30/dev/video31/dev/video32/dev/video33/dev/video34/dev/video35/dev/media1/dev/media2rp1-cfe (platform:1f00110000.csi):/dev/video0/dev/video1/dev/video2/dev/video3/dev/video4/dev/video5/dev/video6/dev/video7/dev/media0rpivid (platform:rpivid):/dev/video19/dev/media3
Code:
pispbe (platform:1000880000.pisp_be):/dev/video20/dev/video21/dev/video22/dev/video23/dev/video24/dev/video25/dev/video26/dev/video27/dev/video28/dev/video29/dev/video30/dev/video31/dev/video32/dev/video33/dev/video34/dev/video35/dev/media0/dev/media1rp1-cfe (platform:1f00110000.csi):/dev/video0/dev/video1/dev/video2/dev/video3/dev/video4/dev/video5/dev/video6/dev/video7/dev/media2rpivid (platform:rpivid):/dev/video19/dev/media3
Code:
lsmod | grep -i "video"
Code:
videobuf2_dma_contig 49152 3 pisp_be,rp1_cfe,rpivid_hevcvideobuf2_memops 49152 1 videobuf2_dma_contigvideobuf2_v4l2 49152 4 pisp_be,rp1_cfe,rpivid_hevc,v4l2_mem2memvideodev 344064 36 v4l2_async,v4l2_fwnode,pisp_be,ov5647,videobuf2_v4l2,rp1_cfe,rpivid_hevc,v4l2_mem2memvideobuf2_common 98304 7 pisp_be,videobuf2_dma_contig,videobuf2_v4l2,rp1_cfe,rpivid_hevc,v4l2_mem2mem,videobuf2_memopsmc 81920 13 v4l2_async,videodev,pisp_be,ov5647,videobuf2_v4l2,rp1_cfe,videobuf2_common,rpivid_hevc,v4l2_mem2mem
Code:
videobuf2_dma_contig 16384 3 pisp_be,rp1_cfe,rpivid_hevcvideobuf2_memops 12288 1 videobuf2_dma_contigvideobuf2_v4l2 32768 4 pisp_be,rp1_cfe,rpivid_hevc,v4l2_mem2memvideodev 303104 8 v4l2_async,v4l2_fwnode,pisp_be,ov5647,videobuf2_v4l2,rp1_cfe,rpivid_hevc,v4l2_mem2memvideobuf2_common 69632 7 pisp_be,videobuf2_dma_contig,videobuf2_v4l2,rp1_cfe,rpivid_hevc,v4l2_mem2mem,videobuf2_memopsmc 61440 9 v4l2_async,videodev,pisp_be,ov5647,videobuf2_v4l2,rp1_cfe,videobuf2_common,rpivid_hevc,v4l2_mem2mem
SD1:
Code:
dtparam=audio=oncamera_auto_detect=1display_auto_detect=1auto_initramfs=1dtoverlay=vc4-kms-v3dmax_framebuffers=2disable_fw_kms_setup=1arm_64bit=1disable_overscan=1arm_boost=1[cm4]otg_mode=1[cm5]dtoverlay=dwc2,dr_mode=host[all]
Code:
kernel=Imagedisplay_auto_detect=1camera_auto_detect=1dtoverlay=vc4-kms-v3dmax_framebuffers=2disable_overscan=1arm_64bit=1dtoverlay=disable-wifidtparam=uart0=on,uart2=on,uart3=on,krnbt=ondtoverlay=uart2-pi5dtoverlay=uart3-pi5enable_uart=1dtparam=i2c_arm=ondisable_fw_kms_setup=1arm_boost=1
Statistics: Posted by mumtaz — Sat Nov 02, 2024 9:03 am