Quantcast
Viewing all articles
Browse latest Browse all 4859

Camera board • Enable UART breaks IMX462

Hello everyone,

I've been working through an issue with an Arducam IMX462 alongside Arducam Support. I am working on integrating this camera in a BlueROV2 but have replicated the issue on plain Raspbian 32bit with Rpanion as we needed to get the ROV in the water quickly. The problem seems to be a conflict with the Arducam-Pivariety driver and enabling UARTS via the config.txt. If I comment out the enable line, everything works; if I uncomment it, the camera no longer gets detected, /dev/video0 disappears, but I gain Serial0 in /dev. I'm running out of ideas on what stone to turn over looking for a bug.

Code:

hostnamectl   Static hostname: rpanion         Icon name: computer        Machine ID: 8e1e8df0cc9d4d84abad46cc094db346           Boot ID: 1b4dafa92ba94c66b0a115c014608cb3  Operating System: Raspbian GNU/Linux 11 (bullseye)            Kernel: Linux 6.1.21-v8+      Architecture: arm64
config.txt output

Code:

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 camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Disable compensation for displays with overscandisable_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]# Run as fast as firmware / board allowsarm_boost=1[all]dtoverlay=arducam-pivarietyenable_uart=1
Contents of /dev/ when it's working

Code:

ls /dev/autofs           loop4         ram7     tty29  tty60        vcsublock            loop5         ram8     tty3   tty61        vcsu1btrfs-control    loop6         ram9     tty30  tty62        vcsu2bus              loop7         random   tty31  tty63        vcsu3cachefiles       loop-control  rfkill   tty32  tty7         vcsu4cec0             mapper        serial   tty33  tty8         vcsu5cec1             media0        serial1  tty34  tty9         vcsu6char             media1        shm      tty35  ttyACM0      vcsu7console          media2        snd      tty36  ttyAMA0      vga_arbitercpu_dma_latency  media3        stderr   tty37  ttyprintk    vhcicuse             media4        stdin    tty38  uhid         vhost-netdisk             mem           stdout   tty39  uinput       vhost-vsockdma_heap         mmcblk0       tty      tty4   urandom      video0dri              mmcblk0p1     tty0     tty40  v4l          video10fd               mmcblk0p2     tty1     tty41  v4l-subdev0  video11full             mqueue        tty10    tty42  vchiq        video12fuse             net           tty11    tty43  vcio         video13gpiochip0        null          tty12    tty44  vc-mem       video14gpiochip1        port          tty13    tty45  vcs          video15gpiomem          ppp           tty14    tty46  vcs1         video16hwrng            ptmx          tty15    tty47  vcs2         video18i2c-0            pts           tty16    tty48  vcs3         video19i2c-10           ram0          tty17    tty49  vcs4         video20i2c-20           ram1          tty18    tty5   vcs5         video21i2c-21           ram10         tty19    tty50  vcs6         video22i2c-22           ram11         tty2     tty51  vcs7         video23initctl          ram12         tty20    tty52  vcsa         video31input            ram13         tty21    tty53  vcsa1        watchdogkmsg             ram14         tty22    tty54  vcsa2        watchdog0kvm              ram15         tty23    tty55  vcsa3        zerolog              ram2          tty24    tty56  vcsa4loop0            ram3          tty25    tty57  vcsa5loop1            ram4          tty26    tty58  vcsa6loop2            ram5          tty27    tty59  vcsa7loop3            ram6          tty28    tty6   vcsm-cma
Contents of /dev/ when it's not working

Code:

ls /dev/autofs           log           ram11    tty14  tty41    ttyprintk  vcsu4block            loop0         ram12    tty15  tty42    ttyS0      vcsu5btrfs-control    loop1         ram13    tty16  tty43    uhid       vcsu6bus              loop2         ram14    tty17  tty44    uinput     vcsu7cachefiles       loop3         ram15    tty18  tty45    urandom    vga_arbitercec0             loop4         ram2     tty19  tty46    v4l        vhcicec1             loop5         ram3     tty2   tty47    vchiq      vhost-netchar             loop6         ram4     tty20  tty48    vcio       vhost-vsockconsole          loop7         ram5     tty21  tty49    vc-mem     video10cpu_dma_latency  loop-control  ram6     tty22  tty5     vcs        video11cuse             mapper        ram7     tty23  tty50    vcs1       video12disk             media0        ram8     tty24  tty51    vcs2       video13dma_heap         media1        ram9     tty25  tty52    vcs3       video14dri              media2        random   tty26  tty53    vcs4       video15fd               media3        rfkill   tty27  tty54    vcs5       video16full             media4        serial   tty28  tty55    vcs6       video18fuse             mem           serial0  tty29  tty56    vcs7       video19gpiochip0        mmcblk0       serial1  tty3   tty57    vcsa       video20gpiochip1        mmcblk0p1     shm      tty30  tty58    vcsa1      video21gpiomem          mmcblk0p2     snd      tty31  tty59    vcsa2      video22hwrng            mqueue        stderr   tty32  tty6     vcsa3      video23i2c-0            net           stdin    tty33  tty60    vcsa4      video31i2c-10           null          stdout   tty34  tty61    vcsa5      watchdogi2c-20           port          tty      tty35  tty62    vcsa6      watchdog0i2c-21           ppp           tty0     tty36  tty63    vcsa7      zeroi2c-22           ptmx          tty1     tty37  tty7     vcsm-cmainitctl          pts           tty10    tty38  tty8     vcsuinput            ram0          tty11    tty39  tty9     vcsu1kmsg             ram1          tty12    tty4   ttyACM0  vcsu2kvm              ram10         tty13    tty40  ttyAMA0  vcsu3

Statistics: Posted by TheGremlin — Wed Jul 24, 2024 1:28 pm



Viewing all articles
Browse latest Browse all 4859

Trending Articles