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-AM64X: Lib in release

Part Number: PROCESSOR-SDK-AM64X

Tool/software:

Hi,

On last mcu_plus_sdk_am64x_10_00_00_20, i don't find the release lib like nortos.am64x.a53.gcc-aarch64.release.lib. It's impossible from CCS to build this example in release mode : "ipc_rpmsg_echo for am64x-sk". 

So, I tried this command on windows console

cd ${SDK_INSTALL_PATH}
gmake -s libs PROFILE=release
and I have this error
C:\ti\mcu_plus_sdk_am64x_10_00_00_20>gmake -s all PROFILE=release
Compiling: board.am64x.a53.gcc-aarch64.release.lib: flash/flash.c
process_begin: CreateProcess(NULL, C:/ti/gcc-arm-9.2-2019.12-mingw-w64-i686-aarch64-none-elf/bin/aarch64-none-elf-gcc -c -mcpu=cortex-a53+fp+simd -mabi=lp64 -mcmodel=large -mstrict-align -mfix-cortex-a53-835769 -mfix-cortex-a53-843419 -Wall -Werror -g -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-unused-but-set-variable -fdata-sections -ffunction-sections -Wno-unused-function -Wno-uninitialized -O2 -IC:/ti/mcu_plus_sdk_am64x_10_00_00_20/source -DSOC_AM64X -MMD -MT flash.obj -o obj/am64x/gcc-aarch64/release/a53/board//flash.obj flash/flash.c, ...) failed.
make (e=2): Le fichier spÚcifiÚ est introuvable.
makefile.am64x.a53.gcc-aarch64:100: recipe for target 'flash.obj' failed
gmake[3]: *** [flash.obj] Error 2
makefile.am64x:691: recipe for target 'board_a53.gcc-aarch64' failed
gmake[2]: *** [board_a53.gcc-aarch64] Error 2
makefile.am64x:6: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
makefile:68: recipe for target 'all' failed
gmake: *** [all] Error 2
Environnement variables is ok
Do you have an idea what's happend ? 
  • Hi, few things to check before building MCU+SDK lib

    - Double check your CCS and other tools versions and paths in "C:\ti\mcu_plus_sdk_am64x_10_00_00_20\imports.mak"

    - Pleas use gmake -s libs-clean PROFILE=release or maybe even gmake -s libs-srub PROFILE=release (delete temp files) before re-building

    Let us know if you still face errors

    thank you,

    Paula

  • Thank you  so much Paula. I verify my import.mak and there is a mistake in my tools 

    ==> CGT_GCC_AARCH64_PATH=$(TOOLS_PATH)/gcc-arm-9.2-2019.12-mingw-w64-i686-aarch64-none-elf
    ==> CGT_GCC_ARM_PATH=$(TOOLS_PATH)/gcc-arm-none-eabi-9-2019-q4-major-win32

    I don't have the good version of this two tools. Sometimes, it is necessary to verify the base choices.

    Best regards