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.
Hi,
On the Keystone 6638K2K EVM I am using Matrix app on the launcher page to run the different demos.
With the images installed on 6638K2K and ready to use, I am able to launch IPC and Image processing demos with pre-existing .out files and binaries.
My question is in reference to IPC demo :
Following binaries are pre existing on target:
/mcsdk_x_XX/lib/firmware/message_single.xe66 (DSP built library for message q test)
/usr/bin/MessageQBench (ARM built library for message q test)
With this files I am able to run this demo correctly without any error .
Going further step I am modifying source files with some printf statements and rebuilding IPC Libraries :
Source file Modified for DSP :
/ti/ipc_3_36_02_13/packages/ti/ipc/tests/messageq_single.c
DSP Binaries are done in:
/ti/ipc_3_36_02_13/packages/ti/ipc/tests/
bin/ti_platforms_evmTCI6638K2K_core0/message_single.xe66
Source File modified on Linux:
/ti/ipc_3_36_02_13/linux/src/tests/MessageQBench.c
Linux Binaries are done in:
/ti/ipc_3_36_02_13//linux/tests/.libs/MessageQBench
Now when I am replacing my built binaries message_single.xe66(/mcsdk_x_XX/lib/firmware/message_single.xe66) and MessageQBench(/usr/bin/MessageQBench) on target and running same demo I get following error:
Loading DSP Images
Resetting Core 0...
reset succeeded
dsp 0 is in reset state
....so on for all other 7 cores..
Loading and Running....
load succeeded
Run succeeded
..for all other cores..
Running MessageQBench:
/usr/bin/MessageQBench: "Error while loading Shared Libraries : libtitransportrpmsg.so.1: cannot open shared object file : No such File or directory.
Script Complete..
Can someone please let me know why this error is triggered and how to resolve it.
thanks and regards
nikunj
IPC_INSTALL_DIR := /opt/ti/ipc_3_3x_xx_xx
#The location where the libraries are installed after building the IPC package
SIPC_LINUX_DIR := /opt/ti/ipc_3_3x_xx_xx/IPC_Linux_libraries
CROSS_COMPILE ?= arm-linux-gnueabihf-
CC := $(CROSS_COMPILE)gcc
CFLAGS := -Wall -I$(COMMON_INC) -I$(MASTER_INC) -I$(IPC_INSTALL_DIR)/linux/include -I$(IPC_INSTALL_DIR)/packages -D_GNU_SOURCE
LFLAGS := -lpthread -L$(SIPC_LINUX_DIR)/ -ltitransportrpmsg -L$(SIPC_LINUX_DIR)/ -ltiipc -L$(SIPC_LINUX_DIR)/ -ltiipcutils
Hi Munzir,
There are two methods to tackle this issue:
1) If your factory supplied TI EVM kit is flashed with Older version of mcsdk, then board needs to be flashed with upgraded mcsdk version (which will have latest ipc ,and other packages ), this will resolve the issue, then you can simply copy your binaries in /usr/bin and /lib/firmware and no shared libraries issue remains.
2) If you do not want to take risk of corrupting the flash , try to do a nfs booting to a linux machine installed with all latest mcsdk,ipc, xdc, bios tools.This will replicate the linux machine's file system on your board, and then you can copy your Linux application binaries in /usr/bin/ directory on evm board and dsp binaries in /lib/firmware/ directory on evm board.
regards
nikunj
Hi Rao,
You can use the MCSDK version : mcsdk_linux_3_01_04_07 for K2H EVM