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.

PROCESSOR-SDK-AM437X: Unable to build sdk/pdk

Part Number: PROCESSOR-SDK-AM437X

Hi, I am seemingly unable to run the scripts to install the SDK and PDK for the AM437X , 

PROCESSOR-SDK-RTOS-AM437X_06.03.00.106,

Result from setupenv.bat

Environment Configuration:
***************************************************
SDK_INSTALL_PATH : C:\ti
PDK_INSTALL_PATH : C:/ti/pdk_am437x_1_0_17/packages
GMAKE_INSTALL_PATH : C:/ti/xdctools_3_55_02_22_core
PDK_SOC : am437x
PDK_VERSION : 1_0_17
RULES_MAKE : C:/ti/pdk_am437x_1_0_17/packages/ti/build/Rules.make
***************************************************
IPC_PLATFORM: UNKNOWN
IPC_ALT_PLATFORM:
PROC_SDK_INSTALL_PATH : C:/ti/processor_sdk_rtos_am437x_6_03_00_106
**************************************************************************
Changing to short name to support directory names containing spaces
current directory: C:/ti/processor_sdk_rtos_am437x_6_03_00_106
PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
**************************************************************************

Result from executing gmake:

C:\ti\processor_sdk_rtos_am437x_6_03_00_106>gmake
C:\ti/xdctools_3_55_02_22_core/gmake pdk
gmake[1]: Entering directory 'C:/ti/processor_sdk_rtos_am437x_6_03_00_106'
C:\ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages all
gmake[2]: Entering directory 'C:/ti/pdk_am437x_1_0_17/packages'
C:\ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=evmAM437x SOC=am437x BUILD_PROFILE=release; C:\ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=idkAM437x SOC=am437x BUILD_PROFILE=release; C:\ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=skAM437x SOC=am437x BUILD_PROFILE=release;
C:/Users/krazy/AppData/Local/Temp/make7276-1.sh: 1: C:/Users/krazy/AppData/Local/Temp/make7276-1.sh: C:ti/xdctools_3_55_02_22_core/gmake: not found
C:/Users/krazy/AppData/Local/Temp/make7276-1.sh: 1: C:/Users/krazy/AppData/Local/Temp/make7276-1.sh: C:ti/xdctools_3_55_02_22_core/gmake: not found
C:/Users/krazy/AppData/Local/Temp/make7276-1.sh: 1: C:/Users/krazy/AppData/Local/Temp/make7276-1.sh: C:ti/xdctools_3_55_02_22_core/gmake: not found
gmake[2]: *** [makefile:87: buildinfra_all] Error 127
gmake[2]: Leaving directory 'C:/ti/pdk_am437x_1_0_17/packages'
gmake[1]: *** [makefile:84: pdk] Error 2
gmake[1]: Leaving directory 'C:/ti/processor_sdk_rtos_am437x_6_03_00_106'
gmake: *** [makefile:58: all_libs] Error 2

gmake starts running however seemingly a typo is there when trying to execute it later, it should be C:/ti not C:ti

I'm unsure which script or makefile is causing this
Thanks

  • Hi,

    I was able to do "gmake" without any problems. Pleas see build log below:

    C:\ti\processor_sdk_rtos_am437x_6_03_00_106>setupenv.bat
    ***************************************************
    Environment Configuration:
    ***************************************************
        SDK_INSTALL_PATH        : C:/ti
        PDK_INSTALL_PATH        : C:/ti/pdk_am437x_1_0_17/packages
        GMAKE_INSTALL_PATH      : C:/ti/xdctools_3_55_02_22_core
        PDK_SOC                 : am437x
        PDK_VERSION             : 1_0_17
        RULES_MAKE              : C:/ti/pdk_am437x_1_0_17/packages/ti/build/Rules.make
    ***************************************************
        IPC_PLATFORM: UNKNOWN
        IPC_ALT_PLATFORM:
        PROC_SDK_INSTALL_PATH     : C:/ti/processor_sdk_rtos_am437x_6_03_00_106
    **************************************************************************
    Changing to short name to support directory names containing spaces
    current directory: C:/ti/processor_sdk_rtos_am437x_6_03_00_106
    PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
    **************************************************************************
    
    C:\ti\processor_sdk_rtos_am437x_6_03_00_106>gmake
    C:/ti/xdctools_3_55_02_22_core/gmake pdk
    gmake[1]: Entering directory 'C:/ti/processor_sdk_rtos_am437x_6_03_00_106'
    C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages all
    gmake[2]: Entering directory 'C:/ti/pdk_am437x_1_0_17/packages'
    C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=evmAM437x SOC=am437x BUILD_PROFILE=release;    C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=idkAM437x SOC=am437x BUILD_PROFILE=release;    C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=skAM437x SOC=am437x BUILD_PROFILE=release;    C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/build -f makefile all CORE=a9host BOARD=myCustomBoard SOC=am437x BUILD_PROFILE=release;
    gmake[3]: Entering directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/build'
    

    I notices one difference in your environment setup: SDK_INSTALL_PATH : C:\ti instead of C:/ti, and also C:\ti/xdctools_3_55_02_22_core/gmake instead of C:/ti/xdctools_3_55_02_22_core/gmake. 

    This might be caused by your Windows setup. Try to open a new Windows command prompt and rerun those commands, or reinstall the SDK.

    Regards,

    Jianzhong

  • thanks. I added SDK_INSTALL_PATH to environment variables and it fixed the slash, then it could build.