Quantcast
Viewing all articles
Browse latest Browse all 4878

Interfacing (DSI, CSI, I2C, etc.) • Getting CM4, Waveshare CM4-to-Pi4-Adapter, Pi Camera v2.1 to work.

Using: I have tried with and without the Waveshare-supplied dt-blob, and both precompiled and built on my machine. It's obvious to me that I have no idea what I'm doing here. I'd appreciate any help you can give.

/boot/firmware/config.txt:

Code:

# Uncomment some or all of these to enable the optional hardware interfaces# dtparam=i2c=on# Some say i2c_vc is needed, some say it isn't.dtparam=i2c_vc=on#dtparam=i2s=on#dtparam=spi=on...# Automatically load overlays for detected cameras# camera_auto_detect=1dtoverlay=imx219            # For Pi Camera 2.1...# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3d         # Necessary for libcamera support on CM4.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 modearm_64bit=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[cm5]dtoverlay=dwc2,dr_mode=host[all]dtparam=i2c_arm=on

Code:

i2cdetect -li2c-0i2c       i2c-22-mux (chan_id 0)          I2C adapteri2c-1i2c       bcm2835 (i2c@7e804000)          I2C adapteri2c-10i2c       i2c-22-mux (chan_id 1)          I2C adapteri2c-20i2c       fef04500.i2c                    I2C adapteri2c-21i2c       fef09500.i2c                    I2C adapteri2c-22i2c       bcm2835 (i2c@7e205000)          I2C adapter

Code:

libcamera-hello[0:12:56.951060196] [3228]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2+99-1230f78dPreview window unavailableERROR: *** no cameras available ***

Statistics: Posted by Telescopic — Tue Dec 31, 2024 2:48 am



Viewing all articles
Browse latest Browse all 4878

Trending Articles