I have been trying for a long time to run any of the sample programs provided with the syslink package on a Spectrum Digital 816X EVM.
I can build the samples, but when I attempt to run them I get errors like the following:
root@dm816x-evm:~/TI816X/ti/syslink-examples/TI816X/ringio# ./run_ringio_debug.sh
======== Running app using slaveloader ========
RingIOApp sampleAssertion at Line no: 302 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-02_0
0_00_68-r3i/syslink_02_00_00_68_beta1/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Linux/IpcDrv.
c: (status >= 0) : failed application
Run for all supported proc IDs
Entered RingIOApp_startup
Warning! Unsupported procID specified for running the sample application! proc ID: [1]
Warning! Unsupported procID specified for running the sample application! proc ID: [2]
Error in Ipc_control Ipc_CONTROLCMD_LOADCALLBACK [0xffffffff]
Leaving RingIOApp_startup() (0xffffffff)
======== Running app using agruments ========
RingIOApp sample application
Entered RingIOApp_startup
Loading and starting procId [0] with [./ringio_ti81xx_dsp.xe674]
SlaveLoader_startup status [-2]
Leaving RingIOApp_startup() (0xfffffffe)
root@dm816x-evm:~/TI816X/ti/syslink-examples/TI816X/ringio#
The settings used to build Syslink were:
peterr@ubuntu:~/ti-ezsdk_dm816x-evm_5_01_01_80/syslink_2_00_03_82$ make .show-products
DEPOT = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80
DEVICE = TI816X
GPPOS = Linux
SDK = EZSDK
SYSLINK_BUILD_DEBUG = 1
SYSLINK_BUILD_OPTIMIZE = 0
SYSLINK_TRACE_ENABLE = 1
LOADER =
SYSLINK_INSTALL_DIR = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80/syslink_2_00_03_82
IPC_INSTALL_DIR = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80/ipc_1_23_01_26
BIOS_INSTALL_DIR = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80/bios_6_32_01_38
XDC_INSTALL_DIR = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80/xdctools_3_22_01_21
LINUXKERNEL = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80/psp/linux-2.6.37-psp04.00.00.10
CGT_ARM_PREFIX = /home/peterr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-
CGT_C64P_INSTALL_DIR =
CGT_C674_ELF_INSTALL_DIR = /home/peterr/ti-ezsdk_dm816x-evm_5_01_01_80/cgt6x_7_2_2
CGT_M3_ELF_INSTALL_DIR =
CGT_A8_ELF_INSTALL_DIR =
EXEC_DIR = /home/peterr/targetfs/home/root/TI816X
peterr@ubuntu:~/ti-ezsdk_dm816x-evm_5_01_01_80/syslink_2_00_03_82$
Following suggestions elsewhere I have tried unsuccessfully to update syslink.ko as described in the installation guide.
The command: rmmod syslink results in the error:
ERROR: Module syslink is in use by vpss.
I have searched in vain for a way to stop vpss. The possibility of rmmod failing is not mentioned in the syslink install guide.
I cannot see any process that suggests it is related to vpss. Here is the list:
root@dm816x-evm:~# ps
PID USER VSZ STAT COMMAND
1 root 1708 S init [5]
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
6 root 0 SW< [khelper]
7 root 0 SW [irq/72-serial i]
8 root 0 SW [irq/73-serial i]
9 root 0 SW [irq/74-serial i]
10 root 0 SW [sync_supers]
11 root 0 SW [bdi-default]
12 root 0 SW< [kblockd]
13 root 0 SW< [omap2_mcspi]
14 root 0 SW [khubd]
15 root 0 SW [kseriod]
16 root 0 SW< [kmmcd]
17 root 0 SW< [musb-hdrc.0]
18 root 0 SW< [musb-hdrc.1]
19 root 0 SW< [rpciod]
21 root 0 SW [kswapd0]
22 root 0 SW< [aio]
23 root 0 SW< [nfsiod]
24 root 0 SW [scsi_eh_0]
25 root 0 SW [scsi_eh_1]
26 root 0 SW [kworker/u:1]
28 root 0 SW [kworker/u:3]
29 root 0 SW [mtdblock0]
30 root 0 SW [mtdblock1]
31 root 0 SW [mtdblock2]
32 root 0 SW [mtdblock3]
33 root 0 SW [mtdblock4]
34 root 0 SW [mtdblock5]
35 root 0 SW [mtdblock6]
36 root 0 SW [mtdblock7]
37 root 0 SW [mtdblock8]
42 root 0 SW< [usbhid_resumer]
43 root 0 SW [mmcqd/0]
44 root 0 SW [kworker/0:2]
79 root 1956 S < /sbin/udevd -d
841 root 0 SW [flush-0:14]
1023 messageb 3324 S /usr/bin/dbus-daemon --system
1043 root 0 SW [kjournald]
1046 root 0 SW [kjournald]
1073 root 0 DW< [kernelThread_0]
1078 root 2936 S /usr/sbin/telnetd
1086 root 0 SW [flush-179:0]
1113 root 3000 S /sbin/syslogd -n -C64 -m 20
1115 root 2936 S /sbin/klogd -n
1120 root 2172 S /usr/sbin/thttpd -d /srv/www -u root -c /cgi-bin/*
1142 root 0 SW< [pvr_timer]
1175 root 0 SW< [pvr_workqueue]
1181 root 2516 S login -- root
1182 root 1968 S /sbin/getty 38400 tty1
1183 root 3128 S -sh
1188 root 3128 R ps
How do I update syslink.ko?