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 for building sysLink 2.21.02.10

Other Parts Discussed in Thread: OMAPL138

Hi,

I am new working with syslink and its depending softwares.
I am trying to build syslink for running in a OMAPL137 (same ARM and DSP than OMAPL138). For that, I'm using the next sw versions:

LINUX KERNEL             = 3.22.00.06
XDC Tools = 3.24.03.33

IPC=1.25.01.09

SYS/BIOS=6.33.05.46

Cross_compile_ARM=arm-2007q3

CG Tool=C6.7.4.6

After settings "products.mak" file with the corresponding parameters, I issue the command "make syslink" and I obtain the next:

gtsc@ubuntu:~/SoftwareDSP/SysLink/syslink_2_21_02_10$ make syslink-driver
#
# Making syslink-driver...
make -C packages  \
            DEVICE=OMAPL1XX \
            GPPOS=Linux \
            LOADER=COFF \
            SYSLINK_REPO=/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages \
            IPC_INSTALL_DIR=/opt/ti/ipc_1_25_01_09 \
            CGT_ARM_PREFIX=/opt/toolchainARM/arm-2007q3/bin/arm-none-linux-gnueabi- \
            LINUXKERNEL=/home/gtsc/codigoFuente/DaVinci-PSP-SDK-03.22.00.06/src/kernel/linux-davinci \
            QNX_INSTALL_DIR= \
            SYSLINK_BUILD_DEBUG=1 \
            SYSLINK_BUILD_OPTIMIZE=0 \
            SYSLINK_TRACE_ENABLE=1 \
            SYSLINK_NOTIFYDRIVER=NOTIFYDRIVERSHM \
            SYSLINK_TRANSPORT=TRANSPORTSHM \
            syslink-driver
make[1]: Entering directory `/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages'
#
# Making syslink-driver-linux in ti/syslink/utils/hlos/knl/Linux
make -C ti/syslink/utils/hlos/knl/Linux \
            ARCH=arm CROSS_COMPILE=/opt/toolchainARM/arm-2007q3/bin/arm-none-linux-gnueabi- \
            KDIR=/home/gtsc/codigoFuente/DaVinci-PSP-SDK-03.22.00.06/src/kernel/linux-davinci \
            SYSLINK_ROOT=/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages \
            SYSLINK_PLATFORM=OMAPL1XX \
            SYSLINK_PKGPATH="/opt/ti/ipc_1_25_01_09/packages;/packages;/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages" \
            SYSLINK_VARIANT=OMAPL1XX SYSLINK_LOADER=COFF \
            SYSLINK_BUILD_DEBUG=1 \
            SYSLINK_BUILD_OPTIMIZE=0 \
            SYSLINK_TRACE_ENABLE=1\
            SYSLINK_NOTIFYDRIVER=NOTIFYDRIVERSHM \
            SYSLINK_TRANSPORT=TRANSPORTSHM \
            SYSLINK_BUILDOS=Linux
make[2]: Entering directory `/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux'
make -C /home/gtsc/codigoFuente/DaVinci-PSP-SDK-03.22.00.06/src/kernel/linux-davinci SUBDIRS=/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux modules
make[3]: Entering directory `/home/gtsc/codigoFuente/DaVinci-PSP-SDK-03.22.00.06/src/kernel/linux-davinci'
  CC [M]  /home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.o
/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.c: In function 'NameServerDrv_ioctl':
/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.c:342: warning: 'buf' may be used uninitialized in this function
scripts/genksyms/genksyms: 1: scripts/genksyms/genksyms: Syntax error: "(" unexpected
make[4]: *** [/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux/NameServerDrv.o] Error 2
make[3]: *** [_module_/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux] Error 2
make[3]: Leaving directory `/home/gtsc/codigoFuente/DaVinci-PSP-SDK-03.22.00.06/src/kernel/linux-davinci'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages/ti/syslink/utils/hlos/knl/Linux'
make[1]: *** [syslink-driver-linux] Error 2
make[1]: Leaving directory `/home/gtsc/SoftwareDSP/SysLink/syslink_2_21_02_10/packages'
make: *** [syslink-driver] Error 2

I've tested with another version and I've checked the ".mak" file. I have not any idea about what is happening. Please, could someone help me?

Thanks

  • Enrique Contreras1 said:

    Cross_compile_ARM=arm-2007q3

    Can you try a newer cross-compiler?

    We've used arm-2009q1-203 and arm-2010q1 for SysLink development.

    The error you're getting seems to be some internal-type error, I have no idea what would be causing that, so I can only suggest to try newer tooling for the cross-compile.

    Regards,

    - Rob

  • Hi,


    I've already found the cause of my problem. The issue was  the Linux kernel version I was using (3.3) is not supported by SysLink, which only support up to the version 2.6.37. So,for using the version 3.3 (in general 3.x), I must use the RPMsg (it's like a Syslink3.0 because replaces to SysLink2.0).More information in the next link:

    http://omappedia.org/wiki/Category:RPMsg

    Now my question is the next: Is RPMsg compatible with OMAPL13x processors? I've read that RPMsg is focused to the news OMAP4, OMAP5, but it doesn't talk about OMAP13x.

    Another option could be use the Linux kernel 2.6.37 with SysLink2, but due to the settings of my target, it's mandatory for me use the Linux Kernel 3.x.

    Thanks,

    Quique.