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.

DRA821U: build error j7200_evm RTOS PDK

Part Number: DRA821U

I am trying to build the PDK RTOS

I am guessing where the gcc tool chains should be. It is not documented for the R5s in the RTOS PDK,

software-dl.ti.com/.../processor-sdk-rtos-j7200/latest/exports/docs/pdk_j7200_09_00_01_03/docs/userguide/j7200/getting_started.html#build-steps

this documents the Linux gcc tool chain

software-dl.ti.com/.../processor-sdk-linux-jacinto7/latest/exports/docs/linux/Overview/GCC_ToolChain.html

I have this sdk and it is in my path

~/ti/ti-processor-sdk-linux-j7200-evm-08_02_00_02/linux-devkit/sysroots/x86_64-arago-linux/usr/bin

I also tried

~/ti/ti-processor-sdk-linux-j7200-evm-08_02_00_02/linux-devkit/sysroots/aarch64-linux/usr/bin

When I try to build I get this error

make -s all BOARD=j7200 BUILD_PROFILE=debug CORE=mcu2_0

*** gcc-arm compiler not found. Please refer user guide to download the same.  Stop.

I tried gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf I have that package and added the bin to my path

but that doesn't work either

  • Please let me know, which gcc is needed?
  • where can I download it?
  • Hello,

    I've found this discrepancy as well. There are some changes now in the SDK 9.0 release with respect to J7200.

    The J721E SDK has the support for downloading the compiler, but looking at the scripts this is the download link:

    https://www.ti.com/tool/download/ARM-CGT-CLANG/2.1.3.LTS

    You can download this wherever you like. If you download it to your SDK top level directory, that would be the easiest solution. If it is not in your top level SDK directory, then you can use this variable to tell the PDK where you downloaded and extracted the compiler:

    TOOLS_INSTALL_PATH=<path-to-dir-hosting-compiler>

    For example, if I downloaded it to /home/erick, and extracted it in my home directory, it would be in /home/erick/ti-cgt-armllvm_2.1.3.LTS. Then my new command would be:

    make -s all BOARD=j7200 BUILD_PROFILE=debug CORE=mcu2_0 TOOLCHAIN_INSTALL_PATH=/home/erick

    Let me know if this helps.

    Thanks,

    Erick