sample_camera__gmsl "cannot connect to camera"

I am using an ov10640,MAX96705 camera, I want collect capture on Teara A PX2, so I used sample_camera_gmsl, but I got “cannot connect to camera”:

./sample_camera_gmsl --camera-type=ov10640-bggr-ae-svc210
[17-5-2019 12:19:6] Initialize DriveWorks SDK v1.2.400
[17-5-2019 12:19:6] Release build with GNU 4.9.4 from v1.2.0-rc11-0-ga7f5475 against Vibrante PDK v5.0.10.3
[17-5-2019 12:19:6] Platform: Detected Drive PX2 - Tegra A
[17-5-2019 12:19:6] TimeSource: monotonic epoch time offset is 1558060612860407
[17-5-2019 12:19:6] TimeSource: PTP ioctl returned error. Synchronized time will not be available.
[17-5-2019 12:19:6] TimeSource: Could not detect valid PTP time source at ‘eth0’. Fallback to CLOCK_MONOTONIC.
[17-5-2019 12:19:6] Platform: number of GPU devices detected 2
[17-5-2019 12:19:6] Platform: currently selected GPU device discrete ID 0
[17-5-2019 12:19:6] SDK: Resources mounted from …/./data/resources
[17-5-2019 12:19:6] SDK: Create NvMediaDevice
[17-5-2019 12:19:6] SDK: Create NvMediaIPPManager
[17-5-2019 12:19:6] SDK: use EGL display as provided
[17-5-2019 12:19:6] SensorFactory::createSensor() → camera.gmsl, output-format=yuv,fifo-size=3,camera-type=ov10640-bggr-ae-svc210,csi-port=a,slave=0
[17-5-2019 12:19:6] CameraGMSL: required FPS = 30, resolution = 1280x1080
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: TEGRA B
TEGRA_FPDL: TEGRA B
TEGRA_A_HDMI: MXM
TEGRA_B_HDMI: MXM
TEGRA_PCI: TEGRA B
FAN_STATE: UNKNOWN


***** aurix state *****
CAM_PWR_ON: 0x1
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN


nvmedia: ERROR: SetupVideoLink: Can’t detect config link(0)
nvmedia: ERROR: Init: Failed to setup video link
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN


[17-5-2019 12:19:6] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera

terminate called after throwing an instance of ‘std::runtime_error’
what(): [2019-05-17 12:19:06] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /builds/driveav/dw/sdk/samples/sensors/camera_gmsl/main.cpp:153
Aborted (core dumped)

Dear Zhenzhenz,
Please check the following things.

  • Double check if you have connected to A0 port. If so, check with other camera module to confirm if it is not port issue
  • Check Aurix version
  • Share your camera details to reproduce on our end

This is my Aurix version: DRIVE-V5.0.10-P2379-EB-Aurix-With3LSS-4.02.04
And, I am sure connecting to the A0 port.
I am using Calmcar surround camera, here is detail: ov10640,ov490,MAX96705,1280 x 1080,25FPS,LVDS,YUV 422 8bit

Dear Zhenzhenz,
The PDK supports the following sensor + serializer + deserializer combinations.
AR0231 + Max96705 + Max9286
OV10640 + Max9271 + Max9286

So the above camera is not supported

So,if I want use this camera on PX2,what should I do? Is there any useful topics for me to follow?