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.

TDA4VM: FEB-2020 Release - Garbage characters on Serial Console and Single Cam application failed

Part Number: TDA4VM

Hi,

We are testing the FEB-2020 Release [psdk_rtos_auto_j7_06_02_00_21.tar.gz, ti-processor-sdk-linux-automotive-j7-evm-06_02_00-Linux-x86-Install.bin] on Custom board.

We could see only a few lines of logs with garbage characters when we ran /opt/vision_apps/vision_apps_init.sh. And, vx_app_single_cam.out is core dumped. We were unable to see the success of all the component init because of the console issue. 

Please find the error logs below,

19.12a (Terrific Lla]
[C7x_1 ] 0.013148 s: SCICLIENT: DMSC FW revision 0x13
[C7x_1 ] 0.013158 s: SCICLIENT: DMSC FW ABI revision 2.9
[C7x_1 ] 0.013169 s: SCICLIENT: Init ... Done !!!
[C7x_1 ] 0.013179 s: UDMA: Init ... !!!
[C7x_1 ] 0.013305 s: UDMA: Init ... Done !!!
[C7x_1 ] 0.013319 s: MEM: Init ... !!!
[C7x_1 ] 0.013331 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ dc000000 of!
[C7x_1 ] 0.013351 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 81!
[C7x_1 ] 0.013370 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 49!
[C7x_1 ] 0.013387 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16!
[C7x_1 ] 0.013404 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ f8000000 o!
[C7x_1 ] 0.013423 s: MEM: Init ... Done !!!
[C7x_1 ] 0.013430 s: IPC: Init ... !!!
[C7x_1 ] 0.013440 s: IPC: 5 CPUs participating in IPC !!!
[C7x_1 ] 0.013454 s: IPC: Waiting for HLOS to be ready ... !!!
[C7x_1 ] 0.013467 s: IPC: HLOS is ready !!!
[C7x_1 ] 0.015587 s: IPC: Init ... Done !!!
[C7x_1 ] 0.015600 s: APP: Syncing with 4 CPUs ... !!!

root@j7-evm:/opt/vision_apps# ./vx_app_single_cam.out
APP: Init ... !!!
APP_LOG: Mapping 0xac000000 ...
APP_LOG: Mapped 0xac000000 -> 0xffffb2e50000 of size 262144 bytes
MEM: Init ION ... !!!
MEM: Initialized ION (fd=4) !!!
MEM: Init ION ... Done !!!
IPC: Init ... !!!
APP_LOG: Mapping 0xac040000 ...
APP_LOG: Mapped 0xac040000 -> 0xffffb0eb0000 of size 33161216 bytes
APP_LOG: Mapping 0x30e00000 ...
APP_LOG: Mapped 0x30e00000 -> 0xffffb3340000 of size 3072 bytes
rproc_device_find_for_name: could not open virtio node directory for r5f-main-0-core-1
IPC: ERROR: Unable to find rproc_device for rproc CPU [r5f-main-0-core-1]
IPC: ERROR: Unable to create TX channels for CPU [mcu2_1] !!!
IPC: ERROR: All local endpoints MUST be the same value, mismatch for CPU [mcu2_1] local endpt -1 !!
IPC: Init ... Done !!!
APP: ERROR: IPC init failed !!!
REMOTE_SERVICE: Init ... !!!
rproc_device_find_for_name: could not open virtio node directory for r5f-main-0-core-1
IPC: ERROR: Unable to find rproc_device for rproc CPU [r5f-main-0-core-1]
rproc_device_find_chrdev_by_remote_port: could not find a matching rpmsg_chrdev node
IPC: ERROR: Unable to find rproc_char_device for rproc CPU [c66-0] @ remote endpt 21
rproc_device_find_chrdev_by_remote_port: could not find a matching rpmsg_chrdev node
IPC: ERROR: Unable to find rproc_char_device for rproc CPU [c66-1] @ remote endpt 21
rproc_device_find_chrdev_by_remote_port: could not find a matching rpmsg_chrdev node
IPC: ERROR: Unable to find rproc_char_device for rproc CPU [c7x] @ remote endpt 21
REMOTE_SERVICE: Init ... Done !!!
APP: Init ... Done !!!
0.006062 s: VX_ZONE_INIT:Enabled
0.006085 s: VX_ZONE_ERROR:Enabled
0.006089 s: VX_ZONE_WARNING:Enabled
0.006642 s: VX_ZONE_INIT:[tivxInit:64] Initialization Done !!!
0.006823 s: VX_ZONE_INIT:[tivxHostInit:44] Initialization Done for HOST !!!

Single Camera Demo - (c) Texas Instruments 2019
========================================================

Usage,
./vx_app_single_cam.out --cfg <config file>

Defaulting to interactive mode
0.007120 s: VX_ZONE_ERROR:[ownContextCreateCmdObj:122] context object descriptor allocation d
0.007128 s: VX_ZONE_ERROR:[vxCreateContext:638] context objection creation failed
0.007160 s: ISS: Enumerating sensors ... !!!
REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_1 (port 21) cmd = 0x00000000, prm_size = 384 bytes
0.007174 s: ISS: ERROR: Enumerating sensors failed !!!
appCreateImageSensor returned -1
Error : app_init returned 0xffffffff
0.007187 s: VX_ZONE_ERROR:[vxReleaseContext:791] context is invalid
Error: vxReleaseContext returned 0xfffffff4
Error : app_deinit returned 0xfffffff4
0.007197 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... !!!
REMOTE_SERVICE: TX: FAILED: mpu1_0 -> mcu2_1 (port 21) cmd = 0x00000006, prm_size = 384 bytes
0.007206 s: ISS: De-initializing sensor [IMX390-UB953_D3] failed !!!
0.007211 s: VX_ZONE_INIT:[tivxHostDeInit:49] De-Initialization Done for HOST !!!
0.011546 s: VX_ZONE_INIT:[tivxDeInit:100] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
rproc_device_find_for_name: could not open virtio node directory for r5f-main-0-core-1
IPC: ERROR: Unable to find rproc_device for rproc CPU [r5f-main-0-core-1]
rproc_device_find_chrdev_by_remote_port: could not find a matching rpmsg_chrdev node
IPC: ERROR: Unable to find rproc_char_device for rproc CPU [c66-0] @ remote endpt 21
rproc_device_find_chrdev_by_remote_port: could not find a matching rpmsg_chrdev node
IPC: ERROR: Unable to find rproc_char_device for rproc CPU [c66-1] @ remote endpt 21
rproc_device_find_chrdev_by_remote_port: could not find a matching rpmsg_chrdev node
IPC: ERROR: Unable to find rproc_char_device for rproc CPU [c7x] @ remote endpt 21
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
Segmentation fault (core dumped)