This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-J721E: PROCESSOR-SDK-J721E version 09-01-00-06 problem with Fusion Board and IMX390 camera

Part Number: PROCESSOR-SDK-J721E

Hi Everyone,

I have recently downloaded the latest version of SDK-Linux and SDK-RTOS to use vision apps for J721E.

My former colleage compiled an SD Card using Linux version 08-04-00-11 and RTOS version 08-04-00-06. With that SD Card i can init Vision Apps and observe video stream with single cam application. When i compiled a new SD Card with latest version of SDK, i was able to Init Vision Apps  but observed the following error :

-ERROR: Initializing sensor [IMX390-UB953_D3] failed !!!
   214.917484 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
Error initializing sensor IMX390-UB953_D3

ISS: Starting sensor [IMX390-UB953_D3] ... !!!
[MCU2_0]    215.498343 s:  Error : I2C Timeout while writing 0x0 to IMX390 register 0x0
   215.540296 s: ISS: Starting sensor [IMX390-UB953_D3] failed !!!

-Detailed version of the vision apps init and single cam app logs are provided.

I suspect that something might have changed related to the hardware from v8 to v9 but i couldn't really figured it out.

Can you diagnose why it doesnt work?

Also is there any way/any command to check and verify the version etched on my former colleage's SD Card?

Best regards

  • root@j721e-evm:/opt/vision_apps# ./run_app_single_cam.sh
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=5) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       190.660634 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       190.664052 s:  VX_ZONE_INIT:Enabled
       190.664080 s:  VX_ZONE_ERROR:Enabled
       190.664087 s:  VX_ZONE_WARNING:Enabled
       190.667489 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
       190.671522 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    sensor_selection = [0]
    ldc_enable = [0]
    num_frames_to_run = [1000000000]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
    IttCtrl_registerHandler: command iss_raw_save registered at location 3
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
    IttCtrl_registerHandler: command dev_ctrl registered at location 7
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
     NETWORK: Opened at IP Addr = 192.168.184.165, socket port=5000!!!
       190.683531 s: ISS: Enumerating sensors ... !!!
       191.483382 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
       191.483406 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
       191.483425 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
       191.483431 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
       191.483436 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
       191.483441 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
    Select camera port index 0-11 : 2
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection
    . Try again
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : a
    Sensor selected : IMX390-UB953_D3
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 1
    Querying IMX390-UB953_D3
       214.211276 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
       214.211442 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
       214.211452 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
       214.211635 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]    214.211549 s: IMX390_PowerOn : chId = 0x2
       214.917441 s: ISS: ERROR: Initializing sensor [IMX390-UB953_D3] failed !!!
       214.917484 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
    Error initializing sensor IMX390-UB953_D3
    [MCU2_0]    214.917321 s: Error : sensor probe failed for channel 2
    read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
    app_create_viss : sensor_dcc_id = 390
    Enabling LDC
    Creating LDC
    Scaler is enabled
       214.986686 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0]    215.498343 s:  Error : I2C Timeout while writing 0x0 to IMX390 register 0x0
       215.540296 s: ISS: Starting sensor [IMX390-UB953_D3] failed !!!
    Failed to start sensor IMX390-UB953_D3
    Defaulting to file test mode
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice:
    Unsupported command
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/IMX390-UB953_D3/wdr
    [MCU2_0]    215.540169 s: Error : Failed to start sensor at channel Id 2
    
    
    Unsupported command
    root@j721e-evm:/opt/vision_apps# source ./vision_apps_init.sh
    root@j721e-evm:/opt/vision_apps# [MCU2_0]      4.178216 s: CIO: Init ... Done !!!
    [MCU2_0]      4.178288 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      4.178327 s: CPU is running FreeRTOS
    [MCU2_0]      4.178346 s: APP: Init ... !!!
    [MCU2_0]      4.178364 s: SCICLIENT: Init ... !!!
    [MCU2_0]      4.178569 s: SCICLIENT: DMSC FW version [9.1.2--v09.01.02 (Kool Koala)]
    [MCU2_0]      4.178613 s: SCICLIENT: DMSC FW revision 0x9
    [MCU2_0]      4.178640 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      4.178664 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      4.178686 s: UDMA: Init ... !!!
    [MCU2_0]      4.179709 s: UDMA: Init ... Done !!!
    [MCU2_0]      4.179766 s: MEM: Init ... !!!
    [MCU2_0]      4.179803 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0]      4.179861 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144 bytes !!!
    [MCU2_0]      4.179903 s: MEM: Init ... Done !!!
    [MCU2_0]      4.179923 s: IPC: Init ... !!!
    [MCU2_0]      4.179970 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_0]      4.180020 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     13.206709 s: IPC: HLOS is ready !!!
    [MCU2_0]     13.211636 s: IPC: Init ... Done !!!
    [MCU2_0]     13.211700 s: APP: Syncing with 5 CPUs ... !!!
    [MCU2_0]     13.320902 s: APP: Syncing with 5 CPUs ... Done !!!
    [MCU2_0]     13.320950 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     13.322152 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     13.322210 s: ETHFW: Init ... !!!
    [MCU2_0]     13.427545 s: ETHFW: Warning: Using 6 random MAC address(es)
    [MCU2_0]     13.427910 s: ETHFW: CPSW recovery is not enabled
    [MCU2_0]     13.427987 s: ETHFW: Shared multicasts:
    [MCU2_0]     13.428052 s: ETHFW:   01:00:5e:00:00:01
    [MCU2_0]     13.428090 s: ETHFW:   01:00:5e:00:00:fb
    [MCU2_0]     13.428122 s: ETHFW:   01:00:5e:00:00:fc
    [MCU2_0]     13.428150 s: ETHFW:   33:33:00:00:00:01
    [MCU2_0]     13.428178 s: ETHFW:   33:33:ff:1d:92:c2
    [MCU2_0]     13.428207 s: ETHFW:   01:80:c2:00:00:00
    [MCU2_0]     13.428234 s: ETHFW:   01:80:c2:00:00:03
    [MCU2_0]     13.428258 s: ETHFW: Reserved multicasts:
    [MCU2_0]     13.428289 s: ETHFW:   01:80:c2:00:00:0e
    [MCU2_0]     13.428318 s: ETHFW:   01:1b:19:00:00:00
    [MCU2_0]     13.428505 s: EnetMcm: CPSW_9G on MAIN NAVSS
    [MCU2_0]     13.435576 s: Mdio_open: MDIO manual mode enabled
    [MCU2_0]     13.435646 s:
    [MCU2_0]     13.439697 s: PHY 16 is alive
    [MCU2_0]     13.439882 s: PHY 17 is alive
    [MCU2_0]     13.440061 s: PHY 18 is alive
    [MCU2_0]     13.440223 s: PHY 19 is alive
    [MCU2_0]     13.443268 s: EnetPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    [MCU2_0]     13.443323 s:
    [MCU2_0]     13.444043 s: EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    [MCU2_0]     13.444097 s:
    [MCU2_0]     13.444803 s: EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    [MCU2_0]     13.444852 s:
    [MCU2_0]     13.445564 s: EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    [MCU2_0]     13.445613 s:
    [MCU2_0]     13.447289 s: ETHFW: 0 VLAN entries added in ALE table
    [MCU2_0]     13.447595 s:
    [MCU2_0] ETHFW Version   : 0.04.00
    [MCU2_0]     13.447641 s: ETHFW Build Date: Dec  7, 2023
    [MCU2_0]     13.447668 s: ETHFW Build Time: 09:42:18
    [MCU2_0]     13.447692 s: ETHFW Commit SHA:
    [MCU2_0]     13.447755 s: ETHFW: Init ... DONE !!!
    [MCU2_0]     13.447932 s: unibase-1.1.4-jacinto
    [MCU2_0]     13.448593 s: Starting lwIP, local interface IP is dhcp-enabled
    [MCU2_0]     13.455155 s: ETHFW: Host MAC address: 70:97:f2:ef:12:f9
    [MCU2_0]     13.457858 s: ETHFW: Enable gPTP on MAC port 2 (tilld2)
    [MCU2_0]     13.457911 s: ETHFW: Enable gPTP on MAC port 3 (tilld3)
    [MCU2_0]     13.457945 s: ETHFW: Enable gPTP on MAC port 5 (tilld5)
    [MCU2_0]     13.457977 s: ETHFW: Enable gPTP on MAC port 6 (tilld6)
    [MCU2_0]     13.458008 s: ETHFW: Enable gPTP on MAC port 7 (tilld7)
    [MCU2_0]     13.458056 s: ETHFW: Enable gPTP on MAC port 8 (tilld8)
    [MCU2_0]     13.458197 s: ETHFW: TimeSync PTP enabled
    [MCU2_0]     13.458232 s: ETHFW: Remove server Init ... !!!
    [MCU2_0]     13.458311 s: ETHFW: Virtual port configuration:
    [MCU2_0]     13.458982 s: ETHFW: CpswProxyServer: initialization completed (core: mcu2_0)
    [MCU2_0]     13.459055 s: ETHFW: Remove server Init ... DONE !!!
    [MCU2_0]     13.460226 s: [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [MCU2_0]     13.466901 s: [LWIPIF_LWIP_IC] Interface started successfully
    [MCU2_0]     13.466971 s: [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [MCU2_0]     13.473478 s: [LWIPIF_LWIP_IC] Interface started successfully
    [MCU2_0]     13.473544 s: [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [MCU2_0]     13.473644 s: Added interface 'br3', IP is 0.0.0.0
    [MCU2_0]     13.487271 s: ETHFW: EthFw_gptpTask: gptpman_run() failed: -1
    [MCU2_0]     13.509033 s: FVID2: Init ... !!!
    [MCU2_0]     13.509137 s: FVID2: Init ... Done !!!
    [MCU2_0]     13.509185 s: DSS: Init ... !!!
    [MCU2_0]     13.509209 s: DSS: Display type is eDP !!!
    [MCU2_0]     13.509233 s: DSS: M2M Path is enabled !!!
    [MCU2_0]     13.509255 s: DSS: SoC init ... !!!
    [MCU2_0]     13.509274 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]     13.509446 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.509481 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2
    [MCU2_0]     13.509627 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.509653 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2
    [MCU2_0]     13.509751 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.509779 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11
    [MCU2_0]     13.509865 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]     13.509892 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0]     13.509969 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]     13.509996 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0]     13.510169 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]     13.510215 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0]     13.511303 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]     13.511345 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0]     13.511479 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0]     13.511514 s: DSS: SoC init ... Done !!!
    [MCU2_0]     13.511536 s: DSS: Board init ... !!!
    [MCU2_0]     13.511557 s: DSS: Board init ... Done !!!
    [MCU2_0]     13.530632 s: DSS: Init ... Done !!!
    [MCU2_0]     13.530700 s: VHWA: VPAC Init ... !!!
    [MCU2_0]     13.530729 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0]     13.530895 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.530929 s: VHWA: LDC Init ... !!!
    [MCU2_0]     13.534344 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]     13.534407 s: VHWA: MSC Init ... !!!
    [MCU2_0]     13.544566 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]     13.544629 s: VHWA: NF Init ... !!!
    [MCU2_0]     13.546288 s: VHWA: NF Init ... Done !!!
    [MCU2_0]     13.546349 s: VHWA: VISS Init ... !!!
    [MCU2_0]     13.556311 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]     13.556377 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]     13.556425 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     13.556452 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     13.556474 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     13.558201 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0
    [MCU2_0]     13.558458 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF
    [MCU2_0]     13.558667 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1
    [MCU2_0]     13.558873 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1
    [MCU2_0]     13.559278 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2
    [MCU2_0]     13.559569 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1
    [MCU2_0]     13.559816 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1
    [MCU2_0]     13.560195 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2
    [MCU2_0]     13.560466 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1
    [MCU2_0]     13.560713 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2
    [MCU2_0]     13.560941 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX
    [MCU2_0]     13.561357 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3
    [MCU2_0]     13.561624 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4
    [MCU2_0]     13.561864 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5
    [MCU2_0]     13.562258 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6
    [MCU2_0]     13.562547 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7
    [MCU2_0]     13.562790 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8
    [MCU2_0]     13.563178 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1
    [MCU2_0]     13.563449 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2
    [MCU2_0]     13.563667 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3
    [MCU2_0]     13.563945 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4
    [MCU2_0]     13.564007 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]     13.564226 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     13.581465 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     13.581532 s: CSI2RX: Init ... !!!
    [MCU2_0]     13.581558 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]     13.581660 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.581695 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0]     13.581816 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.581844 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0]     13.581950 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.581975 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0]     13.582134 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.582181 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0]     13.582265 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.582490 s: CSI2RX: Init ... Done !!!
    [MCU2_0]     13.582531 s: CSI2TX: Init ... !!!
    [MCU2_0]     13.582552 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]     13.582627 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.582656 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0]     13.582751 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.582778 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0]     13.582865 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.582942 s: CSI2TX: Init ... Done !!!
    [MCU2_0]     13.582975 s: ISS: Init ... !!!
    [MCU2_0]     13.583139 s: IssSensor_Init ... Done !!!
    [MCU2_0]     13.583255 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]     13.583289 s: ISS: Init ... Done !!!
    [MCU2_0]     13.583313 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]     13.583375 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]     13.583413 s: UDMA Copy: Init ... !!!
    [MCU2_0]     13.585152 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]     13.585262 s: APP: Init ... Done !!!
    [MCU2_0]     13.585300 s: APP: Run ... !!!
    [MCU2_0]     13.585323 s: IPC: Starting echo test ...
    [MCU2_0]     13.587447 s: APP: Run ... Done !!!
    [MCU2_0]     13.589300 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C66X_1[.] C66X_2[.] C7X_1[.]
    [MCU2_0]     13.589440 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C66X_1[.] C66X_2[P] C7X_1[.]
    [MCU2_0]     13.589523 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C66X_1[.] C66X_2[P] C7X_1[P]
    [MCU2_0]     13.589594 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
    [MCU2_0]     14.447248 s: INF:cbase:cb_rawsock_open:dmaTxChId=-1 dmaRxChId=-1 nTxPkts=0 nRxPkts=0 pktSize=0
    [MCU2_0] INF:gptp:gptpnet_init:Open lldtsync OK!
    [MCU2_0] fatal error:gptp_capable_receive_sm_init - malloc2
    [MCU2_0] fatal error:announce_interval_setting_sm_init - malloc1
    [MCU2_0] fatal error:one_step_tx_oper_setting_sm_init - malloc1
    [MCU2_0] fatal error:md_announce_send_sm_init - malloc1
    [MCU2_0] fatal error:md_announce_receive_sm_init - malloc1
    [MCU2_0] fatal error:md_signaling_send_sm_init - malloc
    [MCU2_0] fatal error:md_signaling_receive_sm_init - malloc
    [MCU2_0] fatal error:port_state_setting_ext_sm_init - malloc1
    [MCU2_0]     15.339821 s: ETHFW: VIRT_PORT_INFO | C2S | core=0 endpt=1026
    [MCU2_0]     15.339884 s: ETHFW: VIRT_PORT_INFO | S2C | switchPortMask=1 macPortMask=10
    [MCU2_0]     15.340158 s: ETHFW: ATTACH_EXT | C2S | core=0 endpt=1026 virtPort=0
    [MCU2_0]     15.340388 s: ETHFW: ATTACH_EXT | S2C | token=0 rxMtu=1522 features=9 flow=172,0 rxPsil=0x4a00 txPsil=0xca00 macAddr=70:44:44:3f:00:ec
    [MCU2_0]     15.340633 s: ETHFW: ATTACH_EXT | C2S | core=0 endpt=1026 virtPort=4
    [MCU2_0]     15.340817 s: ETHFW: ATTACH_EXT | S2C | token=400 rxMtu=1522 features=1 flow=172,1 rxPsil=0x4a00 txPsil=0xca01 macAddr=70:24:a7:df:3f:f1
    [MCU2_0]     15.793193 s: ETHFW: REGISTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=70:44:44:3f:00:ec flowIdx=172,0
    [MCU2_0]     15.796401 s: Cpsw_ioctlInternal: Registered MAC address (ALE entry=8, policer entry=2)
    [MCU2_0]     15.796461 s:
    [MCU2_0]     15.796504 s: ETHFW: REGISTER_MAC | S2C | status=0
    [MCU2_0]     15.813408 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=33:33:00:00:00:01 vlanId=65535 flowIdx=172,0
    [MCU2_0]     15.815163 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     15.815379 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=01:00:5e:00:00:01 vlanId=65535 flowIdx=172,0
    [MCU2_0]     15.817003 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     15.817284 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=33:33:ff:3f:00:ec vlanId=65535 flowIdx=172,0
    [MCU2_0]     15.820517 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     15.820723 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=01:80:c2:00:00:00 vlanId=65535 flowIdx=172,0
    [MCU2_0]     15.822420 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     15.830438 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=01:80:c2:00:00:03 vlanId=65535 flowIdx=172,0
    [MCU2_0]     15.832177 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     15.832367 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=01:80:c2:00:00:0e vlanId=65535 flowIdx=172,0
    [MCU2_0]     15.832435 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     15.989973 s: ETHFW: REGISTER_MAC | C2S | core=0 endpt=1026 token=400 macAdd=70:24:a7:df:3f:f1 flowIdx=172,1
    [MCU2_0]     15.991714 s: ETHFW: REGISTER_MAC | S2C | status=0
    [MCU2_0]     17.649396 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=33:33:00:00:00:fb vlanId=65535 flowIdx=172,0
    [MCU2_0]     17.652657 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]     17.652856 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=33:33:00:01:00:03 vlanId=65535 flowIdx=172,0
    [MCU2_0]     17.656173 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_1]      4.162302 s: CIO: Init ... Done !!!
    [MCU2_1]      4.162375 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_1]      4.162409 s: CPU is running FreeRTOS
    [MCU2_1]      4.162429 s: APP: Init ... !!!
    [MCU2_1]      4.162450 s: SCICLIENT: Init ... !!!
    [MCU2_1]      4.162651 s: SCICLIENT: DMSC FW version [9.1.2--v09.01.02 (Kool Koala)]
    [MCU2_1]      4.162692 s: SCICLIENT: DMSC FW revision 0x9
    [MCU2_1]      4.162719 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      4.162746 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      4.162769 s: UDMA: Init ... !!!
    [MCU2_1]      4.163935 s: UDMA: Init ... Done !!!
    [MCU2_1]      4.163993 s: MEM: Init ... !!!
    [MCU2_1]      4.164031 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
    [MCU2_1]      4.164090 s: MEM: Init ... Done !!!
    [MCU2_1]      4.164124 s: IPC: Init ... !!!
    [MCU2_1]      4.164177 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_1]      4.164214 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_1]     13.315750 s: IPC: HLOS is ready !!!
    [MCU2_1]     13.320800 s: IPC: Init ... Done !!!
    [MCU2_1]     13.320857 s: APP: Syncing with 5 CPUs ... !!!
    [MCU2_1]     13.320901 s: APP: Syncing with 5 CPUs ... Done !!!
    [MCU2_1]     13.320930 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_1]     13.322135 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_1]     13.322195 s: FVID2: Init ... !!!
    [MCU2_1]     13.322263 s: FVID2: Init ... Done !!!
    [MCU2_1]     13.322294 s: VHWA: DMPAC: Init ... !!!
    [MCU2_1]     13.322318 s: SCICLIENT: Sciclient_pmSetModuleState module=48 state=2
    [MCU2_1]     13.322535 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     13.322580 s: SCICLIENT: Sciclient_pmSetModuleState module=305 state=2
    [MCU2_1]     13.322699 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     13.322731 s: VHWA: DOF Init ... !!!
    [MCU2_1]     13.330460 s: VHWA: DOF Init ... Done !!!
    [MCU2_1]     13.330522 s: VHWA: SDE Init ... !!!
    [MCU2_1]     13.332744 s: VHWA: SDE Init ... Done !!!
    [MCU2_1]     13.332800 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_1]     13.332845 s:  VX_ZONE_INIT:Enabled
    [MCU2_1]     13.332874 s:  VX_ZONE_ERROR:Enabled
    [MCU2_1]     13.332898 s:  VX_ZONE_WARNING:Enabled
    [MCU2_1]     13.334294 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-1
    [MCU2_1]     13.334496 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_SDE
    [MCU2_1]     13.334682 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_DOF
    [MCU2_1]     13.334734 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_1]     13.334766 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_1]     13.335034 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_1]     13.335077 s: UDMA Copy: Init ... !!!
    [MCU2_1]     13.336634 s: UDMA Copy: Init ... Done !!!
    [MCU2_1]     13.336699 s: APP: Init ... Done !!!
    [MCU2_1]     13.336729 s: APP: Run ... !!!
    [MCU2_1]     13.336751 s: IPC: Starting echo test ...
    [MCU2_1]     13.338643 s: APP: Run ... Done !!!
    [MCU2_1]     13.339562 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C66X_1[P] C66X_2[.] C7X_1[.]
    [MCU2_1]     13.339659 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C66X_1[P] C66X_2[P] C7X_1[.]
    [MCU2_1]     13.339734 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
    [MCU2_1]     13.588917 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
    [C6x_1 ]      4.242023 s: CIO: Init ... Done !!!
    [C6x_1 ]      4.242049 s: ### CPU Frequency = 1350000000 Hz
    [C6x_1 ]      4.242061 s: CPU is running FreeRTOS
    [C6x_1 ]      4.242069 s: APP: Init ... !!!
    [C6x_1 ]      4.242078 s: SCICLIENT: Init ... !!!
    [C6x_1 ]      4.242253 s: SCICLIENT: DMSC FW version [9.1.2--v09.01.02 (Kool Koala)]
    [C6x_1 ]      4.242269 s: SCICLIENT: DMSC FW revision 0x9
    [C6x_1 ]      4.242279 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_1 ]      4.242290 s: SCICLIENT: Init ... Done !!!
    [C6x_1 ]      4.242300 s: UDMA: Init ... !!!
    [C6x_1 ]      4.243567 s: UDMA: Init ... Done !!!
    [C6x_1 ]      4.243590 s: MEM: Init ... !!!
    [C6x_1 ]      4.243603 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ dc000000 of size 16777216 bytes !!!
    [C6x_1 ]      4.243623 s: MEM: Init ... Done !!!
    [C6x_1 ]      4.243633 s: IPC: Init ... !!!
    [C6x_1 ]      4.243656 s: IPC: 6 CPUs participating in IPC !!!
    [C6x_1 ]      4.243671 s: IPC: Waiting for HLOS to be ready ... !!!
    [C6x_1 ]     12.247781 s: IPC: HLOS is ready !!!
    [C6x_1 ]     12.251641 s: IPC: Init ... Done !!!
    [C6x_1 ]     12.251672 s: APP: Syncing with 5 CPUs ... !!!
    [C6x_1 ]     13.320900 s: APP: Syncing with 5 CPUs ... Done !!!
    [C6x_1 ]     13.320918 s: REMOTE_SERVICE: Init ... !!!
    [C6x_1 ]     13.321686 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_1 ]     13.321737 s:  VX_ZONE_INIT:Enabled
    [C6x_1 ]     13.321750 s:  VX_ZONE_ERROR:Enabled
    [C6x_1 ]     13.321761 s:  VX_ZONE_WARNING:Enabled
    [C6x_1 ]     13.322727 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C6x_1 ]     13.322744 s: APP: OpenVX Target kernel init ... !!!
    [C6x_1 ]     13.323084 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_1 ]     13.323103 s: UDMA Copy: Init ... !!!
    [C6x_1 ]     13.326347 s: UDMA Copy: Init ... Done !!!
    [C6x_1 ]     13.326369 s: APP: Init ... Done !!!
    [C6x_1 ]     13.326378 s: APP: Run ... !!!
    [C6x_1 ]     13.326387 s: IPC: Starting echo test ...
    [C6x_1 ]     13.327422 s: APP: Run ... Done !!!
    [C6x_1 ]     13.327772 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C66X_1[s] C66X_2[x] C7X_1[P]
    [C6x_1 ]     13.327969 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_1 ]     13.339372 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_1 ]     13.588817 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_2 ]      4.305988 s: CIO: Init ... Done !!!
    [C6x_2 ]      4.306015 s: ### CPU Frequency = 1350000000 Hz
    [C6x_2 ]      4.306026 s: CPU is running FreeRTOS
    [C6x_2 ]      4.306034 s: APP: Init ... !!!
    [C6x_2 ]      4.306042 s: SCICLIENT: Init ... !!!
    [C6x_2 ]      4.306216 s: SCICLIENT: DMSC FW version [9.1.2--v09.01.02 (Kool Koala)]
    [C6x_2 ]      4.306231 s: SCICLIENT: DMSC FW revision 0x9
    [C6x_2 ]      4.306241 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_2 ]      4.306252 s: SCICLIENT: Init ... Done !!!
    [C6x_2 ]      4.306261 s: UDMA: Init ... !!!
    [C6x_2 ]      4.307517 s: UDMA: Init ... Done !!!
    [C6x_2 ]      4.307539 s: MEM: Init ... !!!
    [C6x_2 ]      4.307552 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ e0000000 of size 16777216 bytes !!!
    [C6x_2 ]      4.307573 s: MEM: Init ... Done !!!
    [C6x_2 ]      4.307582 s: IPC: Init ... !!!
    [C6x_2 ]      4.307605 s: IPC: 6 CPUs participating in IPC !!!
    [C6x_2 ]      4.307622 s: IPC: Waiting for HLOS to be ready ... !!!
    [C6x_2 ]     12.449323 s: IPC: HLOS is ready !!!
    [C6x_2 ]     12.452891 s: IPC: Init ... Done !!!
    [C6x_2 ]     12.452923 s: APP: Syncing with 5 CPUs ... !!!
    [C6x_2 ]     13.320900 s: APP: Syncing with 5 CPUs ... Done !!!
    [C6x_2 ]     13.320915 s: REMOTE_SERVICE: Init ... !!!
    [C6x_2 ]     13.321711 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_2 ]     13.321751 s:  VX_ZONE_INIT:Enabled
    [C6x_2 ]     13.321765 s:  VX_ZONE_ERROR:Enabled
    [C6x_2 ]     13.321778 s:  VX_ZONE_WARNING:Enabled
    [C6x_2 ]     13.322729 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C6x_2 ]     13.322745 s: APP: OpenVX Target kernel init ... !!!
    [C6x_2 ]     13.323091 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_2 ]     13.323109 s: UDMA Copy: Init ... !!!
    [C6x_2 ]     13.326464 s: UDMA Copy: Init ... Done !!!
    [C6x_2 ]     13.326486 s: APP: Init ... Done !!!
    [C6x_2 ]     13.326495 s: APP: Run ... !!!
    [C6x_2 ]     13.326504 s: IPC: Starting echo test ...
    [C6x_2 ]     13.327629 s: APP: Run ... Done !!!
    [C6x_2 ]     13.327969 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C66X_1[P] C66X_2[s] C7X_1[.]
    [C6x_2 ]     13.328003 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C66X_1[P] C66X_2[s] C7X_1[P]
    [C6x_2 ]     13.339392 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C6x_2 ]     13.588836 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C7x_1 ]      4.469733 s: CIO: Init ... Done !!!
    [C7x_1 ]      4.469748 s: ### CPU Frequency = 1000000000 Hz
    [C7x_1 ]      4.469759 s: CPU is running FreeRTOS
    [C7x_1 ]      4.469767 s: APP: Init ... !!!
    [C7x_1 ]      4.469775 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      4.469944 s: SCICLIENT: DMSC FW version [9.1.2--v09.01.02 (Kool Koala)]
    [C7x_1 ]      4.469958 s: SCICLIENT: DMSC FW revision 0x9
    [C7x_1 ]      4.469969 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      4.469979 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      4.469988 s: UDMA: Init ... !!!
    [C7x_1 ]      4.470932 s: UDMA: Init ... Done !!!
    [C7x_1 ]      4.470945 s: MEM: Init ... !!!
    [C7x_1 ]      4.470955 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 268435456 bytes !!!
    [C7x_1 ]      4.470977 s: MEM: Init ... Done !!!
    [C7x_1 ]      4.470985 s: IPC: Init ... !!!
    [C7x_1 ]      4.471001 s: IPC: 6 CPUs participating in IPC !!!
    [C7x_1 ]      4.471015 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]     12.712058 s: IPC: HLOS is ready !!!
    [C7x_1 ]     12.713960 s: IPC: Init ... Done !!!
    [C7x_1 ]     12.713975 s: APP: Syncing with 5 CPUs ... !!!
    [C7x_1 ]     13.320902 s: APP: Syncing with 5 CPUs ... Done !!!
    [C7x_1 ]     13.320919 s: REMOTE_SERVICE: Init ... !!!
    [C7x_1 ]     13.321078 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_1 ]     13.321099 s:  VX_ZONE_INIT:Enabled
    [C7x_1 ]     13.321111 s:  VX_ZONE_ERROR:Enabled
    [C7x_1 ]     13.321121 s:  VX_ZONE_WARNING:Enabled
    [C7x_1 ]     13.321374 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1
    [C7x_1 ]     13.321463 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_2
    [C7x_1 ]     13.321549 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_3
    [C7x_1 ]     13.321631 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_4
    [C7x_1 ]     13.321728 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_5
    [C7x_1 ]     13.321811 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_6
    [C7x_1 ]     13.321924 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_7
    [C7x_1 ]     13.322017 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_8
    [C7x_1 ]     13.322042 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C7x_1 ]     13.322055 s: APP: OpenVX Target kernel init ... !!!
    [C7x_1 ]     13.322224 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_1 ]     13.322238 s: APP: Init ... Done !!!
    [C7x_1 ]     13.322247 s: APP: Run ... !!!
    [C7x_1 ]     13.322254 s: IPC: Starting echo test ...
    [C7x_1 ]     13.322403 s: APP: Run ... Done !!!
    [C7x_1 ]     13.327774 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C66X_1[P] C66X_2[.] C7X_1[s]
    [C7x_1 ]     13.327963 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C66X_1[P] C66X_2[P] C7X_1[s]
    [C7x_1 ]     13.339408 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C66X_1[P] C66X_2[P] C7X_1[s]
    [C7x_1 ]     13.588872 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C66X_1[P] C66X_2[P] C7X_1[s]

    Here are the mentioned logs

  • Hi,

    Are you using the same EVM + Fusion board, that you used for SDK8.4? Because there isn't anything changed from sensor configuration perspective in SDK9.1 and from the error log, it seems it is failing to initialize IMX390. You have selected camera port-2, can you check if this is where camera is connected? 

    Regards,

    Brijesh

  • Hi Brijesh,

    Yes, I am using the same EVM+Fusion Board+IMX390 Camera and Camera Port. Only difference is the SD Cards.

  • Hi Mert,

    Not sure exactly why it is failing, but can you try enabling below macro in sensor_drv/src/iss_sensor_priv.h and see if there is any error prints to help further debug? 

    ENABLE_DEBUG_IMAGING

    Regards,

    Brijesh

  • Hi Brijesh,

    I will recompile vision apps according to your instructions. Before that i wanted to verify the parameters according to my hardware.

    In sensor_drv/src/imx390/imx390_serdes_config.h , there are two different setups for IMX390 cam and Fusion Board.

    File 

    /*
     *
     * Copyright (c) 2020 Texas Instruments Incorporated
     *
     * All rights reserved not granted herein.
     *
     * Limited License.
     *
     * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
     * license under copyrights and patents it now or hereafter owns or controls to make,
     * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
     * terms herein.  With respect to the foregoing patent license, such license is granted
     * solely to the extent that any such patent is necessary to Utilize the software alone.
     * The patent license shall not apply to any combinations which include this software,
     * other than combinations with devices manufactured by or for TI ("TI Devices").
     * No hardware patent is licensed hereunder.
     *
     * Redistributions must preserve existing copyright notices and reproduce this license
     * (including the above copyright notice and the disclaimer and (if applicable) source
     * code license limitations below) in the documentation and/or other materials provided
     * with the distribution
     *
     * Redistribution and use in binary form, without modification, are permitted provided
     * that the following conditions are met:
     *
     * *       No reverse engineering, decompilation, or disassembly of this software is
     * permitted with respect to any software provided in binary form.
     *
     * *       any redistribution and use are licensed by TI for use only with TI Devices.
     *
     * *       Nothing shall obligate TI to provide you with source code for the software
     * licensed and provided to you in object code.
     *
     * If software source code is provided to you, modification and redistribution of the
     * source code are permitted provided that the following conditions are met:
     *
     * *       any redistribution and use of the source code, including any resulting derivative
     * works, are licensed by TI for use only with TI Devices.
     *
     * *       any redistribution and use of any object code compiled from the source code
     * and any resulting derivative works, are licensed by TI for use only with TI Devices.
     *
     * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
     *
     * may be used to endorse or promote products derived from this software without
     * specific prior written permission.
     *
     * DISCLAIMER.
     *
     * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
     * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
     * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
     * OF THE POSSIBILITY OF SUCH DAMAGE.
     *
     */
    #ifndef _IMX390_SERDES_H_
    #define _IMX390_SERDES_H_
    
    /**
    7-bit Alias addresses for sensor and serializer
    Physical addresses must be programmed in UB96x config
    SoC will communicate with the devices using alias adresses 
    */
    
    //#define CAM_MODULE_VER 0 //D3_IMX390_CM
    #define CAM_MODULE_VER 1 //D3_IMX390_RCM
    
    //#define FUSION_BOARD_VER 0 //RevB and older
    #define FUSION_BOARD_VER 1 //RevC
    
    #if (CAM_MODULE_VER == 0)
    #define IMX390_I2C_ADDR 0x42
    #elif (CAM_MODULE_VER == 1)
    #define IMX390_I2C_ADDR 0x34
    #else
    Unsuppprted version
    #endif
    
    #define IMX390_D3_SER_CFG_SIZE    (10U)
    
    I2cParams ub953SerCfg_D3IMX390[IMX390_D3_SER_CFG_SIZE] = {
        {0x01, 0x01, 0x20},
        {0x02, 0x72, 0x10},
    
    #if (FUSION_BOARD_VER == 0)
        {0x06, 0x21, 0x1F},
    #elif (FUSION_BOARD_VER == 1)
        {0x06, 0x41, 0x1F},
    #else
    Unsuppprted version
    #endif
    
    #if (CAM_MODULE_VER == 0)
        {0x07, 0x28, 0x1F},
        {0x0D, 0x01, 0x10},
    #elif (CAM_MODULE_VER == 1)
        {0x07, 	0x25, 0x1F},
        {0x0D, 0x03, 0x10},
    #else
    Unsuppprted version
    #endif
        {0x0E, 0xF0, 0x10},
        {0xB0, 0x04, 0x10},
        {0xB1, 0x08, 0x10},
        {0xB2, 0x07, 0x10},
        {0xFFFF, 0x00, 0x0} //End of script
    };
    
    
    I2cParams ub953SerCfg30fps_D3IMX390[IMX390_D3_SER_CFG_SIZE] = {
        {0x01, 0x01, 0x20},
        {0x02, 0x72, 0x10},
    
    #if (FUSION_BOARD_VER == 0)
        {0x06, 0x21, 0x1F},
    #elif (FUSION_BOARD_VER == 1)
        {0x06, 0x41, 0x1F},
    #else
    Unsuppprted version
    #endif
    
    #if (CAM_MODULE_VER == 0)
        {0x07, 0x28, 0x1F},
        {0x0D, 0x01, 0x10},
    #elif (CAM_MODULE_VER == 1)
        {0x07, 	0x48, 0x1F},
        {0x0D, 0x03, 0x10},
    #else
    Unsuppprted version
    #endif
    
        {0x0E, 0xF0, 0x10},
        {0xB0, 0x04, 0x10},
        {0xB1, 0x08, 0x10},
        {0xB2, 0x07, 0x10},
        {0xFFFF, 0x00, 0x0} //End of script
    };
    
    #endif /* _IMX390_SERDES_H_ */
    
    
    

    By default

    //#define CAM_MODULE_VER 0 //D3_IMX390_CM
    #define CAM_MODULE_VER 1 //D3_IMX390_RCM

    //#define FUSION_BOARD_VER 0 //RevB and older
    #define FUSION_BOARD_VER 1 //RevC   

    are selected.

    Can you please verify the settings are valid for my hardware. I believe my camera is CM instead of RCM

    Best regards

  • Hi Mert,

    oh, from the above images, it looks like you are using older version of the camera, i really doubt we have validated this camera recently. Can you please try setting CAM_MODULE_VER macro to 0 and see if it helps? 

    Is there a possibility to use RCM version of this camera? 

    Regards,

    Brijesh

  • Hi Brijesh,

    Unfortunately, we don't have RCM version.

    I will change the macro accordingly. Also,

    Q1. Is there a way to identify the Linux/RTOS version etched to the SD Card?

    Q2. Which SDK/RTOS version supports the D3CM-IMX390 Camera?

  • Hi Mert,

    #1, When you boot, uboot prints TIFS and SDK release version, so that could be used to identify SDK version. 

    #2, I can check with team, i really doubt we verified CM camera since a long time. 

    Regards,

    Brijesh

  • Hi Brijesh

    I couldn't see where exact difference is written

    U-Boot SPL 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
    NOTICE:  BL31: Built : 09:34:15, Aug 24 2023
    I/TC:
    I/TC: OP-TEE version: 4.0.0 (gcc version 11.4.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)
    
    SoC:   J721E SR1.0 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    DRAM:  4 GiB
    Core:  126 devices, 35 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    723 bytes read in 25 ms (27.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 25 ms (0 Bytes/s)
    Already setup.
    gpio: pin gpio@22_17 (gpio 281) value is 1
    gpio: pin gpio@22_16 (gpio 280) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw'
    1310368 bytes read in 53 ms (23.6 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 1310368 bytes: Success!
    326836 bytes read in 33 ms (9.4 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 326836 bytes: Success!
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    994096 bytes read in 47 ms (20.2 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 994096 bytes: Success!
    994096 bytes read in 47 ms (20.2 MiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 994096 bytes: Success!
    13365392 bytes read in 133 ms (95.8 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 13365392 bytes: Success!
    20367872 bytes read in 446 ms (43.6 MiB/s)
    114792 bytes read in 29 ms (3.8 MiB/s)
    Working FDT set to 88000000
    3589 bytes read in 26 ms (134.8 KiB/s)
    11541 bytes read in 27 ms (417 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=880000000 size=27000000 flags=4)
       Loading Device Tree to 000000008fee0000, end 000000008fffffff ... OK
    Working FDT set to 8fee0000
    
    Starting kernel ...
    U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 17:09:03 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:34:52, Dec 20 2021
    
    U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 16:36:05 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g15769936a5 (Dec 20 2021 - 16:36:05 +0000)
    
    SoC:   J721E SR1.0
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Net:   am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    eth0: ethernet@46000000
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    483 bytes read in 9 ms (51.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 12 ms (0 Bytes/s)
    Already setup.
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
    10019888 bytes read in 430 ms (22.2 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 10019888 bytes: Success!
    338860 bytes read in 27 ms (12 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 338860 bytes: Success!
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    1518292 bytes read in 76 ms (19.1 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 1518292 bytes: Success!
    1518292 bytes read in 77 ms (18.8 MiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 1518292 bytes: Success!
    12849216 bytes read in 207 ms (59.2 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 12849216 bytes: Success!
    19270144 bytes read in 817 ms (22.5 MiB/s)
    100196 bytes read in 16 ms (6 MiB/s)
    11211 bytes read in 11 ms (995.1 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    ERROR: reserving fdt memory region failed (addr=fe000000 size=1000000)
    ERROR: reserving fdt memory region failed (addr=fc000000 size=2000000)
    ERROR: reserving fdt memory region failed (addr=ac000000 size=200000)
    ERROR: reserving fdt memory region failed (addr=ac200000 size=1e00000)
       Loading Device Tree to 000000008fee4000, end 000000008fffffff ... OK
    
    Starting kernel ...

    I can only see the dates they built.

    In which line i can identify exact version of SDK and RTOS

  • Please check below two lines.

    U-Boot SPL 2023.04-g71b8c840ca (Nov 27 2023 - 08:55:35 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')

  • ./run_app_single_cam.sh
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=5) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
        61.386866 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
        61.390459 s:  VX_ZONE_INIT:Enabled
        61.390487 s:  VX_ZONE_ERROR:Enabled
        61.390492 s:  VX_ZONE_WARNING:Enabled
        61.394144 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
        61.398661 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    sensor_selection = [0]
    ldc_enable = [0]
    num_frames_to_run = [1000000000]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
    IttCtrl_registerHandler: command iss_raw_save registered at location 3
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
    IttCtrl_registerHandler: command dev_ctrl registered at location 7
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
     NETWORK: Opened at IP Addr = 0.0.0.0, socket port=5000!!!
        61.411680 s: ISS: Enumerating sensors ... !!!
        62.212029 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
        62.212057 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
        62.212078 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
        62.212084 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
        62.212090 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
        62.212095 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
    Select camera port index 0-11 : 2
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection
    . Try again
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : A^H
    Invalid selection A. Try again
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection. Try again
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection
    . Try again
    6 registered sensor drivers
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9xxx_RAW12_TESTPATTERN
    e : UB96x_UYVY_TESTPATTERN
    f : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : a
    Sensor selected : IMX390-UB953_D3
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 1
    Querying IMX390-UB953_D3
        80.462654 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
        80.462795 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
        80.462815 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
        80.463002 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]     80.462912 s: IMX390_PowerOn : chId = 0x2
        81.169091 s: ISS: ERROR: Initializing sensor [IMX390-UB953_D3] failed !!!
        81.169114 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
    Error initializing sensor IMX390-UB953_D3
    read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
    app_create_viss : sensor_dcc_id = 390
    [MCU2_0]     81.168965 s: Error : sensor probe failed for channel 2
    Enabling LDC
    Creating LDC
    Scaler is enabled
        81.234706 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice:
    Unsupported command
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: [MCU2_0]     81.746971 s:  Error : I2C Timeout while writing 0x0 to IMX390 register 0x0
        81.788934 s: ISS: Starting sensor [IMX390-UB953_D3] failed !!!
    Failed to start sensor IMX390-UB953_D3
    Defaulting to file test mode
    get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/IMX390-UB953_D3/wdr
    [MCU2_0]     81.788825 s: Error : Failed to start sensor at channel Id 2

    Hello Brijesh,

    I have changed the macro to CAM_MODULE_VER 0  and uncommented. ENABLE_DEBUG_IMAGING

    After a new build, i still couldn't get a videostream.

    Please refer to the log file

  • Hi Mert,

    This is what i was worried about. This has not been validated, so is it possible for you to try out RCM version of the camera? or the other way, can you please camera and serdes settings from SDK8.4 and see if it works? 

    Regards,

    Brijesh

  • Hello Brijesh,

    Do you suggest me to

    a. replace sensor_drv folder in v9 with v8 while using v9 boot and disk images.

    b. Build SDK 8.4 with v8 boot and disk.

    ->Because i've already tried option a. Unfortunately it didn't compile the vision apps. So no .out file observed.

    -> Maybe i can try RTOS Version 08.01.00.11 since my colleauges SD Card prints

    U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 17:09:03 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')

    These dates match with 08.01.00.11 release

    Also using RCM is not an option.

    Best regards

  • ok, i am suggesting to copy the settings of IMX390 and serdes from the working SDK to this SDK. Copying complete sensor folder may not help, as there could be changes in the sensor layer. 

    Regards,

    Brijesh

  • Okay i will try.

    Also i look for the dts files under /ti-processor-sdk-linux-j7-evm-08_04_00_11/board-support/linux-5.10.120+gitAUTOINC+95b90aa828-g95b90aa828/arch/arm64/boot/dts/ti

    In v8 there were files dts file of IMX390CM version. but in v9 there were only rcm.

    Do i need to copy them also and recompile the image?

  • But you are configuring this camera from RTOS driver, isn't it? Then there is no need to look into dts file, you need to check imaging layer in the RTOS SDK and copy settings from previous release to this release. 

    Regards,

    Brijesh

  • Understood.

    I will just copy the folder /ti-processor-sdk-rtos-j721e-evm-09_01_00_06/imaging/sensor_drv/src/imx390 and recompile

  • Well, i just want settings of imx390 to be ported, not just even driver. 

  • Oh, okay.

    I will update you with the process