I got three B0240 cameras, that I am planning to plug on a raspberry pi zero, and on a Jetson Xavier, and I am having trouble with both platforms.
On the raspberry pi side, I get the following error:
$ raspistill -o Test.jpg
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn’t be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
It isn’t the gpu memory size, I increased it to 150, and apparently the rasp recognizes the camera
$ vcgencmd get_camera
supported=1 detected=1
Using the examples on the git, I get the following error
./video2stdout | nc -l -p 5000
Open camera…
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: i2cdetect: not found
Found sensor imx477 at address 1A
Setting the resolution…
mmal: Failed to fix lens shading, use the default mode!
Current resolution is 4056x3040
Notice:You can use the list_format sample program to see the resolution and control supported by the camera.
Start video encoding…
Failed to start video encoding, probably due to resolution greater than 1920x1080 or video_state setting error.
and when I list the modes:
$ ./list_format
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: i2cdetect: not found
Hardware platform: 9000c1
Found sensor imx477 at address 1A
mode: 0, width: 4056, height: 3040, pixelformat: BA81, desc: (null)
mode: 1, width: 8112, height: 3040, pixelformat: BA81, desc: Used for Arducam synchronized stereo camera HAT
Get ctrl V4L2_CID_FOCUS_ABSOLUTE fail.
index: 0, CID: 0x009A090A, desc: V4L2_CID_FOCUS_ABSOLUTE, min: 0, max: 1023, default: 190, current: 0
close camera status = 0
On the Xavier, I try to install the driver but I get the following error:
sudo dpkg -i arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb
Selecting previously unselected package arducam-nvidia-l4t-kernel.
(Reading database … 160610 files and directories currently installed.)
Preparing to unpack arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb …
Unpacking arducam-nvidia-l4t-kernel (4.9.140-32.4.3-20200721164156) …
dpkg: dependency problems prevent configuration of arducam-nvidia-l4t-kernel:
arducam-nvidia-l4t-kernel depends on nvidia-l4t-kernel (= 4.9.140-tegra-32.4.3-20200625213407); however:
Version of nvidia-l4t-kernel on system is 4.9.140-tegra-32.4.4-20201016123640.
dpkg: error processing package arducam-nvidia-l4t-kernel (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
arducam-nvidia-l4t-kernel
Dows anybody have ever had these problems?