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.

syslink samples for omapl1xx

Other Parts Discussed in Thread: SYSBIOS

Hi

Iam trying to build syslink for OMAPL1XX android with the following,

Syslink-syslink_2_10_06_28

IPC-ipc_1_24_03_32

BIOS-bios_6_33_06_50

XDC-xdctools_3_23_04_60

Iam able to build syslink.ko module and the hlos samples successfully...But while making samples-rtos I get the following error message :


.dlls files complete: Wed Aug 1 15:44:50 IST 2012.
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink] ========
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/buildutils/rtos/buildScripts] ========
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/family/rtos/bios6/ti814x] ========
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/ipc/rtos] ========
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/procMgr/rtos/bios6] ========
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/samples/hlos/tilerDaemon] ========
======== .executables [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/samples/rtos/frameq] ========
lnk674 evmDA830_dsp/debug/frameq_omapl1xx_dsp.x674 ...

 undefined   first referenced                                                                              
  symbol         in file                                                                                   
 ---------   ----------------                                                                              
 __STACK_END /root/rowboat-android/xdctools_3_23_04_60/packages/ti/targets/rts6000/lib/boot.a674<boot.o674>

error: unresolved symbols remain
warning: entry-point symbol other than "_c_int00" specified:
   "_ti_sysbios_family_c64p_Hwi0"
error: errors encountered during linking;
   "evmDA830_dsp/debug/frameq_omapl1xx_dsp.x674" not built
gmake[1]: *** [evmDA830_dsp/debug/frameq_omapl1xx_dsp.x674] Error 1
gmake: *** [/root/rowboat-android/kernel/drivers/syslink_2_10_06_28/packages/ti/syslink/samples/rtos/frameq,.executables] Error 2

Any ideas to clear the error??

Thanks,

karthika

  • Hello Karthika:

       The highlighted warning is benign:

         warning: entry-point symbol other than "_c_int00" specified:
       "_ti_sysbios_family_c64p_Hwi0"

       See:  http://processors.wiki.ti.com/index.php/Troubleshooting_SysLink_Build_Issues#Problem:_Build_warning_.22entry-point_symbol_other_than_.22_c_int00.22_specified..22

        For the error, can you build any other rtos sample, or just frameq fails?   If this was an upgrade from SysLink 2.10, you might want to check your cfg script:  http://processors.wiki.ti.com/index.php/Reimplementing_FrameQ_in_Classic_C

       My  understanding is that the linker generates the __STACK_END symbol, so the fact it is not found means the library it is generated into is not getting linked or the symbol is being prevented from being generated, perhaps due to wrong linker options.   

      Could you please post your .map file, and config.bld?  It might give some clues.

    Regards,

    - Gil

  • Karthika:

        I installed the SysLink 2_10_06_28 product, and configured products.mak (attached) per the install guide:

         http://processors.wiki.ti.com/index.php/SysLink_Install_Guide_-_2.00_and_2.10 ,

        and using the tools dependencies specified in the release notes:

        http://www.sanb.design.ti.com/tisb_releases/SysLink/2_10_06_28/exports/syslink_2_10_06_28/syslink_2_10_06_28_ReleaseNotes.html#Validation

        to verfy the frameQ example does build:

    % make syslink-rtos
    % make samples-rtos
    [...]

    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/buildutils/rtos/buildScripts] ========
    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/family/rtos/bios6/ti814x] ========
    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/ipc/rtos] ========
    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/procMgr/rtos/bios6] ========
    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/samples/hlos/tilerDaemon] ========
    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/samples/rtos/frameq] ========
    cl674 FrameQApp.c ...
    lnk674 evmDA830_dsp/debug/frameq_omapl1xx_dsp.x674 ...
    warning: entry-point symbol other than "_c_int00" specified:
       "_ti_sysbios_family_c64p_Hwi0"
    ======== .executables [/db/atree/gp/syslink_2_10_06_28/packages/ti/syslink/samples/rtos/gateMP] ========
    cl674 GateMPApp.c ...
    lnk674 evmDA830_dsp/debug/gatemp_omapl1xx_dsp.x674 ...
    warning: entry-point symbol other than "_c_int00" specified:
       "_ti_sysbios_family_c64p_Hwi0"
    [....]

    % make .show-products

    DEPOT                    = /db/atree/gp/depot
    DEVICE                   = OMAPL1XX
    GPPOS                    = Linux
    SDK                      = NONE
    TI81XXDSP_DMTIMER_FREQ   =
    SYSLINK_BUILD_DEBUG      = 1
    SYSLINK_BUILD_OPTIMIZE   = 0
    SYSLINK_TRACE_ENABLE     = 1
    LOADER                   =
    SYSLINK_INSTALL_DIR      = /db/atree/gp/syslink_2_10_06_28
    IPC_INSTALL_DIR          = /db/atree/gp/depot/ipc_1_24_03_32
    BIOS_INSTALL_DIR         = /db/atree/gp/depot/bios_6_33_05_46
    XDC_INSTALL_DIR          = /db/atree/gp/depot/xdctools_3_23_03_53
    LINUXKERNEL              = /db/atree/gp/depot/linux-03.21.00.04
    QNX_INSTALL_DIR          =
    CGT_ARM_PREFIX           = /db/atree/gp/depot/2009q1-203/bin/arm-none-linux-gnueabi-
    CGT_C64P_INSTALL_DIR     =
    CGT_C64P_ELF_INSTALL_DIR =
    CGT_C674_INSTALL_DIR     = /db/toolsrc/library/vendors2005/ti/c6x/7.0.0/Linux
    CGT_C674_ELF_INSTALL_DIR =
    CGT_M3_ELF_INSTALL_DIR   =
    CGT_A8_ELF_INSTALL_DIR   =
    EXEC_DIR                 = /data/exports/gp/omapl1xx_rfs/syslink

       I did use Linux OS since per the release notes Android support has been deprecated in 2.10.04.25 (but I would expect the rtos build to still succeed, as that depends mainly on the Code Gen Tools version and XDC tools).

       I notice your dependent tools versions are different (newer - which *should* be OK), but you can try:

       1) double check your code gen tools version and installation;

       2) use the same XDC tools version as mentioned in the release notes.

    Regards,

    - Gil

  • Hi Gil,

    Thanks for the answer..I have installed the recommended code gen tools and i can compile it successfully now...

    Karthika