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: SDK 8.0.0.21 - Unable to start bitbake server

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: SYSCONFIG

Hi:

So I'm on this step:

https://software-dl.ti.com/processor-sdk-linux/esd/docs/08_00_00_21/linux/Overview_Building_the_SDK.html#build-steps

I did actually re-run

$ . conf/setenv

after the two export steps for ARM cross compilers.

However ${DEF_TOOLCHAIN_PATH} is still empty.

So when I run this step the following happens.

~/tisdk/build$ . conf/setenv
~/tisdk/build$ MACHINE=arm64-evm bitbake tisdk-base-image
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/howa/tisdk/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 11979 at 2021-08-18 08:28:20.508093 ---
ERROR: Failed to obtain external Arm toolchain version: Execution of '${DEF_TOOLCHAIN_PATH}/bin/INVALID-linux-gcc -v' failed: command not found
ERROR: Failed to obtain external Arm toolchain version: Execution of '${DEF_TOOLCHAIN_PATH}/bin/INVALID-linux-gcc -v' failed: command not found
ERROR: Error: EXTERNAL_TOOLCHAIN path '${DEF_TOOLCHAIN_PATH}' does not exist


  • Sorry there was a typo in the command line above this:
    MACHINE=arm64-evm bitbake tisdk-base-image

    Should have been this

    MACHINE=am64x-evm bitbake tisdk-base-image

    Did not change the result however.  

    It seems that the MACHINE specification suggested in

    https://software-dl.ti.com/processor-sdk-linux/esd/docs/08_00_00_21/linux/Overview_Building_the_SDK.html#build-steps

    is wrong.   Looks like a typo.   Disappointed


    Looking farther down in the document here:
    https://software-dl.ti.com/processor-sdk-linux/esd/docs/08_00_00_21/linux/Overview_Building_the_SDK.html#layer-configuration

    It seems that the list of platforms uses a different name as

    am64xx-evm

    Note the extra x.

    Using that as machine yields different errors.

    NOTE: Your conf/bblayers.conf has been automatically updated.
    NOTE: Your conf/bblayers.conf has been automatically updated.
    NOTE: Started PRServer with DBfile: /home/howa/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45545, PID: 12246
    ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
        Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
        Following is the list of potential problems / advisories:

        Your Python 3 is not a full install. Please install the module distutils.sysconfig (see the Getting Started guide for further information).


    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

  • Ok the one-time prerequisites section is incomplete.  

    Missing: git and various python stuff and who knows what else.

    Please update that section so that it is correct.

    I just reran this command from the YOCTO manual and now the target is building ... will report back if it all succeeeds in a few hours.

    $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev