Nvsipl_camera execute bug

Please provide the following info (tick the boxes after creating this topic):
Software Version
[1] DRIVE OS 6.0.4 SDK
other

Target Operating System
[1] Linux
QNX
other

Hardware Platform
[1] DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
[1] 1.8.3.10426
other

Host Machine Version
[1] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hi

when I use nvsipl_camera capture the image, the mcu will print some error information like below:

MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf472fa68
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf4b28240
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf4b28b00
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf4f212f0
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf4f21b90
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf531a3b0
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf531ac60
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf5713450
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf5713d20
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf5b0c520
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf5b0cde8
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf5f055b0
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf5f05e70
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf62fe688
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf62fef40
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf66f7740
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf66f7ff0
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf6af0818
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf6af10d8
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf6ee9898
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf6eea160
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf72e2968
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf72e3228
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf76dba08
MCU_FOH: ErrReport: ErrorCode-0x20000 ReporterId-0x8006 Error_Attribute-0x0 Timestamp-0xf76dc2b8
MCU_FOH: ErrReport: ErrorCode-0x2df5 ReporterId-0xe006 Error_Attribute-0x0 Timestamp-0xf7ad4ae0

And Tegra SoC will print log

Time taken from Error Reporting to SEH: 119 microseconds
DemoApp: ErrCode-0x2df5 ReptrId-0xe006 ErrAttr-0x0
EPS TimeStamp: 0xef1f24a3
DemoApp: ErrCode-0x20000 ReptrId-0x8006 ErrAttr-0x0
EPS TimeStamp: 0xef1f2d63
Failure Report FsiApp Tx:

Time taken from Error Reporting to SEH: 132 microseconds

What is the meaning of this error code? How to fix this? Thanks very much

@erfeng.jef Please share your command to reproduce the issue. Thanks.

Hi @VickNV

The command is

nvsipl_camera -v 4 -c LI-OV2311-VCSEL-GMSL2-60H_DPHY_x4 -m “0x0001 0x0000 0x0000 0x0000” --showfps --showmetadata --disableISP1Output --disableISP2Output --disableISP0Output --enableRawOutput 2>&1 | tee 1.log

I believe it’s the issue mentioned below in DRIVE OS 6.0.4 Linux Release Notes.

Also, is the camera module you’re using supported on DRIVE OS 6.0.4 Linux SDK out of the box?

Hi @VickNV

The camera module[AR0233-GW5200-Max9295] I use is not not support by DRIVE OS 6.0.4, and I modify the code based on ov2311.

By the way, the nvsipl_camera program sometimes captures images correctly with my modified code, but not always, I’m not sure what’s wrong with it now.

In case of failure, I grab the trace of RCE

# tracer: nop

#

# entries-in-buffer/entries-written: 8/8   #P:11

#

#                                _-------=> irqs-off

#                               / _------=> need-resched

#                              | / _-----=> need-resched-lazy

#                              || / _----=> hardirq/softirq

#                              ||| / _---=> preempt-depth

#                              |||| / _--=> preempt-lazy-depth

#                              ||||| / _-=> migrate-disable

#                              |||||| /     delay

#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION

#              | |         |   |||||||      |         |

    kworker/2:1-3291    [002] .......  8759.875694: rtcpu_vinotify_event: tstamp:273915455903 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:8765287618688 data:0x6b5cff0010000000

    kworker/2:1-3291    [002] .......  8759.875696: rtcpu_vinotify_event: tstamp:273915456121 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:8765287625824 data:0x0000000031000001

    kworker/2:1-3291    [002] .......  8759.875697: rtcpu_vinotify_event: tstamp:273915456356 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:8765287714496 data:0x6b5cfc0010000000

    kworker/2:1-3291    [002] .......  8759.875697: rtcpu_vinotify_event: tstamp:273915456562 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:8765287721664 data:0x0000000031000002

    kworker/2:1-3291    [002] .......  8759.875698: rtcpu_nvcsi_intr: tstamp:273915989456 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000004

    kworker/2:1-3291    [002] .......  8759.875699: rtcpu_nvcsi_intr: tstamp:273915989456 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000004

    kworker/2:1-3291    [002] .......  8759.875699: rtcpu_nvcsi_intr: tstamp:273915989456 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000004

    kworker/2:1-3291    [002] .......  8759.875699: rtcpu_nvcsi_intr: tstamp:273915989456 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:1 st:0 vc:0 status:0x00000004

Jetson Xavier/Orin should set the serdes_pix_clk_hz, but I can’t find anything about this on DRIVE OS

As mentioned in Bring up AR0233-GW5200-MAX9295 camera module on DRIVE AGX OS, custom camera modules aren’t supported via the forum.
You have to contact your nvidia representative to get the appropriate support channel.

If you encounter the same issue with a supported module, we can help here. Thanks.