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.

Problem running syslink on DSP Linux GA 2.0

Guru* 95265 points

Hello,

I first tried to build the syslink myself on 6678 evm:

1) editing setenv with: 
export BUILD_SYSLINK=yes
export CCS_VERSION=none
export CGT_BIOS_VERSION=7.2.2
export IPC_VERSION=1.23.01.26
export XDC_VERSION=3.22.01.21
export BIOS_VERSION=6.32.01.38
export XDAIS_VERSION=none

2) ./prj config
3) ./prj build

4) Then I have syslink-demo-evmc6678.el-hf-dev.tar.gz generated under /product folder. I unzip it and copy it to the NFS under /opt/syslink_evmc6678.el.

5) I have a telnet session to DSP.

6) run ./messageq_app_test_8_core.sh. The script did the insmod module first. However, I got the following error:
Beginning of MessageQ sample application run
insmod syslink.ko
insmod: can't insert '/opt/syslink_evmc6678.el/syslink.ko': invalid module format

So, what's wrong with my steps?

7) I replace the /opt/syslink_evmc6678.el folder with the 2.0GA pre-build:  syslink-demo-evmc6678.el-hf-linux-c6x-2.0.0.63.tar.gz

8) I run step 6) again, I can go further with pre-build:
/opt/syslink_evmc6678.el # ./messageq_app_test_8_core.sh
Beginning of MessageQ sample application run
insmod syslink.ko
Loading and running slave core 1
ELF: ELF
ELF file header entry point: 8213c0
Program entry address: 0x8213c0
Program entry address not 10bit aligned trying to use reset vector table
Reset vector address: 0x836c00
Started Program execution on core: 1
Loading and running slave core 2
...
Started Program execution on core: 7
Running messageq User land sample application
MessageQApp sample application
MessageQApp_startup entered
Entered SysLinkSamples_startup
SysLinkSamples_osStartup
SysLinkSamples_setToRunProcIds
Loading and starting procId [1] with [(null)]
Entered ProcMgrApp_startup
ProcMgr_attach status: [0x97d2000]
After attach: ProcMgr_getState
    state [0x4]

I didn't see further log as in http://linux-c6x.org/wiki/index.php/SysLink_for_c6x. I saw cores 1-7 still in bootrom. Are they running? How to debug this?

Regards, Eric