IMX462 - can't get working on Raspberry zero W

Hi
I can’t get my IMX462 to work on my raspberry zero W.

I am running it as SSH and through RealVNC Viewer, no physical screen or keyboard hooked up.

  1. Where did you get the camera module(s)? Arducam
  2. Model number of the product(s)? UC955 board
  3. What hardware/platform were you working on? Raspberry Pi Zero W
  4. Instructions you have followed. (link/manual/etc.) Arducam documentation – Quickstart (and differet forums to get a hint on what it can be)
  5. Problems you were having?

No camera detected and I have tried several options for several days now. Is this related to rpi zero as my friend got it working on a zero 2? It is really frustrating.

When running these commands no camera and just errors:

ante@pi:~ $ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1

ante@pi:~ $ libcamera-hello
Made X/EGL preview window
[0:37:47.516618890] [1352] INFO Camera camera_manager.cpp:297 libcamera v0.0.0+4367-ad9428b4
[0:37:47.915477356] [1355] INFO RPI vc4.cpp:444 Registered camera /base/soc/i2c0mux/i2c@1/imx290@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:37:47.916863327] [1355] INFO RPI pipeline_base.cpp:1101 Using configuration file ‘/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml’
[0:37:47.936891899] [1352] INFO Camera camera.cpp:1033 configuring streams: (0) 960x540-YUV420
[0:37:47.940950812] [1355] INFO RPI vc4.cpp:572 Sensor: /base/soc/i2c0mux/i2c@1/imx290@1a - Selected sensor format: 1280x720-SRGGB12_1X12 - Selected unicam format: 1280x720-pRCC
[0:37:48.034832805] [1355] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video0[13:cap]: Failed to start streaming: Remote I/O error
ERROR: *** failed to start camera ***upported=1 detected=0, libcamera interfaces=1

config.txt

ante@pi:~ $ cat /boot/config.txt

For more options and information see

http://rpf.io/configtxt

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default “safe” mode

#hdmi_safe=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

uncomment to force a console size. By default it will be display’s size minus

overscan.

#framebuffer_width=1280
#framebuffer_height=720

uncomment if hdmi display is not detected and composite is being output

#hdmi_force_hotplug=1

uncomment to force a specific HDMI mode (this will force VGA)

#hdmi_group=1
#hdmi_mode=1

uncomment to force a HDMI mode rather than DVI. This can make audio work in

DMT (computer monitor) modes

#hdmi_drive=2

uncomment to increase signal to HDMI, if you have interference, blanking, or

no display

#config_hdmi_boost=4

uncomment for composite PAL

#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

Uncomment some or all of these to enable the optional hardware interfaces

dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

Uncomment this to enable infrared communication.

#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

Additional overlays and parameters are documented /boot/overlays/README

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Automatically load overlays for detected cameras

start_x=1
#camera_auto_detect=on

Automatically load overlays for detected DSI displays

display_auto_detect=1

Enable DRM VC4 V3D driver

dtoverlay=vc4-kms-v3d
max_framebuffers=2

Disable compensation for displays with overscan

disable_overscan=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]

[pi4]
#dtoverlay=vc4-fkms-v3d

Run as fast as firmware / board allows

arm_boost=1

[all]
gpu_mem=125
dtoverlay=w1-gpio
enable_uart=1
dtoverlay=imx462
#dtoverlay=arducam-pivariety,media-controller=0

I have tried different dtoverlay=imx290 and dtoverlay=imx462, adding removing and combining with dtoverlay=arducam-pivariety,media-controller=0.
The camera seem to be there but it fails starting?

If anyone have an idea I would really appreciate that - thanks!

Here is the mseg logg

ante@pi:~ $ dmesg | grep arducam
ante@pi:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.21+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 Mon Apr 3 17:19:14 BST 2023
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
[ 0.000000] random: crng init done
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Reserved memory: created CMA memory pool at 0x08000000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x00000000182fffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x00000000182fffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000182fffff]
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 98201
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i smsc95xx.macaddr=B8:27:EB:7B:7C:80 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=PARTUUID=8b8ef7b3-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=SE
[ 0.000000] Unknown kernel command line parameters “splash”, will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 115092K/396288K available (8985K kernel code, 1450K rwdata, 2772K rodata, 432K init, 589K bss, 19052K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 33370 entries in 98 pages
[ 0.000000] ftrace: allocated 98 pages with 3 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000006] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000071] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000159] bcm2835: system timer (irq = 27)
[ 0.000975] Console: colour dummy device 80x30
[ 0.001076] printk: console [tty1] enabled
[ 0.001145] Calibrating delay loop… 697.95 BogoMIPS (lpj=3489792)
[ 0.060265] pid_max: default: 32768 minimum: 301
[ 0.060457] LSM: Security Framework initializing
[ 0.060724] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.060762] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.062217] cgroup: Disabling memory control group subsystem
[ 0.062601] CPU: Testing write buffer coherency: ok
[ 0.064098] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.064129] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.064357] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.064603] Setting up static identity map for 0x8220 - 0x8258
[ 0.065802] devtmpfs: initialized
[ 0.079055] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.079393] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.079447] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.116048] pinctrl core: initialized pinctrl subsystem
[ 0.117945] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.121311] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.127587] audit: initializing netlink subsys (disabled)
[ 0.129061] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.130116] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.130146] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.130363] Serial: AMBA PL011 UART driver
[ 0.139579] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.140656] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
[ 0.148344] platform 20801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx290@1a
[ 0.160710] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:53:39, variant start_x
[ 0.170734] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
[ 0.222229] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 2.410260] bcm2835-dma 20007000.dma: DMA legacy API manager, dmachans=0x1
[ 2.412850] SCSI subsystem initialized
[ 2.413306] usbcore: registered new interface driver usbfs
[ 2.413425] usbcore: registered new interface driver hub
[ 2.413516] usbcore: registered new device driver usb
[ 2.413990] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 2.414283] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 2.414773] pps_core: LinuxPPS API ver. 1 registered
[ 2.414795] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 2.414841] PTP clock support registered
[ 2.417746] clocksource: Switched to clocksource timer
[ 2.541080] VFS: Disk quotas dquot_6.6.0
[ 2.541211] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.541433] FS-Cache: Loaded
[ 2.541796] CacheFiles: Loaded
[ 2.559935] NET: Registered PF_INET protocol family
[ 2.560260] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 2.562795] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 2.562873] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.562917] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 2.563003] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.563124] TCP: Hash tables configured (established 4096 bind 4096)
[ 2.563260] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.563309] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.563667] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.564538] RPC: Registered named UNIX socket transport module.
[ 2.564571] RPC: Registered udp transport module.
[ 2.564583] RPC: Registered tcp transport module.
[ 2.564593] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.565911] armv6-pmu arm-pmu: hw perfevents: no irqs for PMU, sampling events not supported
[ 2.565979] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 2.570379] Initialise system trusted keyrings
[ 2.570806] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 2.584596] zbud: loaded
[ 2.588874] NFS: Registering the id_resolver key type
[ 2.588952] Key type id_resolver registered
[ 2.588968] Key type id_legacy registered
[ 2.589170] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 2.589194] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 2.591293] Key type asymmetric registered
[ 2.591331] Asymmetric key parser ‘x509’ registered
[ 2.591645] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.591670] io scheduler mq-deadline registered
[ 2.591685] io scheduler kyber registered
[ 2.596265] simple-framebuffer 1eaa9000.framebuffer: framebuffer at 0x1eaa9000, 0x151800 bytes
[ 2.596315] simple-framebuffer 1eaa9000.framebuffer: format=a8r8g8b8, mode=720x480x32, linelength=2880
[ 2.597360] Console: switching to colour frame buffer device 90x30
[ 2.602630] simple-framebuffer 1eaa9000.framebuffer: fb0: simplefb registered!
[ 2.607857] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 2.610852] bcm2835-rng 20104000.rng: hwrng registered
[ 2.611482] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 2.613159] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 2.633742] brd: module loaded
[ 2.644960] loop: module loaded
[ 2.645992] Loading iSCSI transport class v2.0-870.
[ 2.648251] usbcore: registered new interface driver smsc95xx
[ 2.648300] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 3.376404] Core Release: 2.80a
[ 3.376443] Setting default values for core params
[ 3.376473] Finished setting default values for core params
[ 3.576612] Using Buffer DMA mode
[ 3.576634] Periodic Transfer Interrupt Enhancement - disabled
[ 3.576647] Multiprocessor Interrupt Enhancement - disabled
[ 3.576658] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 3.576739] Dedicated Tx FIFOs mode

[ 3.577664] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = c8104000 dma = 0x88104000 len=9024
[ 3.577719] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 3.577896] dwc_otg: Microframe scheduler enabled

[ 3.578070] WARN::hcd_init_fiq:457: FIQ on core 0

[ 3.578097] WARN::hcd_init_fiq:458: FIQ ASM at c065d3d8 length 36

[ 3.578134] WARN::hcd_init_fiq:497: MPHI regs_base at d8810000
[ 3.578172] dwc_otg 20980000.usb: DWC OTG Controller
[ 3.578231] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 3.578304] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 3.578367] Init: Port Power? op_state=1
[ 3.578380] Init: Power Port (0)
[ 3.578733] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 3.578768] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.578790] usb usb1: Product: DWC OTG Controller
[ 3.578809] usb usb1: Manufacturer: Linux 6.1.21+ dwc_otg_hcd
[ 3.578826] usb usb1: SerialNumber: 20980000.usb
[ 3.579919] hub 1-0:1.0: USB hub found
[ 3.580016] hub 1-0:1.0: 1 port detected
[ 3.581026] dwc_otg: FIQ enabled
[ 3.581052] dwc_otg: NAK holdoff enabled
[ 3.581063] dwc_otg: FIQ split-transaction FSM enabled
[ 3.581089] Module dwc_common_port init
[ 3.581578] usbcore: registered new interface driver usb-storage
[ 3.582002] mousedev: PS/2 mouse device common for all mice
[ 3.585117] sdhci: Secure Digital Host Controller Interface driver
[ 3.585149] sdhci: Copyright(c) Pierre Ossman
[ 3.585579] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.586973] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.587469] hid: raw HID events driver (C) Jiri Kosina
[ 3.587825] usbcore: registered new interface driver usbhid
[ 3.587850] usbhid: USB HID core driver
[ 3.588142] bcm2835_vchiq 2000b840.mailbox: there is not valid maps for state default
[ 3.593437] Initializing XFRM netlink socket
[ 3.593567] NET: Registered PF_PACKET protocol family
[ 3.593773] Key type dns_resolver registered
[ 3.595408] registered taskstats version 1
[ 3.595515] Loading compiled-in X.509 certificates
[ 3.614223] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 3.614432] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 3.616699] bcm2835-aux-uart 20215040.serial: there is not valid maps for state default
[ 3.617339] printk: console [ttyS0] disabled
[ 3.617512] 20215040.serial: ttyS0 at MMIO 0x20215040 (irq = 53, base_baud = 50000000) is a 16550
[ 3.618063] printk: console [ttyS0] enabled
[ 3.619982] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 3.620515] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 3.622623] mmc-bcm2835 20300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 3.622667] mmc-bcm2835 20300000.mmcnr: DMA channel allocated
[ 3.651850] sdhost: log_buf @ 9862c666 (88103000)
[ 3.699565] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 3.702826] of_cfs_init
[ 3.704118] of_cfs_init: OK
[ 3.707070] Waiting for root device PARTUUID=8b8ef7b3-02…
[ 3.762560] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.766688] mmc0: new high speed SDHC card at address aaaa
[ 3.768014] mmcblk0: mmc0:aaaa SK32G 29.7 GiB
[ 3.771884] mmcblk0: p1 p2
[ 3.773078] mmcblk0: mmc0:aaaa SK32G 29.7 GiB (quirks 0x00004000)
[ 3.798056] mmc1: new high speed SDIO card at address 0001
[ 3.812236] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.812370] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 3.813506] devtmpfs: mounted
[ 3.818664] Freeing unused kernel image (initmem) memory: 432K
[ 3.818713] Kernel memory protection not selected by kernel config.
[ 3.818764] Run /sbin/init as init process
[ 3.818779] with arguments:
[ 3.818788] /sbin/init
[ 3.818799] splash
[ 3.818809] with environment:
[ 3.818817] HOME=/
[ 3.818827] TERM=linux
[ 4.407856] systemd[1]: System time before build time, advancing clock.
[ 4.733034] NET: Registered PF_INET6 protocol family
[ 4.735432] Segment Routing with IPv6
[ 4.735513] In-situ OAM (IOAM) with IPv6
[ 4.846736] systemd[1]: systemd 247.3-7+rpi1+deb11u2 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 4.848222] systemd[1]: Detected architecture arm.
[ 4.851539] systemd[1]: Set hostname to .
[ 7.126632] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd’s process lifecycle management for the service. Please update your service to use a safer KillMode=, such as ‘mixed’ or ‘control-group’. Support for KillMode=none is deprecated and will eventually be removed.
[ 7.555446] systemd[1]: Queued start job for default target Graphical Interface.
[ 7.567216] systemd[1]: Created slice system-getty.slice.
[ 7.570625] systemd[1]: Created slice system-modprobe.slice.
[ 7.573352] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 7.576057] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 7.578345] systemd[1]: Created slice User and Session Slice.
[ 7.579560] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.581873] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.584369] systemd[1]: Reached target Slices.
[ 7.584975] systemd[1]: Reached target Swap.
[ 7.587489] systemd[1]: Listening on Syslog Socket.
[ 7.589480] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 7.590687] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 7.593319] systemd[1]: Listening on Journal Audit Socket.
[ 7.595301] systemd[1]: Listening on Journal Socket (/dev/log).
[ 7.597473] systemd[1]: Listening on Journal Socket.
[ 7.605549] systemd[1]: Listening on udev Control Socket.
[ 7.607400] systemd[1]: Listening on udev Kernel Socket.
[ 7.610357] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 7.619354] systemd[1]: Mounting POSIX Message Queue File System…
[ 7.636440] systemd[1]: Mounting RPC Pipe File System…
[ 7.688314] systemd[1]: Mounting Kernel Debug File System…
[ 7.699211] systemd[1]: Mounting Kernel Trace File System…
[ 7.700270] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 7.761991] systemd[1]: Starting Restore / save the current clock…
[ 7.790415] systemd[1]: Starting Set the console keyboard layout…
[ 7.855227] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 7.909887] systemd[1]: Starting Load Kernel Module configfs…
[ 7.983450] systemd[1]: Starting Load Kernel Module drm…
[ 8.029490] systemd[1]: Starting Load Kernel Module fuse…
[ 8.069973] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 8.120444] systemd[1]: Starting File System Check on Root Device…
[ 8.203616] systemd[1]: Starting Journal Service…
[ 8.319138] systemd[1]: Starting Load Kernel Modules…
[ 8.409655] systemd[1]: Starting Coldplug All udev Devices…
[ 8.590760] systemd[1]: Mounted POSIX Message Queue File System.
[ 8.592234] systemd[1]: Mounted RPC Pipe File System.
[ 8.593689] systemd[1]: Mounted Kernel Debug File System.
[ 8.595140] systemd[1]: Mounted Kernel Trace File System.
[ 8.648187] fuse: init (API version 7.37)
[ 8.668094] systemd[1]: Finished Restore / save the current clock.
[ 8.708023] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 8.711615] systemd[1]: [email protected]: Succeeded.
[ 8.731500] systemd[1]: Finished Load Kernel Module configfs.
[ 8.749932] systemd[1]: [email protected]: Succeeded.
[ 8.777360] systemd[1]: Finished Load Kernel Module fuse.
[ 8.877174] systemd[1]: Mounting FUSE Control File System…
[ 9.016463] systemd[1]: Mounting Kernel Configuration File System…
[ 9.034252] i2c_dev: i2c /dev entries driver
[ 9.249449] systemd[1]: Started File System Check Daemon to report status.
[ 9.380409] systemd[1]: Finished Load Kernel Modules.
[ 9.457590] systemd[1]: Mounted FUSE Control File System.
[ 9.512023] systemd[1]: [email protected]: Succeeded.
[ 9.558212] systemd[1]: Finished Load Kernel Module drm.
[ 9.560275] systemd[1]: Mounted Kernel Configuration File System.
[ 9.609540] systemd[1]: Starting Apply Kernel Variables…
[ 9.887600] systemd[1]: Finished File System Check on Root Device.
[ 9.946486] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 10.198063] systemd[1]: Finished Apply Kernel Variables.
[ 10.681072] systemd[1]: Started Journal Service.
[ 10.917955] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 11.512813] systemd-journald[104]: Received client request to flush runtime journal.
[ 15.912387] Driver for 1-wire Dallas network protocol.
[ 15.983915] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 17.239115] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 17.241713] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 17.241761] [vc_sm_connected_init]: start
[ 17.298970] [vc_sm_connected_init]: installed successfully
[ 17.400718] mc: Linux media interface: v0.10
[ 19.073076] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 19.158394] videodev: Linux video capture interface: v2.00
[ 20.017875] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[ 20.327334] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 20.360550] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 20.398476] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 20.701533] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 20.914604] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 21.172765] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 21.178890] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 21.258088] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 21.264382] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 21.264449] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 21.264487] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 21.264516] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 21.264544] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 21.338233] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 21.389273] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 21.391003] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 21.391744] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 21.391804] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 21.391841] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 21.391871] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 21.391898] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 21.396119] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 21.615436] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 21.809006] i2c i2c-11: Added multiplexed i2c bus 0
[ 21.874473] i2c i2c-11: Added multiplexed i2c bus 10
[ 22.013795] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 22.013883] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 22.078367] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 22.078452] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 22.268020] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 22.268109] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 22.352171] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 22.352254] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 22.397347] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 22.397445] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 28.311738] uart-pl011 20201000.serial: no DMA platform data
[ 28.434833] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 35.124123] Bluetooth: Core ver 2.22
[ 35.124294] NET: Registered PF_BLUETOOTH protocol family
[ 35.124311] Bluetooth: HCI device and connection manager initialized
[ 35.124343] Bluetooth: HCI socket layer initialized
[ 35.124364] Bluetooth: L2CAP socket layer initialized
[ 35.124402] Bluetooth: SCO socket layer initialized
[ 35.355740] Bluetooth: HCI UART driver ver 2.3
[ 35.355784] Bluetooth: HCI UART protocol H4 registered
[ 35.355927] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 35.356181] Bluetooth: HCI UART protocol Broadcom registered
[ 36.627138] 8021q: 802.1Q VLAN Support v1.8
[ 36.649998] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 37.269986] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 37.321791] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 40.527879] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 40.738330] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 40.739072] usbcore: registered new interface driver brcmfmac
[ 40.742686] Console: switching to colour dummy device 80x30
[ 40.759778] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops [vc4])
[ 40.845155] Registered IR keymap rc-cec
[ 40.846841] rc rc0: vc4-hdmi as /devices/platform/soc/20902000.hdmi/rc/rc0
[ 40.894016] input: vc4-hdmi as /devices/platform/soc/20902000.hdmi/rc/rc0/input0
[ 41.031073] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897
[ 41.187975] vc4-drm soc:gpu: bound 20902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 41.188910] vc4-drm soc:gpu: bound 20004000.txp (ops vc4_txp_ops [vc4])
[ 41.189706] vc4-drm soc:gpu: bound 20206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 41.190451] vc4-drm soc:gpu: bound 20207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 41.191183] vc4-drm soc:gpu: bound 20807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 41.191902] vc4-drm soc:gpu: bound 20c00000.v3d (ops vc4_v3d_ops [vc4])
[ 41.346312] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 41.385378] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[ 50.670978] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 50.671018] Bluetooth: BNEP filters: protocol multicast
[ 50.671049] Bluetooth: BNEP socket layer initialized
[ 50.784580] Bluetooth: MGMT ver 1.22
[ 50.991066] NET: Registered PF_ALG protocol family
[ 54.002599] imx290 10-001a: 16-bit write to 0x301c failed: -121
[ 54.002832] imx290 10-001a: 24-bit write to 0x3020 failed: -121
[ 54.003033] imx290 10-001a: 24-bit write to 0x3018 failed: -121
[ 54.003236] imx290 10-001a: 24-bit write to 0x3020 failed: -121
[ 54.003291] imx290 10-001a: Consider updating driver imx290 to match on endpoints
[ 57.470115] Bluetooth: RFCOMM TTY layer initialized
[ 57.470176] Bluetooth: RFCOMM socket layer initialized
[ 57.470226] Bluetooth: RFCOMM ver 1.11
[ 58.751789] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 60.439204] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 64.423403] ICMPv6: process `dhcpcd’ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[ 84.377835] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
[ 84.502611] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
[ 144.952480] imx290 10-001a: 8-bit write to 0x303a failed: -121
[ 144.952530] imx290 10-001a: Could not set init registers
[ 144.952544] imx290 10-001a: Start stream failed
[ 144.952567] unicam 20801000.csi: stream on failed in subdev
[ 154.717543] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
[ 154.881845] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.

Solved:

I did like this to get the IMX462 working on my rPi Zero 2 W (I changed from Zero W to Zero 2 W)

It is not always clear how to connect the ribbon, but this is the working way (for me atleast)

Drivers as from the Quicksetup guide https://docs.arducam.com/Raspberry-Pi-Camera/Pivariety-Camera/Quick-Start-Guide/

wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps

sudo raspi-config
Enable to under Advance Options - → GL Driver – > G2 GL (Full KMS) OpenGL desktop driver with full KMS

Reboot

Change the config-txt file under [all]
dtoverlay=arducam-pivariety

Reboot

Open in terminal window
dmesg | grep arducam

I got this:
[ 0.056571] platform 3f801000.csi: Fixed dependency cycle(s) with
/soc/i2c0mux/i2c@1/arducam_pivariety@c
[ 10.622145] arducam-pivariety 10-000c: firmware version: 0x10003
[ 10.939495] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to
match on endpoints

List cameras
libcamera-vid --list-cameras

I got this
0: arducam-pivariety [1920x1080 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/arducam_pivariety@c)
Modes: ’SRGGB10_CSI2P’ : 1920x1080 [60.00 fps – (0, 0)/1920x1080 crop]

Test camera
libcamera-vid 0

1 Like