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.

J721E-TDA4-YOCTO

Hi TDA4 team

i'm building the SDK, but I have some problems:(my OS is Ubuntu 18.04 on  VMware Workstation Pro

ERROR: u-boot-k3-r5-2019.01+gitAUTOINC+6e54d1f7fa-r19 do_compile: oe_runmake failed
ERROR: u-boot-k3-r5-2019.01+gitAUTOINC+6e54d1f7fa-r19 do_compile: Function failed: do_compile (log file is located at /home/muke/downloads/ti_TDA4/test/yocto-build/build/arago-tmp-external-arm-toolchain/work/j7_evm-linux/u-boot-k3-r5/2019.01+gitAUTOINC+6e54d1f7fa-r19/temp/log.do_compile.2846)

| make[1]: arm-linux-gnueabihf-gcc: Command not found
| /bin/sh: arm-linux-gnueabihf-gcc: command not found

This is the full print information;

1856.TDA4_yocto_build_log.txt

 

I confirm I followed the instructions in chapter "1.3.2.1. Prerequisites (One-time setup)" in ti-processor-sdk-linux-automotive-j7-evm-06_00_00_00/docs/linux/Overview_Building_the_SDK.html

 

Can you help me solve the problem,

thanks

Red Sun

  • Hi,

    You will have to download and install the ARMv7 tool chain along with the ARMv8 toolchain.

    Please download from this link: https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz and make sure that this is added to the PATH environment variable.

    Regards

    Karthik

  • Hi

    I still have some problems when I build the SDK:

    NOTE: recipe qtbase-5.11.3+gitAUTOINC+08de243eaa-r0.arago16: task do_compile: Started
    NOTE: Running task 4571 of 7440 (/home/muke/tda4_yocto/yocto-build/sources/meta-browser/recipes-browser/chromium/chromium-wayland_53.0.2785.143.bb:do_compile)
    NOTE: recipe chromium-wayland-53.0.2785.143-r0: task do_compile: Started
    ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0.arago16 do_compile: oe_runmake failed
    ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0.arago16 do_compile: Function failed: do_compile (log file is located at /home/muke/tda4_yocto/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0.arago16/temp/log.do_compile.6066)
    ERROR: Logfile of failure stored in: /home/muke/tda4_yocto/yocto-build/build/arago-tmp-external-arm-toolchain/work/aarch64-linux/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0.arago16/temp/log.do_compile.6066
    Log data follows:
    | DEBUG: Executing shell function do_compile

    This is the full print information:2703.yocto_build.log

    I have expanded my swap area:

    muke@ubuntu:~/tda4_yocto/yocto-build/build$ free -h
    total used free shared buff/cache available
    Mem: 3.8G 2.1G 622M 9.9M 1.1G 1.4G
    Swap: 41G 0B 41G

    This is my PATH:

    muke@ubuntu:~/tda4_yocto/yocto-build/build$ $PATH
    -bash: /home/muke/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin:/home/muke/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin:/home/muke/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin::/bin:/usr/bin:/snap/bin: No such file or directory

    Can you help me solve the problem,

    thanks

  • Hi,

    I tried to replicate the build failure and I'm still unable to do so. And, from the available information, I'm unable to determine what the error could be.

    Can I request you to clean and rebuild the qtbase from scratch? 

    Regards

    Karthik

  • Hi:

    I have solved the problem, I must use VPN to download the qtbase  In China.