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.

Building SysLink 2.21.01.05 in PSP 3.22

Hi,

I used to compile SysLink with using 

LINUXKERNEL = /home/omap/projects/rbs_kks/psp/DaVinci-PSP-SDK-03.21.00.04/src/kernel/linux-03.21.00.04

and there was no issue with building and using the driver.

Since I updated and changed LINUXKERNEL to PSP-3.22 and so to kernel version 3.3 and I get build error while building:

/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c: In function 'OMAPL1XXPWR_attach':
/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c:835: error: 'IO_PHYS' undeclared (first use in this function)
/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c:835: error: (Each undeclared identifier is reported only once
/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c:835: error: for each function it appears in.)
/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c:836: error: 'IO_SIZE' undeclared (first use in this function)
/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c: In function 'OMAPL1XXPWR_detach':
/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.c:908: error: 'IO_SIZE' undeclared (first use in this function)
make[4]: *** [/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/omapl1xxdsp/omapl1xxpwr.o] Error 1
make[3]: *** [_module_/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux] Error 2
make[3]: Leaving directory `/home/omap/projects/xyz/psp/DaVinci-PSP-SDK-03.22.00.06/src/kernel/linux-davinci'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux'
make[1]: *** [syslink-driver-linux] Error 2
make[1]: Leaving directory `/home/omap/projects/xyz/SysLink/syslink_2_21_01_05/packages'
make: *** [syslink-driver] Error 2

  • Firat Kasmis said:

    Since I updated and changed LINUXKERNEL to PSP-3.22 and so to kernel version 3.3 and I get build error while building:

    SysLink will need to be modified to build correctly for a v3.3 Linux kernel.  SysLink was developed and validated w/ kernels older than 3.3.

    The errors you pasted are just the first of the set of errors that you will encounter.  I don't know all the errors, but do know that the iommu function calls made by SysLink will also need to be changed (I believe the kernel changes in 3.2 break these calls).

    We don't currently have any plans to modify SysLink to support newer kernels, since TI is moving forward with the IPC 3.x specification to replace SysLink.  But the needed changes shouldn't be too onerous.  You will need to undertake this effort yourself, but know that you can lean upon this forum for assistance.

    Regards,

    - Rob