I’m using tx2 (r28.1,kernel 4.4.38),J106 carrier board for six cameras (rev1),one Raspberry Pi camera v2.1
Firstly I pull up the camera reset pin using the following command
echo 461 > export
echo out > direction
echo 0 > value
echo 1 > value
I have the following questions:
1.Then I use “sudo i2cdetect -y -r ” to detect the camera
On port A/C/E,I can see the address 0x10 .sometimes I can’t see 0x10. After I shutdown and boot (not just use reboot command), I can’t see it.
On port B/D/F,I fail to get the i2c acknowledge (I should see the address 0x12 on those ports,but I didn’t)
- On port A/C/E,the I can get the I2C address 0x10. On those ports I use the following commamd in order to get the camera capture
export CAPS="video/x-raw(memory:NVMM), width=(int)1640, height=(int)1232, format=(string)I420, framerate=(fraction)30/1"
DISPLAY=:0 gst-launch-1.0 nvcamerasrc sensor-id=2 fpsRange="30 30" ! $CAPS ! autovideosink
the sensor-id matches the port number
0 – port A
1 – port B
. .
. .
. .
5 – port F
But I get the message :
Setting pipeline to PAUSED ...
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
I wonder if my gst-launch-1.0 command for capture is not right.
- Maybe it’s the dtb problem. I try to add FDT in the </boot/extlinux/extlinux.conf>. And if there isn’t the FDT line in that file, the default FDT is tegra186-quill-p3310-1000-c03-00-base.dtb
After I modified ,the extlinux.conf is
TIMEOUT 30
DEFAULT primary
MENU TITLE p2771-0000 eMMC boot options
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
FDT /boot/tegra186-quill-p3310-1000-a00-00-base.dtb
APPEND ${cbootargs} root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
I specify FDT <tegra186-quill-p3310-1000-a00-00-base.dtb>, because I see in file <tegra186-camera-imx219-rr.dtsi> ,there is :
i2c@240000{
imx219_a@10{
compatible = "nvidia,imx219";
reg = <0x10>;
status = "okay";
.
.
.
.
}
imx219_b@12{
compatible = "nvidia,imx219";
reg = <0x12>;
status = "okay";
.
.
.
.
}
}
And in file tegra186-quill-p3310-1000-a00-00-base.dts ,it has the line :
#include <t18x-common-modules/tegra186-camera-imx219-rr.dtsi>
Then I repeat the steps 1 and 2 ,I get the same problem.
- I download the firmware for jetson tx2 based carrier boards form AUVIDEA https://auvidea.com/firmware/ version 1.5 and 1.4 . I follow the steps in readme.txt. I get the same problem in question 1 and 2.
ps. I find all files in version 1.4 is the same as those in version 1.5, expect that there is a directory named source which contains some dts files in the version 1.5.
That is all.
Is there anybody have any clues to my questions.
Thanks.