Dear SivaRamaKrishna,
Thank you for your response.
Yes indeed we face an issue while trying to access the camera. I tried two possibilities, both results in error:
- nvidia@nvidia:/usr/local/driveworks/bin$ ./sample_camera_gmsl
Program Arguments:
–camera-type=ar0231-rccb
–csi-port=ab
–fifo-size=3
–serialize-bitrate=8000000
–serialize-framerate=30
–serialize-type=h264
–slave=0
–write-file=
nvrm_gpu: Bug 200215060 workaround enabled.
Initialize DriveWorks SDK v0.6.67
Release build with GNU 4.9.2 from v0.6.0-rc7-0-g51bd3aa against Vibrante PDK v5.0.5.0
TimeSource: monotonic epoch time offset is 1536541342513380
TimeSource: PTP ioctl returned error. Synchronized time will not be available.
TimeSource: Could not detect valid PTP time source at ‘eth0’. Fallback to CLOCK_MONOTONIC.
SDK: Resources mounted from /usr/local/driveworks-0.6/data/resources
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SDK: number of GPU devices detected 2
SDK: currently selected GPU device discrete ID 0
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> camera.gmsl, camera-type=ar0231-rccb,csi-port=ab,fifo-size=3,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=,output-format=yuv
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
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
Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
Cannot create driver: camera.gmsl with params: camera-type=ar0231-rccb,csi-port=ab,fifo-size=3,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=,output-format=yuv
Error: DW_SAL_CANNOT_CREATE_SENSOR
- nvidia@nvidia:/usr/local/driveworks/bin$ ./sample_camera_gmsl --camera-type=c-ov10640-b1
Program Arguments:
–camera-type=c-ov10640-b1
–csi-port=ab
–fifo-size=3
–serialize-bitrate=8000000
–serialize-framerate=30
–serialize-type=h264
–slave=0
–write-file=
nvrm_gpu: Bug 200215060 workaround enabled.
Initialize DriveWorks SDK v0.6.67
Release build with GNU 4.9.2 from v0.6.0-rc7-0-g51bd3aa against Vibrante PDK v5.0.5.0
TimeSource: monotonic epoch time offset is 1536541342513380
TimeSource: PTP ioctl returned error. Synchronized time will not be available.
TimeSource: Could not detect valid PTP time source at ‘eth0’. Fallback to CLOCK_MONOTONIC.
SDK: Resources mounted from /usr/local/driveworks-0.6/data/resources
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SDK: number of GPU devices detected 2
SDK: currently selected GPU device discrete ID 0
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> camera.gmsl, camera-type=c-ov10640-b1,csi-port=ab,fifo-size=3,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=,output-format=yuv
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: Image sensor(0) device is not present
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
Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
Cannot create driver: camera.gmsl with params: camera-type=c-ov10640-b1,csi-port=ab,fifo-size=3,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=,output-format=yuv
Error: DW_SAL_CANNOT_CREATE_SENSOR
I am assuming the second trial is correct (compared to trial 1) since it is correctly setting the camera type. Just for your reference one more information I would like to add about the camera, the ISP is OV4930. So here is a
summary of the camera:
RDACM21 -IMI camera:
Imager - OV10640
ISP: OV490
Optical format - 1/2.56"
Serializer: MAX9271
Please let us know how to resolve the issue.
Thanks & Regards
Paul Girond