It does not help really.
For a test, I have connected the cams to p3407 running DriveWorks 1.2.400, aurix version
shell> version
Info: Executing cmd: version, argc: 0, args:
SW Version: DRIVE-V5.0.10-P3407-EB-Aurix-With3LSS-4.02.04
Compilation date: Aug 13 2018, 21:50:50
Command Executed
shell>
shell> status shows
Hardware information:
PMU-chip: B-Step
SCU_CHIPID: 0x4B459051
SystemUpInit-Time[ms]: 49
IP-address (Tegra): 10.42.0.28
IP-address (AURIX): 10.42.0.146
MAC-address (Tegra): 0x0000000000000000
MAC-address (AURIX): 0x0000000000000000
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_gmsl --camera-type=ar0231-rccb-bae-sf3324 runs without problems
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_gmsl --camera-type=ar0231-rccb-bae-sf3324
[30-11-2020 17:3:59] Initialize DriveWorks SDK v1.2.400
[30-11-2020 17:3:59] Release build with GNU 4.9.4 from v1.2.0-rc11-0-ga7f5475 against Vibrante PDK v5.0.10.3
[30-11-2020 17:3:59] Platform: Detected Drive PX2 - Tegra A
[30-11-2020 17:3:59] TimeSource: monotonic epoch time offset is 1606752056144372
[30-11-2020 17:3:59] TimeSource: PTP ioctl returned error. Synchronized time will not be available.
[30-11-2020 17:3:59] TimeSource: Could not detect valid PTP time source at ‘eth0’. Fallback to CLOCK_MONOTONIC.
[30-11-2020 17:3:59] Platform: number of GPU devices detected 1
[30-11-2020 17:3:59] Platform: currently selected GPU device integrated ID 0
[30-11-2020 17:3:59] SDK: Resources mounted from …/./data/resources
[30-11-2020 17:3:59] SDK: Create NvMediaDevice
[30-11-2020 17:3:59] SDK: Create NvMediaIPPManager
[30-11-2020 17:3:59] SDK: use EGL display as provided
[30-11-2020 17:3:59] SensorFactory::createSensor() → camera.gmsl, output-format=yuv,fifo-size=3,camera-type=ar0231-rccb-bae-sf3324,csi-port=a,slave=0
[30-11-2020 17:3:59] CameraGMSL: required FPS = 30, resolution = 1920x1208
***** 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
[30-11-2020 17:3:59] CameraGMSL: default IPP event callback function set
Successfully initialized camera with resolution of 1920x1208 at framerate of 30.000000 FPS
Timing results:
Thread main:
-onProcess CPU: 26us, std= 36 | GPU: 10us, std= 82 | samples=259
-onRender CPU: 31289us, std=3068 | GPU: 32846us, std=2822 | samples=259
[30-11-2020 17:4:8] Sensor statistics for: camera.gmsl, output-format=yuv,fifo-size=3,camera-type=ar0231-rccb-bae-sf3324,csi-port=a,slave=0
[30-11-2020 17:4:8] Events: 261
Errors: 0
Drops: 0
minDelta: 33307.0000000
maxDelta: 33368.0000000
meanDelta: 33332.394531
Standard deviation: 10.866838
***** 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
[30-11-2020 17:4:8] SDK: Release NvMediaDevice
[30-11-2020 17:4:8] Driveworks SDK released
[30-11-2020 17:4:8] SDK: Release NvMedia2D
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
So the same cams just run without problems on p3407
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Compare output with p2379
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_gmsl --camera-type=ar0231-rccb-bae-sf3324
[3-12-2020 11:31:16] Initialize DriveWorks SDK v1.2.400
[3-12-2020 11:31:16] Release build with GNU 4.9.4 from v1.2.0-rc11-0-ga7f5475 against Vibrante PDK v5.0.10.3
[3-12-2020 11:31:16] Platform: Detected Drive PX2 - Tegra A
[3-12-2020 11:31:16] TimeSource: monotonic epoch time offset is 1606994456035886
[3-12-2020 11:31:16] TimeSource: PTP ioctl returned error. Synchronized time will not be available.
[3-12-2020 11:31:16] TimeSource: Could not detect valid PTP time source at ‘eth0’. Fallback to CLOCK_MONOTONIC.
[3-12-2020 11:31:16] Platform: number of GPU devices detected 2
[3-12-2020 11:31:16] Platform: currently selected GPU device discrete ID 0
[3-12-2020 11:31:16] SDK: Resources mounted from …/./data/resources
[3-12-2020 11:31:16] SDK: Create NvMediaDevice
[3-12-2020 11:31:16] SDK: Create NvMediaIPPManager
[3-12-2020 11:31:16] SDK: use EGL display as provided
[3-12-2020 11:31:16] SensorFactory::createSensor() → camera.gmsl, output-format=yuv,fifo-size=3,camera-type=ar0231-rccb-bae-sf3324,csi-port=a,slave=0
[3-12-2020 11:31:16] CameraGMSL: required FPS = 30, resolution = 1920x1208
receive_from: Timeout Error.
Please check Ethernet ip configuration or
Update Aurix firmware version by the following command
sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update
nvmedia isc: TacpCamPowerControl: 237: TACP command failed with ret -5
iscRootDevOpen: Failed to power on camera(s)
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
[3-12-2020 11:31:21] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2020-12-03 11:31:21] 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)
What can I do next?