Hello,
Can anybody give me the version of Pi 4 Bookworm that is known to work with B0444 (IMX462)?
Having issues following
https://docs.arducam.com/Raspberry-Pi-Camera/Pivariety-Camera/Quick-Start-Guide/
I want to duplicate known good setup.
Hello,
Can anybody give me the version of Pi 4 Bookworm that is known to work with B0444 (IMX462)?
Having issues following
https://docs.arducam.com/Raspberry-Pi-Camera/Pivariety-Camera/Quick-Start-Guide/
I want to duplicate known good setup.
Could you provide more details about the issues you are encountering when following the guide link you mentioned?
Thank you for the reply. Tracked it down to 32bit vs 64bit raspbian. None of the 64bit works but so far various releases of 32bit works (bookworm, bullseye).
Hi,
Thank you for your feedback. We need to spend some time digging into this matter.
Hi, i’m using the same camera B0444 with the latest raspbian image 64bit kernel 6.6.44-v8+ and i cannot get libcamera-still to get an image. I notice that the /dev/videoN node takes a lot of time to appear after boot, when it appears executing libcamera-still gets stuck after stream configuration.
Hi @jbastos
How could it be…?
Can you post the output of the commands below here?
cat /boot/firmware/config.txt
dmesg | grep libcamera
My 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=off
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
#camera_auto_detect=1
# 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
[cm5]
#dtoverlay=dwc2,dr_mode=host
[all]
#---------Waveshare LCD----------
gpio=0-9=a2
gpio=12-17=a2
gpio=20-25=a2
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
extra_transpose_buffer=2
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 40 48 128 800 0 13 3 15 0 0 0 60 0 52000000 6
#dtoverlay=waveshare-4dpib-3b-4b
#dtoverlay=waveshare-4dpib-3b
dtoverlay=waveshare-4dpib-4b
display_rotate=1
#-------i2c gpio-----------
dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=26,i2c_gpio_scl=19
#-------Legacy Camera------
#start_x=1
#gpu_mem=512
#dtoverlay=cma,cma-384
#-------Bluetooth----------
dtoverlay=disable-bt
#-------Pivariety CAM------
#dtparam=i2c_vc=on,i2c_vc_baudrate=50000
dtoverlay=arducam-pivariety
#-------General------------
disable_splash=1
boot_delay=0
#initial_turbo=30
dmesg | grep libcamera returns nothing.
I have connected to the rpi 4b board, 3 usb cameras, one i2c gpio expander board on i2c bus 4 and a 4inch lcd gpio connected. All devices are working properly except the B0444.
Trying the possibility of an hardware problem got another flat cable, but it as the same problem.
Sometimes it starts ok and libcamera-still can get images, until i reboot and libcamera-still gets stuck again. When it gets stuck this process is always running: modprobe of:Narducam_pivarietyT(null)Carducam,arducam-pivariety
My bad. Should be “dmesg | grep arducam”
If you remove 3 USB cameras and then run the B0444, is there any difference?
[ 0.038155] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_pivariety@c
[ 9.311965] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_pivariety@c
[ 11.237917] arducam-pivariety 10-000c: firmware version: 0x10003
Hi
Looks normal.
How about this?
I removed the 3 cameras, only B0444 and the symptoms are the same.
One thing i noticed, if the camera boots correctly until the next boot it works all right. I it doesn’t boot correctly it doesn’t work until the next good boot.
If i test using boot → libcamera-still → boot → libcamera-still → … sequence, the first around 5 restarts everything works well and libcamera is fast to get the picture, after those 5 restarts starts to get slow until after a restart it fails and then almost everytime it fails. Can it be hardware related?
I also tried cutting power on each reboot but it also fails.
Did you ever get the B0444 working on any version of Raspberry Pi? I have a Pi 4 B+, Pi 5, Pi Zero 2 W and cannot get it working on any of them with Bookworm.
If I used the 32bit OS it worked on Pi5, Pi-zero 2w following their guideline.
Thanks for the response @c100 . I’ve imaged a new SD card with Pi OS 32-bit Bookworm, followed the guide for setup, and unfortunately, that isn’t working for me.
Going to give Bullseye a try next. This camera might be going back.
Same here. I have 32 bit bookworm (which has actually given problems to other programs since uname reports 64 bit due to the kernel).
I don’t see it on i2cdetect.
libcamera doesn’t find it.
arducam_pivariety is loaded and dmesg seems to indicate something detected it as it gets a firmware version.
[ 0.037828] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_pivariety@c
[ 6.949488] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_pivariety@c
[ 8.921323] arducam-pivariety 10-000c: firmware version: 0x10003
Same results with
ii libcamera-apps 1.5.1-1 all transitional package
ii libcamera-ipa:armhf 0.3.1+rpt20240906-1 armhf complex camera support library (IPA modules)
ii libcamera0.3:armhf 0.3.1+rpt20240906-1 armhf complex camera support library
Hi,
Please refer to the steps in the link below.