We got some ar0231 rccb cameras to try on drive px2. But we run into the following issue. When running the ./sample_camera_gmsl --offscreen=1 --csi-port=ab, the following error is produced:
Program Arguments:
--camera-count=2
--fifo-size=3
--offscreen=0
--selector-mask=0100
--slave=0
--type-ab=ar0231
--type-cd=ar0231
--type-ef=ar0231
nvrm_gpu: Bug 1781434 workaround enabled.
nvrm_gpu: Bug 1778448 workaround enabled.
Initialize DriveWorks SDK v0.2.1
Release build with GNU 4.9.2 from v0.2.1-rc6-0-g684729c against PDK v4.1.4.0
SDK: no resource mounted
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> camera.gmsl, csi-port=ab,camera-type=ar0231,camera-count=4,camera-mask=0100,slave=0,fifo-size=3
CameraGMSL: required FPS = 30, resolution = 1920x1208
receive_from: Timeout Error.
Please check Ethernet ip configuration or
check Aurix firmware version
iscRootDevOpen: Failed to power on camera(s)
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
<b>Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera</b>
Cannot create driver: camera.gmsl with params: csi-port=ab,camera-type=ar0231,camera-count=4,camera-mask=0100,slave=0,fifo-size=3
Error: DW_SAL_CANNOT_CREATE_SENSOR
Need to specify at least 1 at most 12 cameras to be used
The gmsl camera is connected to the Camera Group A0 port as depicted on drivepx2 device. Please assist, thank you. Is there a guide on how to use the camera-mask, camera-count with respect to the physical gmsl ports on the device?