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.

Problems with syslink examples



I am following the syslink install guide, and have successfully compiled and loaded module syslink.ko.  Howerer, when I run the messageq example something crashes, there are complaints of memory page violations.  I am using the following versions

else ifeq ("$(DEVICE)","TI816X")
LINUXKERNEL             = $(DEPOT)/../board-support/linux-2.6.37-psp04.00.00.12
CGT_ARM_INSTALL_DIR     = /home/janeperera1/CodeSourcery/Sourcery_G++_Lite
CGT_ARM_PREFIX          = $(CGT_ARM_INSTALL_DIR)/bin/arm-none-linux-gnueabi-
IPC_INSTALL_DIR         = $(DEPOT)/ipc_1_23_03_31
BIOS_INSTALL_DIR        = $(DEPOT)/bios_6_32_01_38
XDC_INSTALL_DIR         = $(DEPOT)/xdctools_3_22_01_21
CGT_C674_ELF_INSTALL_DIR= $(DEPOT)/../dsp-devkit/cgt6x_7_2_3

After this problem I re-booted the board up and had trouble so reverted to booting from SD (rather then tftp).  The syslink example

messageqapp from the software developer's quide that has previously successfully executed then gave me some problems.  ( I was not able to save the environmental variables from the tftp/nfs boot as the "saveenv" just hangs -I am wondering if there is a switch setting I need to change?)

 

Warning! Unsupported procID specified for running the sample application! proc I
D: [13]
Loading and starting procId [13] with [dsp/messageq_ti81xx_dsp.xe674]
Entered ProcMgrApp_startup
Assertion at Line no: 703 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-
linux-gnueabi/ti-syslink-02_00_00_68-r3i/syslink_02_00_00_68_beta1/ti/syslink/pr
ocMgr/hlos/usr/ProcMgr.c: IS_VALID_PROCID (procId) : failed
Leaving ProcMgrApp_startup
ProcMgrApp_startup status [0]
Leaving MessageQApp_startup 0
Entered MessageQApp_execute
Leaving MessageQApp_execute
Entered MessageQApp_shutdown()
Shutting down procId [13]
Entered ProcMgrApp_shutdown
Assertion at Line no: 703 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-
linux-gnueabi/ti-syslink-02_00_00_68-r3i/syslink_02_00_00_68_beta1/ti/syslink/pr
ocMgr/hlos/usr/ProcMgr.c: IS_VALID_PROCID (procId) : failed
Leaving ProcMgrApp_shutdown
ProcMgrApp_shutdown status [0]
SysLinkSamples_shutdown
SysLinkSamples_osShutdown
Leaving MessageQApp_shutdown()

 

Since the system should be using the original syslink.ko not the one on the host that is recomiled) I am trying to understand why the example now does not work?  Also, did I need to do some memory changes before running the script run_messageqapp_debug.sh example with the syslink.ko from my host system (when tftp/nfs booted evm)?

  • Jane,

        From the messages  make out that your are using EZSDK,

      Could you please let us know what version of EZSDK you are using

       Are you able to follow the EZSDK "software developers Guide" and be able to run the prebuilt syslink examples as mentioned in section "Running the SysLink examples"

    Best Regards
    Velan

     

  • I am using EZSDK 5_02_02_60

     

    I had to re-install the EZSDK after above experiment, then all was OK.  I am able to run the pre-build syslink example from the Developer's guide.

     

    I am now trying to modify the multiprocessor "Notify" example from the IPC directory to run only A8 and M3 communications (using CCSv4 to build/load/run).