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-J7200: Toolchain needed for gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi

Part Number: PROCESSOR-SDK-J7200

Hi J7200 SDK Champ !

My customer is trying to build J7200 SDK v8.5 and I inquired because the following gcc version is not installed.

- - gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi

They were only able to see the following gcc version on ti.com .
- - gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
- - gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf

 

The following log was captured from the SDK8.5 building.

====================================================

ryu@mocean-System-Product-Name:~/smnt3/ti-processor-sdk-linux-j7200-evm-08_05_00_08/yocto-build/build$ MACHINE=j7200-evm   bitbake -k tisdk-default-image

ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/ryu/smnt3/ti-processor-sdk-linux-j7200-evm-08_05_00_08/yocto-build/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 136282 at 2024-03-13 17:27:46.241721 ---
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -v' failed: command not found
ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -v' failed: command not found
ERROR: Error: EXTERNAL_TOOLCHAIN path '/opt/gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi' does not exist

===========================================

Can you please check how to solve this error? Do I need to modify the script to build to the above version?

This issue is to try in version 8.5 with a guide to enable CAN Driver in the J7200 SDK.

Thanks.

Best Regards, 

Jack 

  • Hi Jack,

    When I tried building an image within the 8.5 version of the SDK, I received this error:

    local@desktop:~/ti-processor-sdk-linux-j7200-evm-08_05_00_08/yocto-build/build$ MACHINE=j7200-evm TOOCHAIN_BASE=/home/local/ti-processor-sdk-linux-j7200-evm-08_05_00_08/external-toolchains bitbake -k tisdk-base-image
    ERROR: Unable to start bitbake server (None)
    ERROR: Server log for this session (/home/local/ti-processor-sdk-linux-j7200-evm-08_05_00_08/yocto-build/build/bitbake-cookerdaemon.log):
    --- Starting bitbake server pid 3470597 at 2024-03-18 12:03:38.718386 ---
    WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
    ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc -v' failed: command not found
    ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc -v' failed: command not found
    ERROR: Error: EXTERNAL_TOOLCHAIN path '/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu' does not exist

    I had untared the required toolchains within a directory I created called external-toolchains. For some reason the toolchain-arm.inc file wasn't taking in the TOOLCHAIN_BASE override, so I edited the file and hardcoded the path to the external-toolchains directory. Then it worked.

    I'm not sure what toolchain your customer's computer is looking for. Do you know what config file your customer used when running the oe-layertool-setup.sh script? I used the processor-sdk-linux/processor-sdk-linux-08_05_00.txt config.

    Best,
    Jared

  • Hi Jared

    Thanks for your kind answer. 

    I found There's typo below from your log. "L" is missing.

     TOOCHAIN_BASE=

    Did you complete the build with gcc-arm-9.2-2019.12 version. right? 

    Thanks.

    Regards, 

    jack

  • Hi Jack,

    Ah, that would explain it. Yes, I built it with the gcc-arm-9.2-2019.12 version.

    You can install them by running the following commands wherever you want to store your toolchains:

    wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz
    tar -xvf gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz
    wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz
    tar -xvf gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz

    Best,
    Jared