Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Ubuntu • Getting IMX477 Arducam Camera Working with Ubuntu 22.04 on Raspberry Pi 4 (Libcamera / rpicam-apps)

$
0
0
Here are the steps I used to get IMX477 working on Ubuntu 22.04 Raspberry Pi 4

1. Clone the following commits from rpicam and libcamera github repos. (example: `git reset —hard d67bc17` )

rpicam -> d67bc17
libcamera target -> b320b20

2. Setup the following config file in `/boot/firmware/config.txt`

Code:

    [all]    dtoverlay=vc4-kms-v3d    kernel=vmlinuz    cmdline=cmdline.txt    initramfs initrd.img followkernel        [pi4]    max_framebuffers=2    arm_boost=1        [all]    dtoverlay=imx477    # Enable the audio output, I2C and SPI interfaces on the GPIO header. As these    # parameters related to the base device-tree they must appear *before* any    # other dtoverlay= specification    dtparam=audio=on    dtparam=i2c_arm=on    dtparam=spi=on        # Comment out the following line if the edges of the desktop appear outside    # the edges of your display    disable_overscan=1        # If you have issues with audio, you may try uncommenting the following line    # which forces the HDMI output into HDMI mode instead of DVI (which doesn't    # support audio output)    #hdmi_drive=2        # Enable the serial pins    enable_uart=1        # Autoload overlays for any recognized cameras or displays that are attached    # to the CSI/DSI ports. Please note this is for libcamera support, *not* for    # the legacy camera stack    display_auto_detect=1    camera_auto_detect=0        # Config settings specific to arm64    arm_64bit=1    #dtoverlay=dwc2        [cm4]    # Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into    # such a board)    #dtoverlay=dwc2,dr_mode=host    #dtoverlay=imx477        [all]    #dtoverlay=vc4-kms-v3d    #gpu_mem=128
3. Run rpicam-apps using `sudo`

Statistics: Posted by drcsc — Mon Dec 15, 2025 11:34 am



Viewing all articles
Browse latest Browse all 8374

Trending Articles