• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » DM8148 Syslink Examples
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

DM8148 Syslink Examples

This question is not answered
David Jones
Posted by David Jones
on Jan 16 2012 15:58 PM
Prodigy225 points

DM8148 EVM

ti-ezsdk_dm814x-evm_5_03_01_15

What is the procedure for building and installing the Syslink examples when using the NFS file system?

The files do show up under the dm814x-evm directory where other components do. 

There are files under /usr/share/ti/syslink-examples/TI814X but they are not replaced following "DM814x AM387x EZ Software Developers Guide" instructions.

The source seems to be under ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/samples.

 

DM8148 TI8148 Syslink
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ramsey
    Posted by Ramsey
    on Jan 16 2012 20:15 PM
    Expert3710 points

    David,

    The process for building SysLink examples is the same regardless of file system type.  See the SysLink Install Guide at the following link.

    http://processors.wiki.ti.com/index.php/SysLink_Install_Guide

    Once you have built the SysLink samples, you can "install" them onto your NFS file system using the 'make install' command. See section 1.4.1.2 of the SysLink Install Guide. There might be some other EZSDK specific instructions to follow. Maybe someone on the SDK team can add more details.

    ~ Ramsey

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Jones
    Posted by David Jones
    on Jan 17 2012 08:04 AM
    Prodigy225 points

    I did use that install guide to install syslink_2_10_01_15 when using the ti-ezsdk_dm814x-evm_5_02_01_58 version of the SDK.  It did build but the examples did not work.

    I switched to ti-ezsdk_dm814x-evm_5_03_01_15 when it came out and am trying to get it to work.  The built-in Syslink examples are not laid out the same as the installed version.

    The current EZSDK uses syslink_2_00_05_85.  Will it work with the newer 2_10_01_15?  If so, it seems like it would have been included.

    Are there any working (tested) examples of Syslink for this platform?

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joern
    Posted by Joern
    on Jan 17 2012 09:00 AM
    Genius3045 points

    Hi David,

    when trying to run the syslink samples, did you follow the instructions from here?

    I ask this because although following these instructions until now I never got these samples running (tried only with EZSDK 2.03.01.15). So it was interesting for me, if possibly also your tests lead to an error message loop  "Ipc_attach: Ipc_procSyncStart failed!". I got this if loaded syslink.ko with these settings:

    modprobe syslink TRACE=1 TRACEFAILURE=1 TRACEENTER=0 TRACECLASS=3

    I assume a mis-configuration concerning an address for communication between DSP and ARM and tried several setting, but without fortune, an without a reply by TI, too. See my thread here, maybe our problems are somewhat connected.

    Regards,
    Joern.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Jones
    Posted by David Jones
    on Jan 17 2012 10:01 AM
    Prodigy225 points

    Yes I have used those instructions and they rebuild some Syslink components but not the examples.

    Please see this post http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/152535.aspx and my response from 01-09-2012 9:53 AM.  This did get me past an issue with the clocks mismatching.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ramsey
    Posted by Ramsey
    on Jan 17 2012 17:49 PM
    Expert3710 points

    David,

    The current release of SysLink 2.10.02.17 should work with ti-ezsdk_dm814x-evm_5_03_01_15. However, since we release SysLink before the sdk, it is up to the sdk team to validate the SysLink examples with their release. Here are some items to check.

    1. DSP clock rate. The default clock source changed in the PSP from 32kHz to 20MHz, so updates to SysLink were required. The latest SysLink release already has this fix, so you should not need to make this change. You can read about it at this link.

    http://processors.wiki.ti.com/index.php/SYS/BIOS_dmtimer_configuration_for_TI81xx

    2. Memory map differences. The SysLink samples use 80MB of external memory starting at 0x8B000000. Make sure there is no overlap with Linux memory.

    3. Must stop the graphics drivers. The EZSDK might start some demoware when Linux boots. These could conflict with SysLink samples. Please see the following link for details.

    http://processors.wiki.ti.com/index.php/DM814x_EZ_5.03_Software_Developers_Guide#Running_the_SysLink_examples

    Re: different file layout. The SysLink sample layout generated by the 'make install' command is the correct one. The EZSDK version might work, but if you are building the samples yourself, you should use the layout generated by the build.

    I hope this helps.

    ~ Ramsey

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Jones
    Posted by David Jones
    on Jan 18 2012 07:33 AM
    Prodigy225 points

    Some success!

    Although syslink_2_00_05_85 is part of  ti-ezsdk_dm814x-evm_5_03_01_15 it is not quite "installed". 

    It still needs the changes to ~/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/products.mak as described in the syslink install guide.

    The lines below need changed

    DEVICE = TI814X
    GPPOS = Linux
    SDK = EZSDK
    EXEC_DIR = ~/targetfs/usr/share
    DEPOT = ~

    else ifeq ("$(DEVICE)","TI814X")
    LINUXKERNEL = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2
    CGT_ARM_INSTALL_DIR = $(DEPOT)/CodeSourcery/Sourcery_G++_Lite
    CGT_ARM_PREFIX = $(CGT_ARM_INSTALL_DIR)/bin/arm-none-linux-gnueabi-
    IPC_INSTALL_DIR = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/ipc_1_23_05_40
    BIOS_INSTALL_DIR = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/bios_6_32_05_54
    XDC_INSTALL_DIR = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/xdctools_3_22_04_46
    CGT_C674_ELF_INSTALL_DIR= $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/dsp-devkit/cgt6x_7_3_1

    After that "make samples" will build the examples and "make install" will copy them to the file system.

    The samples do run using scripts provided.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joern
    Posted by Joern
    on Jan 18 2012 08:51 AM
    Genius3045 points

    Congratulations, Dave, so you've been somewhat faster than me...

    Concerning my own problems with the syslink error message "Ipc_attach: Ipc_procSyncStart failed!" when using the CodecEngine I had tried around with the syslink samples and found the same problem. Via Ramsey's hint  above concerning the recently reported change of the default clock source in the PSP from 32kHz to 20MHz I checked concerning that and found that it actually is has been the reason for my problems. Now I will have to find out how to change this setting for the CodecEngine, too, but that belongs to an other thread...

    Just yet a note concerning the changes you describe above:

    • For me for some reason the tilde '~/ezsdk' did not work concerning the include pathes, I had to use something like '/home/${USER}/ezsdk' or '${PWD}/ezsdk'. 
    • Seemingly 'make all' from the syslink directory did not build the samples, but 'make samples' did.

    Best regards,
    Joern.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Jones
    Posted by David Jones
    on Jan 18 2012 09:13 AM
    Prodigy225 points

    I'm at the same point, I can build the samples but not the driver.  It's hanging up when _NameServer.h tries to include NameServer.h and it can't find it.  It's looking under the syslink directory instead of the ipc directory.

    Hopefully there is an easy answer for this

    BTW, I accidently it "verify" instead of "reply" on your last post.  There's no "are you sure?" or anything.

    # Making syslink_driver...
    make -C packages \
    DEVICE=TI814X \
    GPPOS=Linux \
    LOADER= \
    SYSLINK_REPO=/home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages \
    IPC_INSTALL_DIR=~/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/ipc_1_23_05_40 \
    CGT_ARM_PREFIX=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- \
    LINUXKERNEL=~/ti-ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2 \
    SYSLINK_BUILD_DEBUG=1 \
    SYSLINK_BUILD_OPTIMIZE=0 \
    SYSLINK_TRACE_ENABLE=1 \
    syslink_driver
    make[1]: Entering directory `/home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages'
    #
    # Making syslink_driver in ti/syslink/utils/hlos/knl/Linux
    make -C ti/syslink/utils/hlos/knl/Linux \
    ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- \
    KDIR=~/ti-ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2 SYSLINK_ROOT=/home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages \
    SYSLINK_PLATFORM=TI81XX SYSLINK_PKGPATH="~/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/ipc_1_23_05_40/packages;/packages"\
    SYSLINK_VARIANT=TI814X \
    SYSLINK_BUILD_DEBUG=1 \
    SYSLINK_BUILD_OPTIMIZE=0 \
    SYSLINK_TRACE_ENABLE=1
    make[2]: Entering directory `/home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/utils/hlos/knl/Linux'
    make -C ~/ti-ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2 SUBDIRS=/home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/utils/hlos/knl/Linux modules
    make[3]: Entering directory `/home/david/ti-ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2'
    CC [M] /home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.o
    In file included from /home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.c:74:
    /home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/inc/_NameServer.h:106:31: error: ti/ipc/NameServer.h: No such file or directory
    In file included from /home/david/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_85/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.c:74:

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joern
    Posted by Joern
    on Jan 18 2012 09:52 AM
    Genius3045 points

    So the tilde seems not to work also for you. If I use

    IPC_INSTALL_DIR         = ~/ezsdk/component-sources/ipc_1_23_05_40

    then I get exactly the same error concerning NameServer.h (but which is to be found below that directory...).

    If I use the path setting without the '~', f.e.

    IPC_INSTALL_DIR         = /home/${USER}/ezsdk/component-sources/ipc_1_23_05_40

    then the missed header will be found.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Jones
    Posted by David Jones
    on Jan 18 2012 09:57 AM
    Prodigy225 points

    Yes, based on you previous problem with the '~' I took it out and the driver builds.

    Many thanks for the hint.

    Now to see if the built driver works (like the pre-existing one did)

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Yuanwei
    Posted by Yuanwei
    on Mar 14 2012 14:59 PM
    Intellectual525 points

    David, does frameq works for you? thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Jones
    Posted by David Jones
    on Mar 23 2012 12:59 PM
    Prodigy225 points

    I'm back on this part of the project again and yes the frameq example works.  I started from scratch today so here's what it takes.

    1. Download and extract syslink_2_10_03_20 (I put it under /ti/syslink_2_10_03_20)
    2. Edit products.mak to point to the tools on your disk
      My changes are below as an example

      DEVICE = TI814X
      SDK = EZSDK
      EXEC_DIR = /home/david/targetfs/usr/share
      DEPOT = /home/david
      LINUXKERNEL             = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/board-support/linux-2.6.37-psp04.01.00.06.patch2
      CGT_ARM_INSTALL_DIR     = $(DEPOT)/CodeSourcery/Sourcery_G++_Lite
      IPC_INSTALL_DIR         = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/ipc_1_23_05_40
      BIOS_INSTALL_DIR        = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/bios_6_32_05_54
      XDC_INSTALL_DIR         = $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/xdctools_3_22_04_46
      CGT_C674_ELF_INSTALL_DIR= $(DEPOT)/ti-ezsdk_dm814x-evm_5_03_01_15/dsp-devkit/cgt6x_7_3_1

    3. "make" to build
    4. "make samples" to build samples
    5. "make install" to copy to root file system
    6. install the driver "insmod syslink.ko".  You can copy syslink.ko from targetfs/usr/share/lib/modules/2.6.37/kernel/drivers/dsp  to /targetfs/lib/modules/2.6.37/kernel/drivers/dsp to find it without a path.
    7. run the drivers using the scripts in /usr/share/ti/syslink-examples/TI814X

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use