How to Use SysLink on the OMAPL138

The following guide describes the method for building TI SysLink for the OMAPL138 Platforms.

Requirements

NOTE: SysLink will not work on kernels older than 2.6.37. You will need to use DSPLink instead.

Release 2.6.37-davinci-ts1 and Release 3.3-davinci-ts1

  • Desktop Factory configured for the omapl138_evm or omapl138_exp
  • The following components from Texas Instruments:
    IPC 1.24.02.27
    BIOS 6.33.02.31
    XDC 3.23.01.43
    CGTools 7.3.4 (my.TI Account Required)

Installation

  1. Select the syslink package in Factory:
    $ make syslink-select
  2. If you chose a different location than the default for the TI components, then you should change them in your Factory configuration:
    $ make menuconfig
    • Navigate to Target Software->Software Packages->Multimedia->General Purpose->syslink.
    • Modify the following variables:
      • TI Code Generation Tools Installation Directory
      • TI BIOS Installation Directory
      • TI IPC Installation Directory
      • TI XDC Tools Installation Directory
  3. Run your Factory build:
    $ make

Running the sample applications

By default, we build and install the syslink sample applications. These can be used to verify your build of syslink.

  1. Set up your board according to the Timesys Getting Started Guide for your system.
    • Note: You must Add mem=32M@0xc0000000 mem=64M@0xc4000000 to your kernel command line. This carves out 32MB of memory for SysLink.
      U-Boot> setenv bootargs ${bootargs} mem=32M@0xc0000000 mem=64M@0xc4000000
  2. Install the syslink module:
    # insmod /lib/modules/2.6.37-ts-armv5l/kernel/drivers/dsp/syslink.ko
  3. Go to the sample directory:
    # cd /opt/ti/syslink
  4. To run all of the samples, simply run the runall.sh script:
    # ./runall.sh
  5. To run a single application, navigate to the debug or release directory of the application, then run the run.sh script:
    # cd ex01_helloworld/release/
    # ./run.sh