Part Number: TDA4VM
Tool/software:
PSDK version:RTOS(8.4.0.6) + Linux(8.4.0.11)
Hi,
Our project does not have any network requirements, so we have removed the network driver from the SDK. We are currently encountering some issues with our stress testing.
Our modifications are as follows. Is there anything else that needs to be modified?
Boot Mode:
SBL + can_boot_app
Code Change:
1)disable ETHFW
psdkra/vision_apps/vision_apps_build_flags.mak
BUILD_ENABLE_ETHFW=no
2)disable linux dts node cpsw9g_virt_mac and cpsw9g_virt_maconly
cpsw9g_virt_mac: main_r5fss_cpsw9g_virt_mac0 {
status = "disabled";
compatible = "ti,j721e-cpsw-virt-mac";
dma-coherent;
ti,psil-base = <0x4a00>;
ti,remote-name = "mpu_1_0_ethswitch-device-0";
dmas = <&main_udmap 0xca00>,
<&main_udmap 0xca01>,
<&main_udmap 0xca02>,
<&main_udmap 0xca03>,
<&main_udmap 0xca04>,
<&main_udmap 0xca05>,
<&main_udmap 0xca06>,
<&main_udmap 0xca07>,
<&main_udmap 0x4a00>;
dma-names = "tx0", "tx1", "tx2", "tx3",
"tx4", "tx5", "tx6", "tx7",
"rx";
virt_emac_port {
ti,label = "virt-port";
/* local-mac-address = [0 0 0 0 0 0]; */
};
};
/* TODO: Inherited from EVM, Not sure the meaning of this configuration */
cpsw9g_virt_maconly: main-r5fss-cpsw9g-virt-mac1 {
status = "disabled";
compatible = "ti,j721e-cpsw-virt-mac";
dma-coherent;
ti,psil-base = <0x4a00>;
ti,remote-name = "mpu_1_0_ethmac-device-1";
dmas = <&main_udmap 0xca00>,
<&main_udmap 0xca01>,
<&main_udmap 0xca02>,
<&main_udmap 0xca03>,
<&main_udmap 0xca04>,
<&main_udmap 0xca05>,
<&main_udmap 0xca06>,
<&main_udmap 0xca07>,
<&main_udmap 0x4a00>;
dma-names = "tx0", "tx1", "tx2", "tx3",
"tx4", "tx5", "tx6", "tx7",
"rx";
virt_emac_port {
ti,label = "virt-port";
/* local-mac-address = [0 0 0 0 0 0]; */
};
};
3) disable systemd service: systemd-networkd-wait-online.service
Issues:
1 UDMA initialization failure occasionally occurs in MCU2-0.
The probability of the issues recurring is 1/25, and when the issues occurs, MCU 1_0 is running normally.[MCU2_0] 0.375992 s: CIO: Init ... Done !!!
[MCU2_0] 0.376068 s: ### CPU Frequency = 1000000000 Hz
[MCU2_0] 0.376116 s: APP: Init ... !!!
[MCU2_0] 0.376144 s: SCICLIENT: Init ... !!!
[MCU2_0] 0.381851 s: SCICLIENT: DMSC FW version [8.4.1--v08.04.01 (Jolly Jellyfi]
[MCU2_0] 0.381921 s: SCICLIENT: DMSC FW revision 0x8
[MCU2_0] 0.381965 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_0] 0.382007 s: SCICLIENT: Init ... Done !!!
[MCU2_0] 0.382038 s: UDMA: Init ... !!!
[MCU2_0] 0.393503 s: [UDMA]
[MCU2_0] 0.393550 s: [Error] SciClient Set proxy config failed!!!
[MCU2_0] 0.393594 s: UDMA: ERROR: Udma_init failed !!!
[MCU2_0] 0.393631 s: UDMA: Init ... Done !!!
[MCU2_1] 0.333004 s: CIO: Init ... Done !!!
[MCU2_1] 0.333076 s: ### CPU Frequency = 1000000000 Hz
[MCU2_1] 0.333120 s: APP: Init ... !!!
[MCU2_1] 0.333145 s: SCICLIENT: Init ... !!!
[MCU2_1] 0.333429 s: SCICLIENT: DMSC FW version [8.4.1--v08.04.01 (Jolly Jellyfi]
[MCU2_1] 0.333484 s: SCICLIENT: DMSC FW revision 0x8
[MCU2_1] 0.333521 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_1] 0.333558 s: SCICLIENT: Init ... Done !!!
[MCU2_1] 0.333586 s: UDMA: Init ... !!!
[MCU2_1] 0.339346 s: UDMA: Init ... Done !!!
[MCU2_1] 0.339410 s: MEM: Init ... !!!
[MCU2_1] 0.339457 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d7000000 of size 16777216 bytes !!!
[MCU2_1] 0.339531 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 3640000 of size 262144 bytes !!!
[MCU2_1] 0.339590 s: MEM: Init ... Done !!!
[MCU2_1] 0.339628 s: IPC: Init ... !!!
[MCU2_1] 0.339692 s: IPC: 6 CPUs participating in IPC !!!
[MCU2_1] 0.339740 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_1] 4.944300 s: IPC: HLOS is ready !!!
[MCU2_1] 4.964996 s: IPC: Init ... Done !!!
[MCU2_1] 4.965064 s: APP: Syncing with 5 CPUs ... !!!
2 MCU1-0 occasional UDMA delete failure
The probability of the issues recurring is 6/120, and when the issues occurs, there are no other abnormalities in the system.
[DMA] UDMA event unregister failed!!
[DMA] UDMA event unregister failed!!
[DMA] UDMA channel close failed!!
[DMA] UDMA App delete failed!!
3 Sciclient initialization failure occasionally occurs in all cores in main doman
The probability of the issues recurring is 1/120, and when the issues occurs, /opt/vision-apps/vx_app_arm_demote_rog.out is unable to extract R and C core logs.
Debugging MCU2_0 with XDS200 confirms that Sciclient initialization failed.

