root@raspberrypi:/usr/local/src# uname -a Linux raspberrypi 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux root@raspberrypi:/usr/local/src# modprobe bcm2835-v4l2 root@raspberrypi:/usr/local/src# v4l2-ctl --list-devices bcm2835-codec-decode (platform:bcm2835-codec): /dev/video10 /dev/video11 /dev/video12 /dev/video18 /dev/video31 /dev/media3 bcm2835-isp (platform:bcm2835-isp): /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video20 /dev/video21 /dev/video22 /dev/video23 /dev/media0 /dev/media1 rpivid (platform:rpivid): /dev/video19 /dev/media2 Cannot open device /dev/video0, exiting. root@raspberrypi:/usr/local/src# kevin@raspberrypi:~ $ sudo su - root@raspberrypi:~# free total used free shared buff/cache available Mem: 7996448 440228 7036548 17792 650028 7556220 Swap: 102396 0 102396 root@raspberrypi:~# root@raspberrypi:~# cd /boot/firmware root@raspberrypi:/boot/firmware# nano config.txt # Automatically load overlays for detected cameras camera_auto_detect=1 gpu_mem=128 ------------------------------------------- root@raspberrypi:~# free total used free shared buff/cache available Mem: 7945352 461864 6966264 17796 647380 7483488 Swap: 102396 0 102396 root@raspberrypi:~# ------------------------------------------ kevin@raspberrypi:~ $ sudo su - root@raspberrypi:~# cd /boot/firmware root@raspberrypi:/boot/firmware# nano config.txt ------------------------------------------ # For more options and information see # http://rptl.io/configtxt # Some settings may impact device functionality. See link above for details # Uncomment some or all of these to enable the optional hardware interfaces dtparam=i2c_arm=on #dtparam=i2s=on dtparam=spi=on # Enable audio (loads snd_bcm2835) dtparam=audio=on # Additional overlays and parameters are documented # /boot/firmware/overlays/README # Automatically load overlays for detected cameras camera_auto_detect=0 # gpu_mem=128 # Automatically load overlays for detected DSI displays display_auto_detect=1 # Automatically load initramfs files, if found auto_initramfs=1 # Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d max_framebuffers=2 # Don't have the firmware create an initial video= setting in cmdline.txt. # Use the kernel's default instead. disable_fw_kms_setup=1 # Run in 64-bit mode arm_64bit=1 # Disable compensation for displays with overscan disable_overscan=1 # Run as fast as firmware / board allows arm_boost=1 [cm4] # Enable host mode on the 2711 built-in XHCI USB controller. # This line should be removed if the legacy DWC2 controller is required # (e.g. for USB device mode) or if USB support is not required. otg_mode=1 [all] dtoverlay=imx708 # dtoverlay=w1-gpio enable_uart=1 ---------------------------------------------------- root@raspberrypi:/boot/firmware# libcamera-hello [0:03:18.483024342] [2095] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+120-eb00c13d [0:03:18.522898556] [2102] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise [0:03:18.525156358] [2102] INFO RPI vc4.cpp:446 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media0 [0:03:18.525267671] [2102] INFO RPI pipeline_base.cpp:1102 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml' Preview window unavailable Mode selection for 2304:1296:12:P SRGGB10_CSI2P,1536x864/0 - Score: 3400 SRGGB10_CSI2P,2304x1296/0 - Score: 1000 SRGGB10_CSI2P,4608x2592/0 - Score: 1900 Stream configuration adjusted [0:03:18.528180204] [2095] INFO Camera camera.cpp:1183 configuring streams: (0) 2304x1296-YUV420 (1) 2304x1296-SBGGR10_CSI2P [0:03:18.528544569] [2102] INFO RPI vc4.cpp:621 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected unicam format: 2304x1296-pBAA #0 (0.00 fps) exp 32680.00 ag 5.99 dg 1.01 #1 (30.01 fps) exp 32680.00 ag 5.99 dg 1.01 ---------------------------------------------------- root@raspberrypi:~# rpicam-jpeg --output test17052024.jpg [0:40:02.610063863] [2544] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+120-eb00c13d [0:40:02.658034860] [2550] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise [0:40:02.660251293] [2550] INFO RPI vc4.cpp:446 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media0 [0:40:02.660358570] [2550] INFO RPI pipeline_base.cpp:1102 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml' Preview window unavailable Mode selection for 2304:1296:12:P SRGGB10_CSI2P,1536x864/0 - Score: 3400 SRGGB10_CSI2P,2304x1296/0 - Score: 1000 SRGGB10_CSI2P,4608x2592/0 - Score: 1900 Stream configuration adjusted [0:40:02.661725322] [2544] INFO Camera camera.cpp:1183 configuring streams: (0) 2304x1296-YUV420 (1) 2304x1296-SBGGR10_CSI2P [0:40:02.662104727] [2550] INFO RPI vc4.cpp:621 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected unicam format: 2304x1296-pBAA #0 (0.00 fps) exp 32680.00 ag 5.99 dg 1.01 #1 (30.01 fps) exp 32680.00 ag 5.99 dg 1.01 -------------------------------------------- #142 (30.01 fps) exp 32680.00 ag 5.99 dg 1.01 Mode selection for 4608:2592:12:P SRGGB10_CSI2P,1536x864/0 - Score: 10600 SRGGB10_CSI2P,2304x1296/0 - Score: 8200 SRGGB10_CSI2P,4608x2592/0 - Score: 1000 [0:40:07.824502860] [2544] INFO Camera camera.cpp:1183 configuring streams: (0) 4608x2592-YUV420 (1) 4608x2592-SBGGR10_CSI2P [0:40:07.835956427] [2550] INFO RPI vc4.cpp:621 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 4608x2592-SBGGR10_1X10 - Selected unicam format: 4608x2592-pBAA Still capture image received ---------------------------------------------