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)