GMSL NILE30CAM + JCB004 + (Nvidia Xavier+DevKIT) problems

Hello,
I have the following setup:
2 x NILE30CAM
Jetson AGX Xavier(DEV KIT): with Jetpack 4.3.3
JCB004 : L4T r32.3.1 – JetPack 4.3 (https://connecttech.com/resource-center/l4t-board-support-packages/)

I want to capture from GMSL camera using the gstreamer in UYVY pixel format.

Testing and problems:

Using the v4l2 plugin with gstreamer-1.0, I can capture from the first NILE30CAM at some specified resolutions but not using 3MP and 3.4MP resolution and for the second camera the system does not recognize this camera under: /dev/video*

Pipeline: gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw,width=2048,height=1536’ ! xvimagesink -e

I have connected only 1 camera at the time.

Additional: even if the first camera stream is working i do have some errors in the syslog:

(For both cameras i do receive a bound confirmation)
pests@pests-desktop:~$ dmesg | grep 15c10000.vi
[ 0.987374] iommu: Adding device 15c10000.vi to group 46
[ 0.987604] t19x-arm-smmu: Adding 15c10000.vi to ISO SMMU client
[ 11.206822] tegra194-vi5 15c10000.vi: initialized
[ 11.213020] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–8 bound
[ 11.213072] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–7 bound
[ 11.213119] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–6 bound
[ 11.213163] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–5 bound
[ 11.213207] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–4 bound
[ 11.213250] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–3 bound
[ 11.213295] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–2 bound
[ 11.213338] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi–1 bound


(Those errors are the same for both cameras)
pests@pests-desktop:~$ dmesg | grep ar0330
[ 0.515963] DTS File Name: tegra194-p2888-0001-p2822-0000-JCB004-AR0330-8CAM.dts
[ 0.930674] DTS File Name: tegra194-p2888-0001-p2822-0000-JCB004-AR0330-8CAM.dts
[ 1.051698] vdd-3v3-cvb: 3300 mV
[ 1.053705] vdd-sdmmc1-sw: 3300 mV
[ 1.055364] vdd-3v3-slt: 3300 mV
[ 1.199237] vdd-ao-3v3: at 3300 mV
[ 1.211302] vddio-emmc-3v3: at 3300 mV
[ 1.223377] vdd-usb-3v3: at 3300 mV
[ 1.235418] vddio-sdmmc1-3v3: at 3300 mV
[ 1.330620] tegra-gpcdma 2600000.dma: GPC DMA driver register 31 channels
[ 1.633066] 9p: Installing v9fs 9p2000 file system support
[ 2.133010] ucsi_ccg 1-0008: typec-pd extcon dev created
[ 4.323368] ar0330 30-0043: Failed reading register ret = -121!
[ 4.323641] ar0330 30-0043: mcu_get_fw_version(1657) MCU CMD ID Read PKT fw Version Error - 0
[ 4.323848] ar0330 30-0043: Trying to Detect Bootloader mode
[ 4.335357] ar0330 30-0043: Failed reading register ret = -121!
[ 4.335534] ar0330 30-0043: Read Failed
[ 4.359359] ar0330 30-0043: Failed reading register ret = -121!
[ 4.359558] ar0330 30-0043: Read Failed
[ 4.383340] ar0330 30-0043: Failed reading register ret = -121!
[ 4.383507] ar0330 30-0043: Read Failed
[ 4.551391] ar0330 30-0043: Failed reading register ret = -121!
[ 4.551537] ar0330 30-0043: Read Failed
[ 4.562698] ar0330 30-0043: Error updating firmware
[ 4.566502] ar0330: probe of 30-0043 failed with error -22
[ 4.700012] ar0330 30-0044: Failed writing register ret = -121!
[ 4.700172] ar0330 30-0044: serdes_write_8b_reg:write reg error: reg = 0x0,val = 0xa0
[ 4.700815] ar0330 30-0044: Failed writing register ret = -121!
[ 4.700970] ar0330 30-0044: serdes_write_8b_reg:write reg error: reg = 0x4,val = 0x43
[ 4.701888] ar0330: probe of 30-0044 failed with error -5
[ 4.702069] ar0330 31-0043: ar0330_probe[2634]:GPIO POC Fail, err:-16
[ 4.995374] ar0330 31-0043: Failed reading register ret = -121!
[ 4.995556] ar0330 31-0043: mcu_get_fw_version(1657) MCU CMD ID Read PKT fw Version Error - 0
[ 4.995736] ar0330 31-0043: Trying to Detect Bootloader mode
[ 5.007374] ar0330 31-0043: Failed reading register ret = -121!
[ 5.007560] ar0330 31-0043: Read Failed
[ 5.031355] ar0330 31-0043: Failed reading register ret = -121!
[ 5.199487] ar0330 31-0043: Read Failed
[ 5.223357] ar0330 31-0043: Failed reading register ret = -121!
[ 5.223517] ar0330 31-0043: Read Failed
[ 5.234769] ar0330 31-0043: Error updating firmware
[ 5.238501] ar0330: probe of 31-0043 failed with error -22
[ 5.372087] ar0330 31-0044: Failed writing register ret = -121!
[ 5.372260] ar0330 31-0044: serdes_write_8b_reg:write reg error: reg = 0x0,val = 0xa0
[ 5.372931] ar0330 31-0044: Failed writing register ret = -121!
[ 5.373086] ar0330 31-0044: serdes_write_8b_reg:write reg error: reg = 0x4,val = 0x43
[ 5.374023] ar0330: probe of 31-0044 failed with error -5
[ 5.374190] ar0330 32-0043: ar0330_probe[2634]:GPIO POC Fail, err:-16
[ 5.667353] ar0330 32-0043: Failed reading register ret = -121!
[ 5.667524] ar0330 32-0043: mcu_get_fw_version(1657) MCU CMD ID Read PKT fw Version Error - 0
[ 5.667719] ar0330 32-0043: Trying to Detect Bootloader mode
[ 5.679387] ar0330 32-0043: Failed reading register ret = -121!
[ 5.679551] ar0330 32-0043: Read Failed
[ 5.703386] ar0330 32-0043: Failed reading register ret = -121!
[ 5.871420] ar0330 32-0043: Read Failed
[ 5.895326] ar0330 32-0043: Failed reading register ret = -121!
[ 5.895454] ar0330 32-0043: Read Failed
[ 5.906750] ar0330 32-0043: Error updating firmware
[ 5.910417] ar0330: probe of 32-0043 failed with error -22
[ 6.243001] ar0330 32-0044: Failed writing register ret = -121!
[ 6.309099] ar0330 32-0044: Failed writing register ret = -121!
[ 6.309266] ar0330 32-0044: mcu_get_fw_version(1649) MCU CMD ID Write PKT fw Version Error - 0
[ 6.309426] ar0330 32-0044: Trying to Detect Bootloader mode
[ 6.375684] ar0330 32-0044: Failed writing register ret = -121!
[ 6.375814] ar0330 32-0044: Write Failed
[ 6.452711] ar0330 32-0044: Failed writing register ret = -121!
[ 6.452841] ar0330 32-0044: Write Failed
[ 6.528808] ar0330 32-0044: Failed writing register ret = -121!
[ 6.528969] ar0330 32-0044: Write Failed
[ 6.604735] ar0330 32-0044: Failed writing register ret = -121!
[ 7.060828] ar0330 32-0044: Write Failed
[ 7.070723] ar0330 32-0044: Error updating firmware
[ 7.106261] ar0330: probe of 32-0044 failed with error -22
[ 7.106447] ar0330 33-0043: ar0330_probe[2634]:GPIO POC Fail, err:-16
[ 7.399339] ar0330 33-0043: Failed reading register ret = -121!
[ 7.399475] ar0330 33-0043: mcu_get_fw_version(1657) MCU CMD ID Read PKT fw Version Error - 0
[ 7.399658] ar0330 33-0043: Trying to Detect Bootloader mode
[ 7.411301] ar0330 33-0043: Failed reading register ret = -121!
[ 7.411462] ar0330 33-0043: Read Failed
[ 7.435269] ar0330 33-0043: Failed reading register ret = -121!
[ 7.435400] ar0330 33-0043: Read Failed
[ 7.459333] ar0330 33-0043: Failed reading register ret = -121!
[ 7.627434] ar0330 33-0043: Read Failed
[ 7.638723] ar0330 33-0043: Error updating firmware
[ 7.642323] ar0330: probe of 33-0043 failed with error -22
[ 7.775967] ar0330 33-0044: Failed writing register ret = -121!
[ 7.776104] ar0330 33-0044: serdes_write_8b_reg:write reg error: reg = 0x0,val = 0xa0
[ 7.776755] ar0330 33-0044: Failed writing register ret = -121!
[ 7.776873] ar0330 33-0044: serdes_write_8b_reg:write reg error: reg = 0x4,val = 0x43
[ 7.777758] ar0330: probe of 33-0044 failed with error -5
[ 32.523330] tegradc 15220000.nvdisplay: tegra_dp_get_bpp: vmode=0x10000000 did not specify bpp

Could you help me understand these errors and why only one camera is recognized?
Why the last two big resolutions are not available for the working camera?
Thank you in advance!

Those message should be output by your driver. It’s could be read/write some REG failed that could be the cause the video register failed to gen the video node.

Others resolution not available must the the sensor mode table have problem.