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.

Make errors rebuilding syslink.ko

I want to build syslink compatible DSP code in Code Composer in Windows for the C6a816x EVM and to do this the nearest compatible IPC version to the version 1.22.00.10_eng that came with the SDK is 1.22.00.19.  As the existing syslink.ko built with IPC 1.22.00.10_eng apparently will not work with DSP code made using any other version of IPC, a rebuild of syslink.ko is required.  Upon attempting to rebuild syslink.ko I get errors:

make ARCH=arm CROSS_COMPILE=/home/lholeva/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- SYSLINK_PLATFORM=TI81XX

make -C /home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/psp/linux-2.6.34-psp04.00.00.07 SUBDIRS=/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/syslink_02_00_00_56/ti/syslink/utils/hlos/knl/Linux modules

make[1]: Entering directory `/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/psp/linux-2.6.34-psp04.00.00.07'

ERROR: Kernel configuration is invalid.

include/generated/autoconf.h or include/config/auto.conf are missing.

Run 'make oldconfig && make prepare' on kernel src to fix it.

 

WARNING: Symbol version dump /home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/psp/linux-2.6.34-psp04.00.00.07/Module.symvers

is missing; modules will have no dependencies and modversions.

Building modules, stage 2.

/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/psp/linux-2.6.34-psp04.00.00.07/scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory

make[2]: *** No rule to make target `include/config/auto.conf'. Stop.

make[1]: *** [modules] Error 2

make[1]: Leaving directory `/home/lholeva/ti-ezsdk_c6a816x-evm_5_00_00_56/psp/linux-2.6.34-psp04.00.00.07'

make: *** [default] Error 2

How do I fix this?  Also, I cannot remove the old syslink.ko module as the vpss.ko module uses it.  What is the necessary sequence of module removal followed by insertion?

Lee Holeva

 

  • It looks like the kernel needs to be built before the modules. Are those commands part of recommended build instructions?

    For removal of a loaded module use "rmmod", eg "rmmod vpss".

  • Norman Wong said:

    It looks like the kernel needs to be built before the modules. Are those commands part of recommended build instructions?

    The suggested commands given by make are not part of the recommended build instructions, which I am attempting to follow.  To rebuild syslink.ko there is no mention of rebuilding the kernel.  The instruction doc is "Syslink 02.00.00.56 alpha2 InstallGuide".

    Besides using rmmod vpss, what are insmod args used to setup the EVM?  This is apparently undocumented.

    Lee Holeva

     

     

  • I'm not familiar with syslink or vpss. Just commenting on the build errors from a Linux generalist perspective. Googled about and found that this TI wiki page talks about vpss module parameters.

    http://processors.wiki.ti.com/index.php/TI816X-VPSS-Video-Driver-UserGuide_PSP_04.00.00.11

    I took a quick look at the InstallGuide and it sort of weakly implies that the kernel needs to be built.

     

  • Lee, Did you ever resolve this issue? We are having The exact same problem trying to build a kernel object for a 3rd party USB device.

    Thanks, Steve