Hi Nvidia;
I am testing my camear on the Jetson AGX Orin Platform using the SIPL camera framework.
The hardware configuration is:
IMX728 (3840x2160, raw12, 4 lanes DPHY) → MAX96717(serializer) → MAX96712 (deserializer 4 lane cphy)
I used the following command,
sudo nvsipl_camera -c R0SIM728S3RU2120NB -m 0x0001 -H -v 4 -N /var/nvidia/nvcam/settings/sipl/R0SIM728S3RU2120NB.nito -Z -t ./test.json
and got the error log
ERROR: Master SetPlatformConfig (Camera HAL) failed. status: 10
test.json.txt (1.9 KB)
log.txt (7.0 KB)
I have the questions:
- Is there any required configuration missing from my JSON file?
- In the JSON configuration, what’s mapping between “i2cDevice”:1 and kernel i2c module?
- “gpioPinIndex”:7 correspond to which specific gpio number in kernel gpio module?
- Do the kernel modules (e.g. cdi_dev.ko, cdi_gpio.ko, cdi_mgr.ko) have to do with SPIL framework?
Thank you.
Could you confirm by below command.
sudo nvsipl_camera \
-c R0SIM728S3RU2120NB \
-m 0x0001 \
-H \
-t ./test.json \
-Z \
-012R \
-r 5 \
-v 4
Thanks your help, Shane.
I got the same error with the command you provided.
Platform configuration name: R0SIM728S3RU2120NB2
Platform configuration file: ./test.json
Running for 5 seconds
Verbosity level: 4
Raw output: enabled
ISP0 output: disabled
ISP1 output: disabled
ISP2 output: disabled
Disabled FPS logging
Disabled Metadata logging
Disabled automatic recovery
Disabled profiling
Disabled ISP Statistics settings override
Subframe : enabled
Disabled Passive mode
Authentication: disabled by the user
Camera HAL path: enabled
Disabled retrieving/displaying NITO Metadata
nvsipl_camera: Setting up signal handler
libnvsipl_query.so: CNvMCameraQuery.cpp : 1414: ParseJsonFile: CNvMCameraQuery::ParseJsonFile reading file ./test.json
libnvsipl_query.so: CNvMCameraQuery.cpp : 453: ParseCameraConfigs: ParseCameraConfigs: Processing module: R0SIM728S3RU2120NB2
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 79: ParseJson: Parsing camera config: name=R0SIM728S3RU2120NB2 type=GMSL
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 197: ParseJson: R0SIM728S3RU2120NB2: mipiSettings parsed: phyMode=0 dphyRate=1300000 cphyRate=0 lanes=4
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 694: ParseGMSLConfig: No linkIndex specified, defaulting to 0
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 712: ParseGMSLConfig: Parsed linkMode: LINK_MODE_GMSL2_6GBPS
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 725: ParseGMSLConfig: Parsed fsyncMode: external
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 742: ParseGMSLConfig: R0SIM728S3RU2120NB2: serializer name=MAX96717
libnvsipl_query.so: CNvMSerInfo.cpp : 71: ParseJson: Parsed MAX96717
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 814: ParseGMSLConfig: Parsing 1 GMSL sensors from 'sensorInfo' array
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 833: ParseGMSLConfig: Parsed GMSL sensor[0]: IMX728 with 1 virtual channels
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 842: ParseGMSLConfig: Parsed GMSL module with 1 sensors
libnvsipl_query.so: CNvMCameraConfigInfo.cpp : 855: ParseGMSLConfig: R0SIM728S3RU2120NB2: GMSL config complete: phyMode=0 dphyRate=1300000 cphyRate=0 mipiClockRate=1300000
libnvsipl_query.so: CNvMCameraQuery.cpp : 1498: ParseJsonFile: Parsing unified platformTransportSettings format
libnvsipl_query.so: CNvMCameraQuery.cpp : 967: ParsePlatformTransportSettings: ParsePlatformTransportSettings: Parsing 1 platform entries
libnvsipl_query.so: CNvMCameraQuery.cpp : 1006: ParsePlatformTransportSettings: ParsePlatformTransportSettings: Platform 'jetson-agx-orin' using driver suffix 'NativeGpio'
libnvsipl_query.so: CNvMCameraQuery.cpp : 670: ParseTransportSettings: Parsing deserializer info for 'Max96712GmslDeserializer' in GMSL transport 'transportSettings_concord_AB'
libnvsipl_query.so: CNvMDeserInfo.cpp : 111: ParseJson: Parsed Max96712GmslDeserializer
libnvsipl_query.so: CNvMCameraQuery.cpp : 1020: ParsePlatformTransportSettings: ParsePlatformTransportSettings: Platform 'jetson-agx-orin' has 1 transports, 4 enable masks
libnvsipl_query.so: CNvMCameraQuery.cpp : 1032: ParsePlatformTransportSettings: ParsePlatformTransportSettings: Total platforms parsed: 1
libnvsipl_query.so: CNvMCameraQuery.cpp : 883: GetPlatformIndex: No matching platform for board='NVIDIA Jetson AGX Orin Developer Kit'. Defaulting to index 0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1509: ParseJsonFile: Selected platform: jetson-agx-orin (index=0)
libnvsipl_query.so: CNvMCameraQuery.cpp : 1554: ParseJsonFile: ParseJsonFile: Associated 1 transports with 1 GMSL camera configs
libnvsipl_query.so: CNvMCameraQuery.cpp : 1558: ParseJsonFile: ParseJsonFile: Complete - cameras=1, transports=1
libnvsipl_query.so: CNvMCameraQuery.cpp : 1609: GetSensorSystemConfig: GetCameraSystemConfig: Looking up 'R0SIM728S3RU2120NB2'
libnvsipl_query.so: CNvMCameraQuery.cpp : 1631: GetSensorSystemConfig: GetCameraSystemConfig: R0SIM728S3RU2120NB2 mipiSettings: phyMode=0 dphyRate=1300000 cphyRate=0 mipiClockRate=1300000
libnvsipl_query.so: CNvMCameraQuery.cpp : 1794: GetSensorSystemConfig: GetCameraSystemConfig: Using module-specific transports for 'R0SIM728S3RU2120NB2' (1 transports)
libnvsipl_query.so: CNvMCameraQuery.cpp : 1811: GetSensorSystemConfig: Processing transport: transportSettings_concord_AB, transportIndex=0, csiPort=2
libnvsipl_query.so: CNvMCameraQuery.cpp : 1828: GetSensorSystemConfig: Sensor: id=0, deviceIndex=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1844: GetSensorSystemConfig: Created module instance: linkIndex=0, csiPort=2
libnvsipl_query.so: CNvMCameraQuery.cpp : 1828: GetSensorSystemConfig: Sensor: id=1, deviceIndex=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1844: GetSensorSystemConfig: Created module instance: linkIndex=1, csiPort=2
libnvsipl_query.so: CNvMCameraQuery.cpp : 1828: GetSensorSystemConfig: Sensor: id=2, deviceIndex=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1844: GetSensorSystemConfig: Created module instance: linkIndex=2, csiPort=2
libnvsipl_query.so: CNvMCameraQuery.cpp : 1828: GetSensorSystemConfig: Sensor: id=3, deviceIndex=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1844: GetSensorSystemConfig: Created module instance: linkIndex=3, csiPort=2
libnvsipl_query.so: CNvMCameraQuery.cpp : 1855: GetSensorSystemConfig: Built sensor system config: 4 modules, 1 transports
nvsipl_camera: Setting link masks
libnvsipl_query.so: CNvMCameraQuery.cpp : 1866: ApplyMask: ApplyMask: Starting with 4 modules, 1 transports
libnvsipl_query.so: CNvMCameraQuery.cpp : 1881: ApplyMask: ApplyMask: Using user-provided masks (1 masks)
libnvsipl_query.so: CNvMCameraQuery.cpp : 1899: ApplyMask: Transport[0]: csiPort=2
libnvsipl_query.so: CNvMCameraQuery.cpp : 1940: ApplyMask: Mask check: module=R0SIM728S3RU2120NB2, linkIndex=0, transportIdx=0, linkMask=0x1, enabled=1
libnvsipl_query.so: CNvMCameraQuery.cpp : 1945: ApplyMask: Enabled module: R0SIM728S3RU2120NB2, csiPort=2, transportIdx=0, linkIndex=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1940: ApplyMask: Mask check: module=R0SIM728S3RU2120NB2, linkIndex=1, transportIdx=0, linkMask=0x1, enabled=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1940: ApplyMask: Mask check: module=R0SIM728S3RU2120NB2, linkIndex=2, transportIdx=0, linkMask=0x1, enabled=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 1940: ApplyMask: Mask check: module=R0SIM728S3RU2120NB2, linkIndex=3, transportIdx=0, linkMask=0x1, enabled=0
libnvsipl_query.so: CNvMCameraQuery.cpp : 2003: ApplyMask: ApplyMask: Filtered to 1 modules based on mask
nvsipl_camera: Creating camera master
nvsipl_camera: Setting up master
Main: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/pipelineMgr/CNvMCamera.cpp: 159: GetInstance: Entering
Main: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/pipelineMgr/CNvMCamera.cpp: 174: GetInstance: Exiting
nvsipl_camera: Creating consumers
nvsipl_camera: ERROR: Master SetPlatformConfig (Camera HAL) failed. status: 10
Main: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/pipelineMgr/CNvMCamera.cpp: 5177: Deinit: Entering
Main: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/pipelineMgr/CNvMCamera.cpp: 5206: Deinit: Exiting
Use a substring of the real model:
"platformTransportSettings": [
{
"name": "jetson-agx-orin",
"boardIdPrefix": "Jetson AGX Orin",
...
}
]
Confirm:
cat /proc/device-tree/model; echo