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.

TDA4VM: Can I modify the folder name of the toolchain?

Part Number: TDA4VM

Hi,

Learn about Yocto build according to the following page
software-dl.ti.com/.../Overview_Building_the_SDK.html

Compile with the following instructions
TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=j7-evm bitbake -k tisdk-rootfs-image

I found that bitbake will automatically grab the gcc-arm-8.3-2019.03-x86 64-aarch64-linux-gnu under TOOLCHAIN BASE

If I want to change the names of the folders gcc-arm-8.3-2019.03-x86 64-aarch64-linux-gnu, where should I make changes ?

  • Hi Allen,

    TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> at the beggining of the command line should be enough to use new toolchain path.

    On the other hand some issues with this were observed, can you check if the issue in this thread is the same as yours and see if the proposed workaround (see at the end of first post) works for you:

    Regards,

    yordan

  • Hi,

    I do some experiments, I execute the following instructions.
    TOOLCHAIN_BASE=/mnt/data/home/allenhsu MACHINE=j7-evm bitbake -k tisdk-rootfs-image

    My TOOLCHAIN_BASE is the path "/mnt/data/home/allenhsu".

    However, in the following error message, I find that bitbake will automatically search the the directory (gcc-arm-8.3-2019.03-x86 64-aarch64-linux-gnu).

    ERROR: Error: EXTERNAL_TOOLCHAIN path '/mnt/data/home/allenhsu/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu' does not exist

    My question is, why does bitbake automatically get the directory gcc-arm-8.3-2019.03-x86 64-aarch64-linux-gnu ?

    Where can I modify the default settings of the default directory  (gcc-arm-8.3-2019.03-x86 64-aarch64-linux-gnu)

  • Hi Allen,

    I think it is in "yocto-build/sources/meta-arago/meta-arago-distro/conf/distro/include/toolchain-arm.inc"

    Can you chek there?

    Regards,

    Yordan

  • Hi Yordan,

    Thank you very much, you are right.


    After I modify the following command, I find that the search path is changed.
    TOOLCHAIN_PATH_ARMV8 ?= "${TOOLCHAIN_BASE}/gcc-arm-8.3-2019.03-x86_64-${EAT_TARGET_SYS_ARMV8}"