Write custom camera module with NvSIPL

We have a custom camera, we can make it work on DRIVE OS Linux 5.1.6 by mofidy extimgdev and nvipp_raw
We want to upgrade OS to 5.2.0 and use NvSIPL instead of NvIPP camera framework, what is the best way to start? (we can not find any example source code of libnvsipl_qry_xxx.so after install via sdkmanager)
Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version

Target Operating System

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version

Host Machine Version
native Ubuntu 18.04

Please help to change your DevZone account to use corporate or university email address by following below links, or post with the account with corporate or university email address so we can further support you.

My Profile | NVIDIA Developer → “Edit Profile” → “Change email” → “CHANGE”

However, for this question, you can check NvMedia Porting Guide.

1 Like

Dear @VickNV,
I use my business email here, please reply to my above question.

Hi @v.hieplc ,

May I know who supported you your custom camera bring-up then and if you got any extra package (besides DRIVE Software 10)? I’m asking because nvidia only supports camera selected camera partners (not via forum).

~/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/samples/nvmedia/nvsipl/query/database/example has some example sensor/module/platform configuration files (.json). But I need to emphazie that I don’t think custom camera bringup can be done with only DRIVE OS release so if you can tell us your previous experience on DRIVE OS (part of DRIVE Software 10), it can clarify more.


Hi @VickNV,
We have modify /drive-t186ref-linux/samples/nvmedia/ext_dev_prgm to config MAX9295 serializer through NvMedia ISC (I2C protocol), we rebuild & replace your origin libnv_extimgdev.so to make sensor work.
We also modify nvipp_raw to change ISP output type & compress processed image using NvMediaIJPE.

I also see that NvMedia ISC is remove in DRIVE OS 5.2, so I do not know how to begin to develop driver, at least try to comunicate through I2C control bus.

Please refer to the drivers under ~/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/samples/nvmedia/nvsipl/devblk/cameramodule/MAX96712cameramodule for your porting. Thanks.