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.

AM57x PDK rebuild does not work



I've tried to build the pdk, but following the directions just plain does not work.

I wipe out my pdk directory to make sure I've got a clean install, then install the sdk which gives me a clean untouched pdk. Then I try pdksetupenv.bat.

C:\ti\pdk_am57xx_1_0_4\packages>pdksetupenv.bat
Optional parameter not configured : CG_XML_BIN_INSTALL_PATH
REQUIRED for xdc release build
Example: set CG_XML_BIN_INSTALL_PATH=C:/ti/cg_xml/bin
Optional parameter not configured : DOXYGEN_INSTALL_PATH
REQUIRED for xdc release build
Example: set DOXYGEN_INSTALL_PATH=C:/ti/Doxygen/doxygen/1.5.1-p1/bin
**************************************************************************
Environment Configuration:
    LIMIT_SOCS                : am571x am572x
    LIMIT_BOARDS              : evmAM572x idkAM571x idkAM572x
    PDK_INSTALL_PATH          : /ti/PD23B8~1/packages/
    C6X_GEN_INSTALL_PATH      : C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0
    TOOLCHAIN_PATH_A15        : C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9
-2015q3
    TOOLCHAIN_PATH_A8         : C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9
-2015q3
    TOOLCHAIN_PATH_A9         : C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9
-2015q3
    TOOLCHAIN_PATH_M4         : C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LT
S
    FPULIB_PATH               : C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9
-2015q3/lib/gcc/arm-none-eabi/4.9.3/fpu
    CROSS_TOOL_PRFX           : arm-none-eabi-
    XDC_INSTALL_PATH          : C:/ti/xdctools_3_32_00_06_core
    BIOS_INSTALL_PATH         : C:/ti/bios_6_45_01_29
    IPC_INSTALL_PATH          : C:/ti/ipc_3_43_02_04
    EDMA3LLD_BIOS6_INSTALLDIR : C:/ti/edma3_lld_2_12_01_25
    NDK_INSTALL_PATH          : C:/ti/ndk_2_24_03_35
    IMGLIB_INSTALL_PATH       : C:/ti/imglib_c66x_3_1_1_0
    UIA_INSTALL_PATH          : C:/ti/uia_2_00_03_43
**************************************************************************
Changing to short name to support directory names containing spaces
current directory: /ti/PD23B8~1/packages/
PDK BUILD ENVIRONMENT CONFIGURED
**************************************************************************


Then I do gmake clean or gmake csl_clean and after lots of printing, I do gmake all or gmake csl. Neither work. Here's the results for gmake csl.

C:\ti\PD23B8~1\packages>gmake csl
gmake -C ./ti/csl all
gmake[1]: Entering directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake libcores SOC=am572x
gmake[2]: Entering directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake lib_allendians CORE=a15_0 BUILD_PROFILE_a15_0=release
gmake[3]: Entering directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake comp_libs ENDIAN=little
gmake[4]: Entering directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake -C /ti/PD23B8~1/packages//ti/csl/arch -fmakefile_init.mk
gmake[5]: Entering directory `C:/ti/PD23B8~1/packages/ti/csl/arch'
# Compiling am572x:a15_0:release:csl_init: a15/src/exceptionhandler.asm
C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc -c
 -x assembler-with-cpp -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-prag
mas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloa
t-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG     -DSOC_
AM572x          -IC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-no
ne-eabi/include -I. -Ia15/src -Ia15 -I/ti/PD23B8~1/packages/ -I/ti/PD23B8~1/pack
ages//ti/csl -I/ti/PD23B8~1/packages//ti/csl -I/apps/apps_nonbam/inc -I/ -I/comm
on -o /ti/PD23B8~1/packages//ti/binary/ti/csl/arch/obj/am572x/a15/release/except
ionhandler.oa15fg a15/src/exceptionhandler.asm
process_begin: CreateProcess(NULL, C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-
4_9-2015q3/bin/arm-none-eabi-gcc -c -x assembler-with-cpp -DMAKEFILE_BUILD -Wimp
licit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -m
cpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7
 -Werror -O2 -s -DNDEBUG -DSOC_AM572x -IC:/ti/ccsv6/tools/compiler/gcc-arm-none-
eabi-4_9-2015q3/arm-none-eabi/include -I. -Ia15/src -Ia15 -I/ti/PD23B8~1/package
s/ -I/ti/PD23B8~1/packages//ti/csl -I/ti/PD23B8~1/packages//ti/csl -I/apps/apps_
nonbam/inc -I/ -I/common -o /ti/PD23B8~1/packages//ti/binary/ti/csl/arch/obj/am5
72x/a15/release/exceptionhandler.oa15fg a15/src/exceptionhandler.asm, ...) faile
d.
make (e=2): The system cannot find the file specified.
gmake[5]: *** [/ti/PD23B8~1/packages//ti/binary/ti/csl/arch/obj/am572x/a15/relea
se/exceptionhandler.oa15fg] Error 2
gmake[5]: Leaving directory `C:/ti/PD23B8~1/packages/ti/csl/arch'
gmake[4]: *** [csl_init] Error 2
gmake[4]: Leaving directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake[3]: *** [little_lib] Error 2
gmake[3]: Leaving directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake[2]: *** [a15_0_lib] Error 2
gmake[2]: Leaving directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake[1]: *** [am572x_lib] Error 2
gmake[1]: Leaving directory `C:/ti/PD23B8~1/packages/ti/csl'
gmake: *** [csl] Error 2