Having issues openning gmsl camera in docker on Nvidia PX2-E2379b-c01

Hi,

We are currently trying to use docker to set up software development environment quickly on multiple PX2s. After the dependencies were installed inside a docker, we copied it onto a PX2 and mapped all the ports under “/dev/” into the docker. We were able to open the serial ports and received data in the docker from IMU and GPS but when we were trying to open camera, we got a “core dumped”:

nvmedia: ERROR: CameraInit perfPath: ../CAMERA_Src/lib_new/e2379b_c01.conf
Segmentation fault (core dumped)

We defined

serializer_address = 0x40
deserializer_address = 0x6a
sensor_address = 0x30

inside “e2379b_c01.conf”. We guess the reason that caused this problem is the fault on these addresses. If you have any clue on the problem we got, please let me know. Thank you!

Best,
Ding

Dear dinghouzx,

Could you please refer to the following link for DPX2’s docker setting? Thanks.
https://devtalk.nvidia.com/default/topic/1027885/driveworks/installing-driveworks-within-a-docker-image/2