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.

TDA4VL-Q1: Failed to initialize mcu2_0 DMA in SBL boot

Part Number: TDA4VL-Q1

Hi TI experts,

HW: our custom board

SDK: j721s2, 8.6

The following is our SBL boot flow chart. Sometimes mcu2_0 fails to initialize DMA, How to resolve it?

Below is the running log of SBL.

[20240321_11:32:07:661]  NOTICE:  BL31: v2.7(release):v2.7.0-359-g1309c6c80
[20240321_11:32:07:661]  NOTICE:  BL31: Built : 16:21:32, Nov 13 2023
[20240321_11:32:07:778]  
[20240321_11:32:07:779]  U-Boot SPL 2021.01 (Mar 12 2024 - 16:07:49 +0800)
[20240321_11:32:08:070]  ti_sci system-controller@44083000: Message not acknowledgedti_sci system-controller@44083000: Message not acknowledgedSYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--1-g2249f (Chill Capybara')
[20240321_11:32:08:119]  Trying to boot from MMC2
[20240321_11:32:09:504]  
[20240321_11:32:09:504]  
[20240321_11:32:09:504]  U-Boot 2021.01 (Mar 12 2024 - 16:07:49 +0800)
[20240321_11:32:09:504]  
[20240321_11:32:09:505]  DRAM:  2 GiB
[20240321_11:32:09:532]  Flash: 0 Bytes
[20240321_11:32:09:550]  MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
[20240321_11:32:09:551]  Loading Environment from SPIFlash... cadence_spi spi@47040000: Can't get reset: -2
[20240321_11:32:09:551]  k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
[20240321_11:32:09:562]  k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
[20240321_11:32:10:139]  SF: Detected gd25lx256e with page size 256 Bytes, erase size 64 KiB, total 32 MiB
[20240321_11:32:10:144]  OK
[20240321_11:32:10:144]  In:    serial@2850000
[20240321_11:32:10:144]  Out:   serial@2850000
[20240321_11:32:10:144]  Err:   serial@2850000
[20240321_11:32:10:144]  
[20240321_11:32:10:144]  Hello, welcome enter boot__init
[20240321_11:32:10:144]  
[20240321_11:32:10:153]  Uboot version changes, reset all env value!
[20240321_11:32:10:153]  ## Resetting to default environment
[20240321_11:32:10:153]  **** sd card present ****
[20240321_11:32:10:259]  **** rootfs from /dev/mmcblk1p2 ****
[20240321_11:32:10:259]  Autoboot in 0 seconds
[20240321_11:32:10:275]  k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
[20240321_11:32:10:276]  k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
[20240321_11:32:10:338]  871560 bytes read in 27 ms (30.8 MiB/s)
[20240321_11:32:10:338]  Load Remote Processor 2 with data@addr=0x82000000 871560 bytes: Success!
[20240321_11:32:10:350]  207788 bytes read in 12 ms (16.5 MiB/s)
[20240321_11:32:10:383]  Load Remote Processor 3 with data@addr=0x82000000 207788 bytes: Success!
[20240321_11:32:10:700]  14815296 bytes read in 323 ms (43.7 MiB/s)
[20240321_11:32:10:731]  Load Remote Processor 6 with data@addr=0x82000000 14815296 bytes: Success!
[20240321_11:32:10:969]  9600896 bytes read in 213 ms (43 MiB/s)
[20240321_11:32:10:969]  Load Remote Processor 7 with data@addr=0x82000000 9600896 bytes: Success!
[20240321_11:32:11:362]  19079680 bytes read in 396 ms (45.9 MiB/s)
[20240321_11:32:11:381]  74736 bytes read in 6 ms (11.9 MiB/s)
[20240321_11:32:11:381]  ## Flattened Device Tree blob at 88000000
[20240321_11:32:11:382]     Booting using the fdt blob at 0x88000000
[20240321_11:32:11:389]     Loading Device Tree to 000000008ffea000, end 000000008ffff3ef ... OK
[20240321_11:32:11:389]  
[20240321_11:32:11:390]  Starting kernel ...
[20240321_11:32:11:390]  
[20240321_11:32:11:483]  [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[20240321_11:32:11:484]  [    0.000000] Linux version 5.10.162-g76b3e88d56 (zhubing@RD17) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Wed Dec 27 15:14:14 CST 2023
[20240321_11:32:11:484]  [    0.000000] Machine model: Texas Instruments J721S2 EVM
[20240321_11:32:11:497]  [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002850000 (options '')
[20240321_11:32:11:497]  [    0.000000] printk: bootconsole [ns16550a0] enabled
[20240321_11:32:13:068]  INIT: version 2.96 booting
[20240321_11:32:13:111]  INIT: Entering runlevel: 5
[20240321_11:32:14:171]  Populating /dev/ using udev: done
[20240321_11:32:15:034]  Loaded PowerVR consumer services.
[20240321_11:32:15:428]  [MCU2_0]      5.984648 s: CIO: Init ... Done !!!
[20240321_11:32:15:428]  [MCU2_0]      5.984713 s: ### CPU Frequency = 1000000000 Hz
[20240321_11:32:15:428]  [MCU2_0]      5.984748 s: CPU is running FreeRTOS
[20240321_11:32:15:428]  [MCU2_0]      5.984772 s: APP: Init ... !!!
[20240321_11:32:15:429]  [MCU2_0]      5.984793 s: SCICLIENT: Init ... !!!
[20240321_11:32:15:429]  [MCU2_0]      5.986065 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[20240321_11:32:15:429]  [MCU2_0]      5.986105 s: SCICLIENT: DMSC FW revision 0x8  
[20240321_11:32:15:429]  [MCU2_0]      5.986137 s: SCICLIENT: DMSC FW ABI revision 3.1
[20240321_11:32:15:429]  [MCU2_0]      5.986172 s: SCICLIENT: Init ... Done !!!
[20240321_11:32:15:429]  [MCU2_0]      5.986198 s: UDMA: Init ... !!!
[20240321_11:32:15:429]  [MCU2_0]      5.997051 s: UDMA: Init ... Done !!!
[20240321_11:32:15:429]  [MCU2_0]      5.997098 s: UDMA: Init ... !!!
[20240321_11:32:15:429]  [MCU2_0]      6.002582 s: UDMA: Init for CSITX/CSIRX ... Done !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002648 s: MEM: Init ... !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002686 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d5000000 of size 16777216 bytes !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002754 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 262144 bytes !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002812 s: MEM: Init ... Done !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002841 s: IPC: Init ... !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002898 s: IPC: 4 CPUs participating in IPC !!!
[20240321_11:32:15:430]  [MCU2_0]      6.002941 s: IPC: Waiting for HLOS to be ready ... !!!
[20240321_11:32:15:430]  [MCU2_0]      8.920002 s: IPC: HLOS is ready !!!
[20240321_11:32:15:430]  [MCU2_0]      8.934696 s: IPC: Init ... Done !!!
[20240321_11:32:15:430]  [MCU2_0]      8.934747 s: APP: Syncing with 3 CPUs ... !!!
[20240321_11:32:15:431]  [MCU2_0]      8.965903 s: APP: Syncing with 3 CPUs ... Done !!!
[20240321_11:32:15:431]  [MCU2_0]      8.965944 s: REMOTE_SERVICE: Init ... !!!
[20240321_11:32:15:431]  [MCU2_0]      8.967236 s: REMOTE_SERVICE: Init ... Done !!!
[20240321_11:32:15:431]  [MCU2_0]      8.967285 s: FVID2: Init ... !!!
[20240321_11:32:15:431]  [MCU2_0]      8.967354 s: FVID2: Init ... Done !!!
[20240321_11:32:15:431]  [MCU2_0]      8.967387 s: SCICLIENT: Sciclient_pmSetModuleState module=214 state=2
[20240321_11:32:15:431]  [MCU2_0]      8.968462 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:431]  [MCU2_0]      8.968498 s: SCICLIENT: Sciclient_pmSetModuleState module=218 state=2
[20240321_11:32:15:431]  [MCU2_0]      8.971076 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:432]  [MCU2_0]      8.971125 s: DSS: Init ... !!!
[20240321_11:32:15:432]  [MCU2_0]      8.971151 s: DSS: Display type is HDMI !!!
[20240321_11:32:15:432]  [MCU2_0]      8.971179 s: DSS: M2M Path is enabled !!!
[20240321_11:32:15:432]  [MCU2_0]      8.971206 s: DSS: SoC init ... !!!
[20240321_11:32:15:432]  [MCU2_0]      8.971230 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
[20240321_11:32:15:432]  [MCU2_0]      8.973198 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:432]  [MCU2_0]      8.973231 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
[20240321_11:32:15:432]  [MCU2_0]      8.974420 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:432]  [MCU2_0]      8.974450 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=2
[20240321_11:32:15:432]  [MCU2_0]      8.976513 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:432]  [MCU2_0]      8.976543 s: DSS: SoC init ... Done !!!
[20240321_11:32:15:433]  [MCU2_0]      8.976569 s: DSS: Board init ... !!!
[20240321_11:32:15:433]  [MCU2_0]      8.976593 s: DSS: Board init ... Done !!!
[20240321_11:32:15:433]  [MCU2_0]      8.979093 s: DSS: Init ... Done !!!
[20240321_11:32:15:433]  [MCU2_0]      8.979138 s: VHWA: VPAC Init ... !!!
[20240321_11:32:15:433]  [MCU2_0]      8.979164 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=361 clk=2 freq=600000000
[20240321_11:32:15:433]  [MCU2_0]      9.005773 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
[20240321_11:32:15:433]  [MCU2_0]      9.005808 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
[20240321_11:32:15:433]  [MCU2_0]      9.007593 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:433]  [MCU2_0]      9.007625 s: VHWA: LDC Init ... !!!
[20240321_11:32:15:433]  [MCU2_0]      9.021976 s: VHWA: LDC Init ... Done !!!
[20240321_11:32:15:434]  [MCU2_0]      9.022031 s: VHWA: MSC Init ... !!!
[20240321_11:32:15:434]  [MCU2_0]      9.065683 s: VHWA: MSC Init ... Done !!!
[20240321_11:32:15:434]  [MCU2_0]      9.065733 s: VHWA: NF Init ... !!!
[20240321_11:32:15:434]  [MCU2_0]      9.071974 s: VHWA: NF Init ... Done !!!
[20240321_11:32:15:434]  [MCU2_0]      9.072016 s: VHWA: VISS Init ... !!!
[20240321_11:32:15:434]  [MCU2_0]      9.096422 s: [UDMA] 
[20240321_11:32:15:434]  [MCU2_0]      9.096457 s: [Error] Ring config failed!!!
[20240321_11:32:15:434]  [MCU2_0]      9.096492 s: [UDMA] 
[20240321_11:32:15:434]  [MCU2_0]      9.096513 s: [Error] CQ ring alloc failed!!!
[20240321_11:32:15:435]  [MCU2_0]      9.096554 s: [UDMA] 
[20240321_11:32:15:772]  [MCU2_0]      9.096573 s: [Error] Channel resource allocation failed!!
[20240321_11:32:15:772]  [MCU2_0]      9.107609 s: VHWA: VISS Init ... Done !!!
[20240321_11:32:15:772]  [MCU2_0]      9.107658 s: VHWA: VPAC Init ... Done !!!
[20240321_11:32:15:772]  [MCU2_0]      9.107700 s:  VX_ZONE_INIT:Enabled
[20240321_11:32:15:772]  [MCU2_0]      9.107727 s:  VX_ZONE_ERROR:Enabled
[20240321_11:32:15:772]  [MCU2_0]      9.107752 s:  VX_ZONE_WARNING:Enabled
[20240321_11:32:15:772]  [MCU2_0]      9.109109 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0 
[20240321_11:32:15:772]  [MCU2_0]      9.109312 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF 
[20240321_11:32:15:772]  [MCU2_0]      9.109509 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1 
[20240321_11:32:15:773]  [MCU2_0]      9.109703 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1 
[20240321_11:32:15:773]  [MCU2_0]      9.109901 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2 
[20240321_11:32:15:773]  [MCU2_0]      9.110171 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1 
[20240321_11:32:15:773]  [MCU2_0]      9.110400 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1 
[20240321_11:32:15:773]  [MCU2_0]      9.110621 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2 
[20240321_11:32:15:773]  [MCU2_0]      9.110830 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1 
[20240321_11:32:15:773]  [MCU2_0]      9.111029 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2 
[20240321_11:32:15:773]  [MCU2_0]      9.111207 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX 
[20240321_11:32:15:773]  [MCU2_0]      9.111427 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3 
[20240321_11:32:15:773]  [MCU2_0]      9.111649 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4 
[20240321_11:32:15:774]  [MCU2_0]      9.111859 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5 
[20240321_11:32:15:774]  [MCU2_0]      9.112047 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6 
[20240321_11:32:15:774]  [MCU2_0]      9.112244 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7 
[20240321_11:32:15:774]  [MCU2_0]      9.112473 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8 
[20240321_11:32:15:774]  [MCU2_0]      9.112671 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1 
[20240321_11:32:15:774]  [MCU2_0]      9.112855 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2 
[20240321_11:32:15:774]  [MCU2_0]      9.113043 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3 
[20240321_11:32:15:774]  [MCU2_0]      9.113237 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4 
[20240321_11:32:15:775]  [MCU2_0]      9.113442 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX2 
[20240321_11:32:15:775]  [MCU2_0]      9.113634 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_SDE 
[20240321_11:32:15:775]  [MCU2_0]      9.113818 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_DOF 
[20240321_11:32:15:775]  [MCU2_0]      9.113867 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[20240321_11:32:15:775]  [MCU2_0]      9.113901 s: APP: OpenVX Target kernel init ... !!!
[20240321_11:32:15:775]  [MCU2_0]      9.140918 s: APP: OpenVX Target kernel init ... Done !!!
[20240321_11:32:15:775]  [MCU2_0]      9.140963 s: CSI2RX: Init ... !!!
[20240321_11:32:15:775]  [MCU2_0]      9.140987 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
[20240321_11:32:15:775]  [MCU2_0]      9.141680 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:775]  [MCU2_0]      9.141715 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2
[20240321_11:32:15:775]  [MCU2_0]      9.142283 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:776]  [MCU2_0]      9.142314 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2
[20240321_11:32:15:776]  [MCU2_0]      9.142981 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:776]  [MCU2_0]      9.143011 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
[20240321_11:32:15:776]  [MCU2_0]      9.143662 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:776]  [MCU2_0]      9.143692 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2
[20240321_11:32:15:776]  [MCU2_0]      9.145024 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:15:776]  [MCU2_0]      9.145248 s: CSI2RX: Init ... Done !!!
[20240321_11:32:15:776]  [MCU2_0]      9.145279 s: CSI2TX: Init ... !!!
[20240321_11:32:15:776]  [MCU2_0]      9.145302 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
[20240321_11:32:15:777]  [MCU2_0]      9.145865 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:16:118]  [MCU2_0]      9.145896 s: SCICLIENT: Sciclient_pmSetModuleState module=40 state=2
[20240321_11:32:16:118]  [MCU2_0]      9.146574 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:16:118]  [MCU2_0]      9.146604 s: SCICLIENT: Sciclient_pmSetModuleState module=41 state=2
[20240321_11:32:16:118]  [MCU2_0]      9.147251 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:16:118]  [MCU2_0]      9.147281 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2
[20240321_11:32:16:118]  [MCU2_0]      9.147851 s: SCICLIENT: Sciclient_pmSetModuleState success
[20240321_11:32:16:118]  [MCU2_0]      9.147928 s: CSI2TX: Init ... Done !!!
[20240321_11:32:16:118]  [MCU2_0]      9.147955 s: DSS: Display type is CSITX !!!
[20240321_11:32:16:118]  [MCU2_0]      9.152587 s: DSS: Configuring SERDES Max9295A ... !!!
[20240321_11:32:16:118]  [MCU2_0]      9.155829 s: DSS: SERDES Max9295A Configuration... Done !!!
[20240321_11:32:16:118]  [MCU2_0]      9.155867 s: ISS: Init ... !!!
[20240321_11:32:16:118]  [MCU2_0]      9.156724 s: fqf: REMOTE_SERVICE: create RX task Done 
[20240321_11:32:16:119]  [MCU2_0]      9.156760 s: Found sensor OVX1F_UYVY_96715_96724F at location 0 
[20240321_11:32:16:119]  [MCU2_0]      9.156801 s: Found sensor ISX019_UYVY_96701_96724F at location 1 
[20240321_11:32:16:119]  [MCU2_0]      9.156839 s: Found sensor ISX019_UYVY_96715_96724F at location 2 
[20240321_11:32:16:119]  [MCU2_0]      9.156874 s: IssSensor_Init ... Done !!!
[20240321_11:32:16:119]  [MCU2_0]      9.156964 s: IttRemoteServer_Init ... Done !!!
[20240321_11:32:16:119]  [MCU2_0]      9.156993 s: VISS REMOTE SERVICE: Init ... !!!
[20240321_11:32:16:119]  [MCU2_0]      9.157051 s: VISS REMOTE SERVICE: Init ... Done !!!
[20240321_11:32:16:119]  [MCU2_0]      9.157082 s: UDMA Copy: Init ... !!!
[20240321_11:32:16:119]  [MCU2_0]      9.165143 s: UDMA Copy: Init ... Done !!!
[20240321_11:32:16:119]  [MCU2_0]      9.165230 s: APP: Init ... Done !!!
[20240321_11:32:16:120]  [MCU2_0]      9.165261 s: APP: Run ... !!!
[20240321_11:32:16:120]  [MCU2_0]      9.165284 s: IPC: Starting echo test ...
[20240321_11:32:16:120]  [MCU2_0]      9.166990 s: APP: Run ... Done !!!
[20240321_11:32:16:120]  [MCU2_0]      9.167687 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] C7X_1[P] C7X_2[.] 
[20240321_11:32:16:120]  [MCU2_0]      9.167766 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] C7X_1[P] C7X_2[P] 
[20240321_11:32:16:120]  [MCU2_1]      5.928901 s: CIO: Init ... Done !!!
[20240321_11:32:16:120]  [MCU2_1]      5.928946 s: ### CPU Frequency = 1000000000 Hz
[20240321_11:32:16:120]  [MCU2_1]      5.928979 s: CPU is running FreeRTOS
[20240321_11:32:16:121]  [MCU2_1]      5.929002 s: APP: Init ... !!!
[20240321_11:32:16:121]  [MCU2_1]      5.929024 s: SCICLIENT: Init ... !!!
[20240321_11:32:16:121]  [MCU2_1]      5.930369 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[20240321_11:32:16:121]  [MCU2_1]      5.930406 s: SCICLIENT: DMSC FW revision 0x8  
[20240321_11:32:16:121]  [MCU2_1]      5.930436 s: SCICLIENT: DMSC FW ABI revision 3.1
[20240321_11:32:16:121]  [MCU2_1]      5.930470 s: SCICLIENT: Init ... Done !!!
[20240321_11:32:16:121]  [MCU2_1]      5.930496 s: UDMA: Init ... !!!
[20240321_11:32:16:121]  [MCU2_1]      5.944806 s: UDMA: Init ... Done !!!
[20240321_11:32:16:121]  [MCU2_1]      5.944847 s: MEM: Init ... !!!
[20240321_11:32:16:121]  [MCU2_1]      5.944882 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d6000000 of size 16777216 bytes !!!
[20240321_11:32:16:121]  [MCU2_1]      5.944946 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 60040000 of size 262144 bytes !!!
[20240321_11:32:16:122]  [MCU2_1]      5.945004 s: MEM: Init ... Done !!!
[20240321_11:32:16:122]  [MCU2_1]      5.945028 s: IPC: Init ... !!!
[20240321_11:32:16:122]  [MCU2_1]      5.945072 s: IPC: 3 CPUs participating in IPC !!!
[20240321_11:32:16:122]  [MCU2_1]      5.945108 s: IPC: Waiting for HLOS to be ready ... !!!
[20240321_11:32:16:122]  [MCU2_1]      8.923232 s: IPC: HLOS is ready !!!
[20240321_11:32:16:122]  [MCU2_1]      8.934678 s: appIpcIsCpuEnabled 4 !!!
[20240321_11:32:16:122]  [MCU2_1]      8.935890 s: IPC: Init lbx... Done !!!
[20240321_11:32:16:122]  [MCU2_1]      8.935922 s: APP: Syncing with 1 CPUs ... !!!
[20240321_11:32:16:122]  [MCU2_1]      8.935953 s: APP: Syncing with 1 CPUs ... Done !!!
[20240321_11:32:16:122]  [MCU2_1]      8.935985 s: REMOTE_SERVICE: Init ... !!!
[20240321_11:32:16:122]  [MCU2_1]      8.937082 s: REMOTE_SERVICE: Init ... Done !!!
[20240321_11:32:16:122]  [MCU2_1]      8.937116 s: UDMA Copy: Init ... !!!
[20240321_11:32:16:122]  [MCU2_1]      8.943513 s: UDMA Copy: Init ... Done !!!
[20240321_11:32:16:123]  [MCU2_1]      8.943550 s: APP: Init ... Done !!!
[20240321_11:32:16:123]  [MCU2_1]      8.943576 s: APP: Run ... !!!
[20240321_11:32:16:123]  [MCU2_1]      8.943599 s: IPC: Starting echo test ...
[20240321_11:32:16:123]  [MCU2_1]      8.944850 s: APP: Run ... Done !!!
[20240321_11:32:16:123]  [C7x_1 ]      6.306152 s: CIO: Init ... Done !!!
[20240321_11:32:16:123]  [C7x_1 ]      6.306179 s: ### CPU Frequency = 500000000 Hz
[20240321_11:32:16:123]  [C7x_1 ]      6.306201 s: CPU is running FreeRTOS
[20240321_11:32:16:123]  [C7x_1 ]      6.306217 s: APP: Init ... !!!
[20240321_11:32:16:123]  [C7x_1 ]      6.306232 s: SCICLIENT: Init ... !!!
[20240321_11:32:16:462]  [C7x_1 ]      6.307548 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[20240321_11:32:16:462]  [C7x_1 ]      6.307579 s: SCICLIENT: DMSC FW revision 0x8  
[20240321_11:32:16:462]  [C7x_1 ]      6.307600 s: SCICLIENT: DMSC FW ABI revision 3.1
[20240321_11:32:16:462]  [C7x_1 ]      6.307621 s: SCICLIENT: Init ... Done !!!
[20240321_11:32:16:462]  [C7x_1 ]      6.307639 s: UDMA: Init ... !!!
[20240321_11:32:16:463]  [C7x_1 ]      6.321084 s: UDMA: Init ... Done !!!
[20240321_11:32:16:463]  [C7x_1 ]      6.321107 s: MEM: Init ... !!!
[20240321_11:32:16:463]  [C7x_1 ]      6.321129 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ db000000 of size 335544320 bytes !!!
[20240321_11:32:16:463]  [C7x_1 ]      6.321169 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70060000 of size 3702784 bytes !!!
[20240321_11:32:16:463]  [C7x_1 ]      6.321205 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!!
[20240321_11:32:16:464]  [C7x_1 ]      6.321240 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!
[20240321_11:32:16:464]  [C7x_1 ]      6.321273 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ d7000000 of size 67108864 bytes !!!
[20240321_11:32:16:464]  [C7x_1 ]      6.321310 s: MEM: Init ... Done !!!
[20240321_11:32:16:464]  [C7x_1 ]      6.321325 s: IPC: Init ... !!!
[20240321_11:32:16:464]  [C7x_1 ]      6.321350 s: IPC: 4 CPUs participating in IPC !!!
[20240321_11:32:16:464]  [C7x_1 ]      6.321377 s: IPC: Waiting for HLOS to be ready ... !!!
[20240321_11:32:16:464]  [C7x_1 ]      8.949913 s: IPC: HLOS is ready !!!
[20240321_11:32:16:464]  [C7x_1 ]      8.957765 s: IPC: Init ... Done !!!
[20240321_11:32:16:464]  [C7x_1 ]      8.957791 s: APP: Syncing with 3 CPUs ... !!!
[20240321_11:32:16:464]  [C7x_1 ]      8.965905 s: APP: Syncing with 3 CPUs ... Done !!!
[20240321_11:32:16:464]  [C7x_1 ]      8.965936 s: REMOTE_SERVICE: Init ... !!!
[20240321_11:32:16:464]  [C7x_1 ]      8.966213 s: REMOTE_SERVICE: Init ... Done !!!
[20240321_11:32:16:465]  [C7x_1 ]      8.966253 s:  VX_ZONE_INIT:Enabled
[20240321_11:32:16:465]  [C7x_1 ]      8.966274 s:  VX_ZONE_ERROR:Enabled
[20240321_11:32:16:465]  [C7x_1 ]      8.966293 s:  VX_ZONE_WARNING:Enabled
[20240321_11:32:16:465]  [C7x_1 ]      8.966660 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1 
[20240321_11:32:16:465]  [C7x_1 ]      8.966772 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_2 
[20240321_11:32:16:465]  [C7x_1 ]      8.966879 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_3 
[20240321_11:32:16:465]  [C7x_1 ]      8.966990 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_4 
[20240321_11:32:16:465]  [C7x_1 ]      8.967094 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_5 
[20240321_11:32:16:466]  [C7x_1 ]      8.967206 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_6 
[20240321_11:32:16:466]  [C7x_1 ]      8.967311 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_7 
[20240321_11:32:16:466]  [C7x_1 ]      8.967421 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_8 
[20240321_11:32:16:466]  [C7x_1 ]      8.967464 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[20240321_11:32:16:466]  [C7x_1 ]      8.967491 s: APP: OpenVX Target kernel init ... !!!
[20240321_11:32:16:466]  [C7x_1 ]      8.967756 s: APP: OpenVX Target kernel init ... Done !!!
[20240321_11:32:16:466]  [C7x_1 ]      8.967782 s: APP: Init ... Done !!!
[20240321_11:32:16:466]  [C7x_1 ]      8.967799 s: APP: Run ... !!!
[20240321_11:32:16:466]  [C7x_1 ]      8.967814 s: IPC: Starting echo test ...
[20240321_11:32:16:466]  [C7x_1 ]      8.967991 s: APP: Run ... Done !!!
[20240321_11:32:16:466]  [C7x_1 ]      9.013939 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] C7X_1[s] C7X_2[P] 
[20240321_11:32:16:467]  [C7x_1 ]      9.167666 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] C7X_1[s] C7X_2[P] 
[20240321_11:32:16:467]  [C7x_2 ]      6.535303 s: CIO: Init ... Done !!!
[20240321_11:32:16:467]  [C7x_2 ]      6.535330 s: ### CPU Frequency = 500000000 Hz
[20240321_11:32:16:467]  [C7x_2 ]      6.535352 s: CPU is running FreeRTOS
[20240321_11:32:16:467]  [C7x_2 ]      6.535368 s: APP: Init ... !!!
[20240321_11:32:16:467]  [C7x_2 ]      6.535382 s: SCICLIENT: Init ... !!!
[20240321_11:32:16:467]  [C7x_2 ]      6.536793 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[20240321_11:32:16:467]  [C7x_2 ]      6.536822 s: SCICLIENT: DMSC FW revision 0x8  
[20240321_11:32:16:467]  [C7x_2 ]      6.536843 s: SCICLIENT: DMSC FW ABI revision 3.1
[20240321_11:32:16:467]  [C7x_2 ]      6.536864 s: SCICLIENT: Init ... Done !!!
[20240321_11:32:16:467]  [C7x_2 ]      6.536882 s: UDMA: Init ... !!!
[20240321_11:32:16:467]  [C7x_2 ]      6.549706 s: UDMA: Init ... Done !!!
[20240321_11:32:16:467]  [C7x_2 ]      6.549729 s: MEM: Init ... !!!
[20240321_11:32:16:468]  [C7x_2 ]      6.549750 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ ef000000 of size 16777216 bytes !!!
[20240321_11:32:16:631]  [C7x_2 ]      6.549790 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 65800000 of size 458752 bytes !!!
[20240321_11:32:16:631]  [C7x_2 ]      6.549827 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 65e00000 of size 16384 bytes !!!
[20240321_11:32:16:631]  [C7x_2 ]      6.549861 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ f0000000 of size 67108864 bytes !!!
[20240321_11:32:16:631]  [C7x_2 ]      6.549898 s: MEM: Init ... Done !!!
[20240321_11:32:16:632]  [C7x_2 ]      6.549914 s: IPC: Init ... !!!
[20240321_11:32:16:632]  [C7x_2 ]      6.549937 s: IPC: 4 CPUs participating in IPC !!!
[20240321_11:32:16:632]  [C7x_2 ]      6.549969 s: IPC: Waiting for HLOS to be ready ... !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.958860 s: IPC: HLOS is ready !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.965851 s: IPC: Init ... Done !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.965878 s: APP: Syncing with 3 CPUs ... !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.965903 s: APP: Syncing with 3 CPUs ... Done !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.965925 s: REMOTE_SERVICE: Init ... !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.966215 s: REMOTE_SERVICE: Init ... Done !!!
[20240321_11:32:16:632]  [C7x_2 ]      8.966255 s:  VX_ZONE_INIT:Enabled
[20240321_11:32:16:632]  [C7x_2 ]      8.966293 s:  VX_ZONE_ERROR:Enabled
[20240321_11:32:16:632]  [C7x_2 ]      8.966314 s:  VX_ZONE_WARNING:Enabled
[20240321_11:32:16:633]  [C7x_2 ]      8.967181 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP-1 
[20240321_11:32:16:633]  [C7x_2 ]      8.967225 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[20240321_11:32:16:633]  [C7x_2 ]      8.967264 s: APP: OpenVX Target kernel init ... !!!
[20240321_11:32:16:633]  [C7x_2 ]      8.967603 s: APP: OpenVX Target kernel init ... Done !!!
[20240321_11:32:16:633]  [C7x_2 ]      8.967631 s: UDMA Copy: Init ... !!!
[20240321_11:32:16:633]  [C7x_2 ]      8.978027 s: UDMA Copy: Init ... Done !!!
[20240321_11:32:16:633]  [C7x_2 ]      9.013300 s: APP: Init ... Done !!!
[20240321_11:32:16:633]  [C7x_2 ]      9.013330 s: APP: Run ... !!!
[20240321_11:32:16:633]  [C7x_2 ]      9.013347 s: IPC: Starting echo test ...
[20240321_11:32:16:633]  [C7x_2 ]      9.013534 s: APP: Run ... Done !!!
[20240321_11:32:16:634]  [C7x_2 ]      9.013948 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] C7X_1[P] C7X_2[s] 
[20240321_11:32:16:646]  [C7x_2 ]      9.167691 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] C7X_1[P] C7X_2[s] 

 

Thanks

Regards

quanfeng

  • Hi QuanFeng,

    This should not fail randomly. It should fail consistently or not fail at all. 

    Essentially it is running out of Completion rings. We can reduce the number of rings requirement from below FAQ. 

    (+) [FAQ] PROCESSOR-SDK-TDAX: How to reduce the number of completion rings in VHWA drivers - Processors forum - Processors - TI E2E support forums

    But can you first make sure if it is failing consistently? 

    The other solution is to allocate more free rings to mcu2_0 using resource manager.. 

    Regards,

    Brijesh

  • Hi Brijesh,

    But can you first make sure if it is failing consistently? 

    This problem happened randomly.

    The other solution is to allocate more free rings to mcu2_0 using resource manager.. 

    We found that the hardware where the DMA errors occur is random and the errors also occur in the LDC, MSC, and NF as shown in the following logs. The problem does not seem to be caused by a lack of rings but by the TISCI configuration. Is there any way to confirm that?

    [MCU2_0]      9.483709 s: VHWA: LDC Init ... !!!
    [MCU2_0]      9.504606 s: [UDMA] 
    [MCU2_0]      9.504646 s: [Error] Ring config failed!!!
    [MCU2_0]      9.504683 s: [UDMA] 
    [MCU2_0]      9.504701 s: [Error] TD CQ ring alloc failed!!!
    [MCU2_0]      9.504745 s: [UDMA] 
    [MCU2_0]      9.504766 s: [Error] Channel resource allocation failed!!
    [MCU2_0]      9.510779 s: VHWA: ERROR: LDC Init Failed !!!
    [MCU2_0]      9.510818 s: VHWA: VPAC Init ... Done !!!
    
    [MCU2_0]      9.430733 s: VHWA: LDC Init ... !!!
    [MCU2_0]      9.445095 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]      9.445147 s: VHWA: MSC Init ... !!!
    [MCU2_0]      9.483730 s: [UDMA] 
    [MCU2_0]      9.483762 s: [Error] Ring config failed!!!
    [MCU2_0]      9.483793 s: [UDMA] 
    [MCU2_0]      9.483811 s: [Error] FQ ring alloc failed!!!
    [MCU2_0]      9.483852 s: [UDMA] 
    [MCU2_0]      9.483871 s: [Error] Channel resource allocation failed!!
    [MCU2_0]      9.483903 s: VHWA: ERROR: MSC Init Failed !!!
    [MCU2_0]      9.483930 s: VHWA: VPAC Init ... Done !!!
    
    [MCU2_0]      9.432834 s: VHWA: LDC Init ... !!!
    [MCU2_0]      9.446935 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]      9.446986 s: VHWA: MSC Init ... !!!
    [MCU2_0]      9.500051 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]      9.500096 s: VHWA: NF Init ... !!!
    [MCU2_0]      9.508117 s: [UDMA] 
    [MCU2_0]      9.508144 s: [Error] Ring config failed!!!
    [MCU2_0]      9.508177 s: [UDMA] 
    [MCU2_0]      9.508196 s: [Error] CQ ring alloc failed!!!
    [MCU2_0]      9.508236 s: [UDMA] 
    [MCU2_0]      9.508254 s: [Error] Channel resource allocation failed!!
    [MCU2_0]      9.511698 s: VHWA: ERROR: NF Init Failed !!!
    [MCU2_0]      9.511732 s: VHWA: VPAC Init ... Done !!!

    Thanks

    Regards

    quanfeng

  • Hi quanfeng,

         Could you plase enable the sciclient rm log and share to us please?  please refer the link to capture the log firstly.  https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j721s2/09_01_00_06/exports/docs/pdk_j721s2_09_01_00_22/docs/userguide/j721s2/family_cfg/j721s2/index_modules_sciclient_j721s2.html#system-firmware-logs-parse

       Thanks.

    Linjun

      

  • Hi Linjun,

    As we discussed, can you please help in checking why customer is seeing this issue randomly? and how many rings are needed for their usecase? 

    We have reserved some 182 rings on mcu2_0. This should be sufficient for most usecases. 

    Regards,

    Brijesh