I’m trying to use the Leopard Imaging 6-camera carrier board LI-TX1-CB-6CAM 1 with the LI-IMX185-MIPI-CS 2 camera and the TX2 module. The camera is connected on the J1 port.
When I try to run nvgstcapture-1.0 I get the following error:
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 214)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 317)
The following is the output of /var/log/syslog while running nvgstcapture-1.0
Jul 31 18:14:04 tegra-ubuntu argus_daemon[1176]: launchCC abort cc 543 session 0
Jul 31 18:14:04 tegra-ubuntu argus_daemon[1176]: SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Jul 31 18:14:04 tegra-ubuntu argus_daemon[1176]: (Argus) Error Timeout: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Jul 31 18:14:04 tegra-ubuntu argus_daemon[1176]: (Argus) Error InvalidState: MetadataResult callback for unknown capture. (in src/api/CaptureSessionImpl.cpp, function metadataResult(), line 705)
Jul 31 18:14:04 tegra-ubuntu kernel: [ 550.683606] imx185 40-001a: imx185_s_stream++ enable 0
Jul 31 18:14:04 tegra-ubuntu kernel: [ 550.690860] tegra-i2c 3180000.i2c: no acknowledge from address 0x1a
Jul 31 18:14:04 tegra-ubuntu kernel: [ 550.709261] imx185 40-001a: imx185_power_off: power off
Jul 31 18:14:04 tegra-ubuntu systemd[1]: argus-daemon.service: Main process exited, code=killed, status=11/SEGV
Jul 31 18:14:04 tegra-ubuntu systemd[1]: argus-daemon.service: Unit entered failed state.
Jul 31 18:14:04 tegra-ubuntu systemd[1]: argus-daemon.service: Failed with result 'signal'.
Jul 31 18:14:04 tegra-ubuntu systemd[1]: argus-daemon.service: Service hold-off time over, scheduling restart.
Jul 31 18:14:04 tegra-ubuntu systemd[1]: Stopped Argus daemon.
Jul 31 18:14:04 tegra-ubuntu systemd[1]: Started Argus daemon.
I used JetPack 3.2.1 and followed the instructions below to install the board drivers in L4T.
6. After boot up TX2, copy 2 images: one called “Image” and another called “zImage” to /boot on TX2.
sudo cp Image /boot
sudo cp zImage /boot
7. copy 4.4.38-tegra-leopard.tgz to /lib/modules on TX2.
sudo cp 4.4.38-tegra-leopard.tgz /lib/modules
cd /lib/modules
sudo tar zxvf 4.4.38-tegra-leopard.tgz
8. Copy camera_overrides.isp to TX2 /var/nvidia/nvcam/settings (if there is isp file)
sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp
sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp
9. Reboot TX2.
10. Open a terminal and do "nvgstcapture-1.0”. You will get live video output.
The following is the output of dmesg regarding IMX185 after rebooting the board. It seems it is detecting the camera in J1, but still I cannot bring it up and capture images.
[ 2.726760] i2c /dev entries driver
[ 2.727968] imx185 40-001a: [IMX185]: probing v4l2 sensor at addr 0x1a.
[ 2.728381] imx185 40-001a: imx185_ctrls_init++
[ 2.728398] imx185 40-001a: Detected IMX185 sensor
[ 2.728421] imx185 41-001a: [IMX185]: probing v4l2 sensor at addr 0x1a.
[ 2.728603] imx185 41-001a: imx185_ctrls_init++
[ 2.728615] imx185 41-001a: Detected IMX185 sensor
[ 2.728638] imx185 42-001a: [IMX185]: probing v4l2 sensor at addr 0x1a.
[ 2.728819] imx185 42-001a: imx185_ctrls_init++
[ 2.728831] imx185 42-001a: Detected IMX185 sensor
[ 2.728855] imx185 43-001a: [IMX185]: probing v4l2 sensor at addr 0x1a.
[ 2.729185] imx185 43-001a: imx185_ctrls_init++
[ 2.729196] imx185 43-001a: Detected IMX185 sensor
[ 2.729220] imx185 44-001a: [IMX185]: probing v4l2 sensor at addr 0x1a.
[ 2.729370] imx185 44-001a: imx185_ctrls_init++
[ 2.729381] imx185 44-001a: Detected IMX185 sensor
[ 2.729401] imx185 45-001a: [IMX185]: probing v4l2 sensor at addr 0x1a.
[ 2.729561] imx185 45-001a: imx185_ctrls_init++
[ 2.729573] imx185 45-001a: Detected IMX185 sensor
...
[ 5.035046] tegra-vi4 15700000.vi: initialized
[ 5.036238] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-0 bound
[ 5.036242] tegra-vi4 15700000.vi: subdev imx185 40-001a bound
[ 5.036527] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-1 bound
[ 5.036529] tegra-vi4 15700000.vi: subdev imx185 41-001a bound
[ 5.036791] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-2 bound
[ 5.036794] tegra-vi4 15700000.vi: subdev imx185 42-001a bound
[ 5.037036] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-3 bound
[ 5.037038] tegra-vi4 15700000.vi: subdev imx185 43-001a bound
[ 5.037277] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-4 bound
[ 5.037279] tegra-vi4 15700000.vi: subdev imx185 44-001a bound
[ 5.037523] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-5 bound
[ 5.037525] tegra-vi4 15700000.vi: subdev imx185 45-001a bound
...
[ 8.133503] imx185 41-001a: imx185_open:
[ 8.135372] imx185 42-001a: imx185_open:
[ 8.140457] imx185 40-001a: imx185_open:
[ 8.141830] imx185 43-001a: imx185_open:
[ 8.143408] imx185 44-001a: imx185_open:
[ 8.146886] imx185 45-001a: imx185_open:
[ 8.180264] xhci-tegra 3530000.xhci: cannot find firmware....retry after 1 second
[ 8.207597] imx185 44-001a: imx185_power_on: power on
[ 8.208228] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[ 8.208825] tegra-pcie 10003000.pcie-controller: probing port 0, using 4 lanes
[ 8.211024] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
[ 8.228655] imx185 41-001a: imx185_power_on: power on
[ 8.235524] imx185 40-001a: imx185_power_on: power on
[ 8.235754] imx185 45-001a: imx185_power_on: power on
[ 8.242113] imx185 42-001a: imx185_power_on: power on
[ 8.247923] imx185 43-001a: imx185_power_on: power on
[ 8.250175] imx185 44-001a: imx185_power_off: power off
[ 8.250302] imx185 43-001a: imx185_power_off: power off
[ 8.250972] imx185 41-001a: imx185_power_off: power off
[ 8.251173] imx185 40-001a: imx185_power_off: power off
[ 8.251386] imx185 45-001a: imx185_power_off: power off
[ 8.259683] imx185 42-001a: imx185_power_off: power off
I also tried this with JetPack 3.3 but the results are the same.
Does anyone know if I’m missing something here?
Thanks
dmesg.log (65.4 KB)
syslog.log (19.8 KB)