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.

Linux/EVMK2H: After installing the SDK make all and make linux fails the same way (same failure), make u-boot-spl is successful

Part Number: EVMK2H

Tool/software: Linux

I used make all (then used make linux) and it did compile a lot of code, but eventually failed with the below information. Just to note, make u-boot-spl seemed to be successful, however I expect to find a new U-boot file, but was not able to find it.

make -j 1 -C /home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/board-support/linux-4.14.79+gitAUTOINC+e669d52447-ge669d52447 ARCH=arm CROSS_COMPILE=/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- zImage
make[1]: Entering directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/board-support/linux-4.14.79+gitAUTOINC+e669d52447-ge669d52447'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
GEN lib/oid_registry_data.c
/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/bin/perl: 1: /home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/bin/perl: Syntax error: word unexpected (expecting ")")
lib/Makefile:236: recipe for target 'lib/oid_registry_data.c' failed
make[2]: *** [lib/oid_registry_data.c] Error 2
Makefile:1039: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
make[1]: Leaving directory '/home/ewdev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/board-support/linux-4.14.79+gitAUTOINC+e669d52447-ge669d52447'
Makefile:10: recipe for target 'linux' failed
make: *** [linux] Error 2

  • In case it helps, yes I am using a newer make (>3.81). Specifically, I am using 4.1.

  • Hi,

    Let me check this and I will update the thread.

    Best Regards,
    Yordan

  • Hi,

    It seems there is something missing in your environment.
    I was able to build Processor SDK Linux 05.03 kernel using the following commands:
     export ARCH=arm

     export CROSS_COMPILE=/home/users/ykovachev/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-

    ~/ti-processor-sdk-linux-k2hk-evm-05.03.00.07/board-support/linux-4.14.79+gitAUTOINC+e669d52447-ge669d52447

     make tisdk_k2hk-evm_defconfig

     make

    Best Regards,
    Yordan