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: Buiding pdk_am437x_1_0_17 from ti-processor-sdk-rtos-am437x-evm-06.03.00.106-Windows-x86-Install

Part Number: PROCESSOR-SDK-AM437X

Hi,

I' trying to build the pdk_am437x_1_0_17 on Windows platform and few minutes after "gmake all" comand   an error occurrs.  I'm following the instructions on  https://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_overview.html#rebuild-pdk.

 The erros is:

C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/buil
d -f makefile_non-buildinfra all PDK_SOC=am437x
gmake[1]: Entering directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/build'
C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/star
terware all_profiles -j1 PLATFORM="am43xx-evm"
gmake[2]: Entering directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/starterware'
cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a > NUL
The system cannot find the path specified.
gmake[2]: *** [Makefile:203: bootloaders_all_bootmodes_profiles] Error 1
gmake[2]: Leaving directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/starterware'
gmake[1]: *** [makefile_non-buildinfra:185: starterware] Error 2
gmake[1]: Leaving directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/build'
gmake: *** [makefile:97: non-buildinfra_all] Error 2

Can someone help me?

Thanks Semi

  • Hi Semi,

    Thanks for reporting this problem. The makefile for AM437x PDK 1.0.17 seems broken for Windows. The problem happened when it tried to build the starterware from the top level makefile. Do you have a Linux PC? I just verified that the makefile works fine on Linux. If you only have Windows PC, there is a workaround:

    1. Remove all non-buildinfra related build targets from pdk_am437x_1_0_17/packages/makefile. I attached a modified makefile for your reference.8130.makefile

    2. Rerun gmake and it should be able to finish the build without errors.

    3. Build the starterware separately:

    C:\ti\pdk_am437x_1_0_17\packages>pdksetupenv.bat
    
    C:\ti\pdk_am437x_1_0_17\packages>cd ti\starterware
    
    C:\ti\pdk_am437x_1_0_17\packages\ti\starterware>gmake help
    
    C:\ti\pdk_am437x_1_0_17\packages\ti\starterware>gmake all PLATFORM=am43xx-evm SOC=am437x

    This should build the PDK components equivalently. 

    Regards,

    Jianzhong