Question about cameramodule of nvsipl in Xavier

Hi Nvidia exports,
We have a requirement that an Image injection device would connect to the Xavier Replacing the camera sensor. Image injection device uses a serializer Max9295,we can’t Establish connection the Max96712.
So we would like require some helps from you, thanks a lot.

  1. There is only serializer Max9295 connecting to Max96712, So can we skip the “NvMedia SIPL Framework” and get some image datas by Max96712 directly?

  2. We try to debug the Max9295 to support the Image injection device, and there is a init error, Can you help me to locate the cause of the problem?

Main: CNvMCameraModuleFactory.cpp: 177: LoadDriver: Mapping module name "AR0X3C" to module driver "/usr/libnvidia/nvsipl_drv/libnvsipl_devblk_drv_ar0x3c.so"
Main: CNvMMAX96712CameraModule.cpp: 390: DoSetConfig: ZHC_TEST:DoSetConfig:  cameraModuleConfig->eInterface 5
nvsipl_camera: Creating consumer for output:0 of sensor:4

nvsipl_camera: Profiler initialization for output:0 of sensor:4

nvsipl_camera: Consumer initialization for output:0 of sensor:4

nvsipl_camera: Initializing master interface

Main: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/CNvMCamera.cpp: 574: Init: Initializing device blocks
Main: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/CNvMDeviceBlockMgr.cpp: 216: Init: Initializing worker thread for block:0
Main: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 34: ThreadCreate: Creating thread:DEVBLK_WORKER_0
Main: /dit/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 130: m_FuncStatic: Thread created
: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 117: ThreadSetName: Setting thread name:DEVBLK_WORKER_0Main: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/CNvMDeviceBlockMgr.cpp: 179: WorkersDoAction: All worker threads starting DEVBLK_WORKER_0: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 145: m_Func: Running thread:DEVBLK_WORKER_0
on:1
DEVBLK_WORKER_0: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 145: m_Func: Running thread:DEVBLK_WORKER_0
DEVBLK_WORKER_0: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 148: m_Func: Calling ThreadFunc for thread:DEVBLK_WORKER_0
nvsipl_camera: Queue timeout

nvsipl_camera: Queue timeout

DEVBLK_WORKER_0: CNvMMax96712.cpp: 184: DoInit: Check deserializer is present
MAX96712: Revision 5 detected
DEVBLK_WORKER_0: CNvMMax96712.cpp: 191: DoInit: Set deserializer defaults
MAX96712 Link 0: PHY optimization was enabled
DEVBLK_WORKER_0: CNvMMax96712.cpp: 199: DoInit: Get deserializer revision
DEVBLK_WORKER_0: CNvMMax96712.cpp: 211: DoInit: Set MIPI output mode
DEVBLK_WORKER_0: CNvMMAX96712CameraModule.cpp: 35: Init: ZHC_TEST:CNvMMAX96712CameraModule:  m_pDeserializer->EnableLinks 0
DEVBLK_WORKER_0: CNvMMax96712.cpp: 271: EnableLinks: Enabling links
DEVBLK_WORKER_0: CNvMMAX96712CameraModule.cpp: 120: Init: ZHC_TEST: MAX96712: Init Done 0
DEVBLK_WORKER_0: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/utils/CNvMThread.cpp: 148: m_Func: Calling ThreadFunc for thread:DEVBLK_WORKER_0
Main: /dvs/git/dirty/git-master_qnx/camera/fusa/sipl/src/core/CNvMDeviceBlockMgr.cpp: 205: WorkersDoAction: All worker threads finished action:1
nvsipl_camera: ERROR: NvSIPLCamera Init failed

nvsipl_camera: ERROR: Master initialization failed. status: 10

Jan 01 02:50:42.815       nvsipl_camera.3166304..1                           0  -----ONLINE-----
Jan 01 02:50:42.815       nvsipl_camera.3166304..1                 slog*     0  MAX96712: Revision 5 detected

Jan 01 02:50:42.822       nvsipl_camera.3166304..1                 slog      0  MAX96712 Link 0: PHY optimization was enabled

Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera* 10031  src/devblk/common/core/CNvMDeviceBlock.cpp: 883 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  DevBlkCDIRootDeviceCheckAndClearIntr with NvMedia error: 7 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  src/core/CNvMDeviceBlockMgr.cpp: 501 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  Device block init failed. Status:: 0x00000a
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  src/core/CNvMDeviceBlockMgr.cpp: 197 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  Device block action failed for action: 1 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  src/core/CNvMDeviceBlockMgr.cpp: 198 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  Device block action failed for block: 0
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  src/core/CNvMDeviceBlockMgr.cpp: 230 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  Failed to initialize device blocks
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  src/core/CNvMCamera.cpp: 596 
Jan 01 02:50:42.974       nvsipl_camera.3166304..0        nvsipl_camera  10031  DeviceBlock manager init failed
Jan 01 02:50:42.974              devm_cdac.1052751            devm-cdac  10031  LOW-transitioning interrupt pin is not at the HIGH logic level: 16 
Jan 01 02:50:42.974              devm_cdac.1052751            devm-cdac  10031  Failed to execute GPIO check and clear intr devctl: 16 
Jan 01 02:50:42.974       nvsipl_camera.3166304..1                 slog      0  cdiRootDevCheckAndClearIntr: failed to check and clear edge intr via devctl

nvsipl_camera: Queue timeout

nvsipl_camera: Queue timeout

  1. Is .“/nv-qnx-52120-standard/drive-t186ref-qnx/samples/nvmedia/nvsipl/devblk/devices/MAX96712DeserializerDriver” compiled in another location?
    We try to modify MAX96712DeserializerDriver and replace the libnvsipl_devblk_drv_xxx.so, but there is no use.

Look forward to your reply.

This issue is for DRIVE AGX Xavier, right?
Suggest to open a new topic at Latest DRIVE AGX Xavier/DRIVE AGX General topics - NVIDIA Developer Forums.

Thanks

OK,Thanks a lot