I have a problem to access the gmsl camera from XavierA in my AGX Pegasus.
I can access gmsl camera from XavierB using sample_camera_gmsl_raw, but met an error on XavierA side.
I get the following error:
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_gmsl_raw
[18-09-2019 09:53:32] Platform: Detected DDPX - Tegra A
[18-09-2019 09:53:32] Initialize DriveWorks SDK v2.0.2081
[18-09-2019 09:53:32] Release build with GNU 4.9.4 from heads/buildbrain-branch-0-g36b127f against Drive PDK v5.1.0.2
[18-09-2019 09:53:32] TimeSource: monotonic epoch time offset is 1568764756806178
[18-09-2019 09:53:32] PTP Time is available from NVPPS Driver
[18-09-2019 09:53:32] Platform: number of GPU devices detected 2
[18-09-2019 09:53:32] Platform: currently selected GPU device discrete ID 0
[18-09-2019 09:53:32] SDK: Resources mounted from /usr/local/driveworks-2.0/data/
[18-09-2019 09:53:32] SDK: Create NvMediaDevice
[18-09-2019 09:53:32] SDK: use EGL display as provided
[18-09-2019 09:53:32] Initialize DriveWorks VisualizationSDK v2.0.2081
[18-09-2019 09:53:32] Initialize DriveWorksGL SDK v2.0.2081
[18-09-2019 09:53:32] SensorFactory::createSensor() → camera.gmsl, output-format=raw+data,camera-type=ar0231-rccb-bae-sf3324,camera-group=a,format=raw,fifo-size=3,slave=0
[18-09-2019 09:53:32] CameraGMSL: Create NvMediaIPPManager
[18-09-2019 09:53:32] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: IscPwrCtrlInit: 939: Camera power control library: NVCCP
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
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: NvccpCamPowerControl: 534: NVCCP command failed with ret NVCCP_REQ_TIMEOUT
iscRootDevOpen: Failed to request ownership
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
[18-09-2019 09:53:42] 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-09-18 09:53:42] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl_raw/main.cpp:178
Aborted (core dumped)
I tried to run ‘sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update’ but I get the following error.
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update
starting Aurix FW checking…
Checking arguments…
No_Response_From_Aurix
!!! IMPORTANT INFORMATION BELOW REGARDING Aurix FW (PLEASE READ) !!!
No response from Aurix FW. It seems
vlan iface not configured properly
Please check your nv_tacp_init systemd service
THIS MESSAGE WILL CONTINUE TO BE SHOWN UNTIL ACTION MENTIONED IS TAKEN
With action taken, this script will be muted and not shown again
I also use minicom to connect to aurix via usb cable, and get the following version information:
shell> version
Info: Executing cmd: version, argc: 0, args:
SW Version: DRIVE-V5.1.0-E3550-EB-Aurix-ForHyperion-3.02.07
Compilation date: Apr 2 2019, 14:40:07
Command Executed
I’m not sure where the problem is and how to solve it.
Best Regards,
Liang