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.

AM625: AM625 SDK build Issue

Part Number: AM625

Hi Team,

I have TI AM625 evl board and loaded default Processor SDK LINUX AM62X - SD card image. Validated few basic things. it works good.

 Now I am trying to build SDK on own (Host uBuntu 18.04) and followed Building the SDK but noticed bitbake looks for compiler in /opt path due to some reason. it's in $HOME dir as per steps.

$ MACHINE=am62xx-evm bitbake tisdk-default-image

ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc -v' failed: command not found

Could you please help me pointing:

1. Building SDK from source

2. How to use all 8-UARTs

3. How to use GPIOs & PWM

4. Camera Interface (Mipi & USB) & Sample code

5. EVL board schematic

6. Possibility to load ROS

7. How to build load M4 for real-time applications code

Thank you,

Neeraj

  •  Now I am trying to build SDK on own (Host uBuntu 18.04) and followed Building the SDK but noticed bitbake looks for compiler in /opt path due to some reason. it's in $HOME dir as per steps.

    $ MACHINE=am62xx-evm bitbake tisdk-default-image

    ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc -v' failed: command not found

    This is a common issue with a very misleading error message caused by not following the step of "Re-configuring dash as bash" in the documentation, please see here: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_04_01_09/exports/docs/linux/Overview_Building_the_SDK.html#prerequisites-one-time-setup. Can you please double-check this aspect and see if this solves the issue.

    Regards, Andreas

  • Hi Andreas,

    unfortunately this doesn't solve my problem.

    neeraj@Linux-Dev:~/tisdk/build$ . conf/setenv
    neeraj@Linux-Dev:~/tisdk/build$ sudo dpkg-reconfigure dash
    neeraj@Linux-Dev:~/tisdk/build$ MACHINE=am62xx-evm bitbake tisdk-default-image
    ERROR: Unable to start bitbake server (None)
    ERROR: Server log for this session (/home/neeraj/tisdk/build/bitbake-cookerdaemon.log):
    --- Starting bitbake server pid 28390 at 2022-12-06 10:01:11.888099 ---
    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

    neeraj@Linux-Dev:~/tisdk/build$ echo $0
    -bash
    neeraj@Linux-Dev:~/tisdk/build$ uname -a
    Linux Linux-Dev 5.4.0-135-generic #152~18.04.2-Ubuntu SMP Tue Nov 29 08:23:49 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
    neeraj@Linux-Dev:~/tisdk/build$

    Thank you

    Neeraj

  • Hi Andreas,

    My build issue resolved after reflashing uBuntu 18.04 into my host machine.

    Could you please help me pointing:

    1. Device tree files, build procedure

    2. How to use all 8-UARTs

    3. How to use GPIOs & PWM

    4. Camera Interface (Mipi & USB) & Sample code

    5. EVL board schematic & Gerber, is it compatible with Altium?

    6. Possibility to load ROS

    7. How to build load M4 for real-time applications code

    Thank you,

    Neeraj

  • My build issue resolved after reflashing uBuntu 18.04 into my host machine.

    Thanks for confirming.

    Could you please help me pointing:

    1. Device tree files, build procedure

    2. How to use all 8-UARTs

    3. How to use GPIOs & PWM

    4. Camera Interface (Mipi & USB) & Sample code

    5. EVL board schematic & Gerber, is it compatible with Altium?

    6. Possibility to load ROS

    7. How to build load M4 for real-time applications code

    For those can you please do the following:

    a) Search the E2E (using Google) for solutions, there've been discussions previously related to at least some of those topics, and

    b) For questions you can't get answered please file separate/dedicated E2E tickets. The way we work is tickets get assigned per subject-matter-expertise, so they need to stay on one topic. This will also help building a database of searchable information that will help any future requests of similar nature on the given topics.

    Thanks, Andreas