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.

AM6548: How to build the qt toolchain sdk for am65x???

Part Number: AM6548

Dear TI

I have finished the yocto sdk building using the following command,and get a arago-tmp-external-arm-glibc directory

MACHINE=am65xx-evm ARAGO_RT_ENABLE=1 bitbake arago-core-psdkla-bundle


There is only general toolchain sdk in "/deploy/sdk" directory, I need the qt toolchain sdk for cross compile the qt application

I use following command for build qt sdk,but get error message
MACHINE=am65xx-evm bitbake meta-toolchain-qt5

How to build the qt toolchain sdk for am65x???


-------------------------log----------------------

root@osboxes:/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build# MACHINE=am65xx-evm bitbake meta-toolchain-qt5
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.
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.
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.
NOTE: Started PRServer with DBfile: /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45477, PID: 18616
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.
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.
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.
Loading cache: 100% |############################################| Time: 0:00:03
Loaded 12282 entries from dependency cache.
WARNING: No recipes available for:
/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/sources/meta-arago/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
Removing 2 recipes from the am65xx_evm sysroot: 100% |###########| Time: 0:00:22
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-linux"
MACHINE = "am65xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2020.09"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-arago-distro
meta-arago-extras = "HEAD:de1a01088d09969462bd8eb262078c4290074aa6"
meta-qt5 = "HEAD:0d8eb956015acdea7e77cd6672d08dce18061510"
meta-virtualization = "HEAD:ff997b6b3ba800978546098ab3cdaa113b6695e1"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:2a5c534d2b9f01e9c0f39701fccd7fc874945b1c"
meta-ti = "HEAD:07209f738f14c98e84874573c98a948ba894ecf3"
meta-arm
meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta = "HEAD:4f395ad49ef9035954d0fda7b7df14dea18b49a0"
meta-psdkla = "HEAD:f98f6409bd79f26969be064e8cc70d350b51ab7f"
meta-aws = "HEAD:960306c6472ac7fadb9f02af2a045f34cde46f8d"


Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am65xx-evm-k3r5"
DISTRO = "arago"
DISTRO_VERSION = "2020.09"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-arago-distro
meta-arago-extras = "HEAD:de1a01088d09969462bd8eb262078c4290074aa6"
meta-qt5 = "HEAD:0d8eb956015acdea7e77cd6672d08dce18061510"
meta-virtualization = "HEAD:ff997b6b3ba800978546098ab3cdaa113b6695e1"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:2a5c534d2b9f01e9c0f39701fccd7fc874945b1c"
meta-ti = "HEAD:07209f738f14c98e84874573c98a948ba894ecf3"
meta-arm
meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta = "HEAD:4f395ad49ef9035954d0fda7b7df14dea18b49a0"
meta-psdkla = "HEAD:f98f6409bd79f26969be064e8cc70d350b51ab7f"
meta-aws = "HEAD:960306c6472ac7fadb9f02af2a045f34cde46f8d"


Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am65xx-evm-k3r5-sr2"
DISTRO = "arago"
DISTRO_VERSION = "2020.09"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-arago-distro
meta-arago-extras = "HEAD:de1a01088d09969462bd8eb262078c4290074aa6"
meta-qt5 = "HEAD:0d8eb956015acdea7e77cd6672d08dce18061510"
meta-virtualization = "HEAD:ff997b6b3ba800978546098ab3cdaa113b6695e1"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:2a5c534d2b9f01e9c0f39701fccd7fc874945b1c"
meta-ti = "HEAD:07209f738f14c98e84874573c98a948ba894ecf3"
meta-arm
meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta = "HEAD:4f395ad49ef9035954d0fda7b7df14dea18b49a0"
meta-psdkla = "HEAD:f98f6409bd79f26969be064e8cc70d350b51ab7f"
meta-aws = "HEAD:960306c6472ac7fadb9f02af2a045f34cde46f8d"

Initialising tasks: 100% |#######################################| Time: 0:00:04
Sstate summary: Wanted 21 Found 20 Missed 1 Current 1653 (95% match, 99% complete)
NOTE: Executing Tasks
ERROR: meta-toolchain-qt5-1.0-r0 do_populate_sdk: Unable to install packages. Command '/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/opkg.conf -t /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/temp/ipktemp/ -o /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/sdk/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/aarch64-linux --force_postinstall install packagegroup-core-standalone-sdk-target packagegroup-qt5-toolchain-target target-sdk-provides-dummy' returned 2:
Collected errors:
* Solver encountered 2 problem(s):
* Problem 1/2:
* - nothing provides libatomic-dev needed by packagegroup-core-standalone-sdk-target-1.0-r8.0.aarch64
*
* Solution 1:
* - do not ask to install a package providing packagegroup-core-standalone-sdk-target

* Problem 2/2:
* - nothing provides libatomic-dev needed by packagegroup-core-standalone-sdk-target-1.0-r8.0.aarch64
*
* Solution 1:
* - do not ask to install a package providing packagegroup-qt5-toolchain-target

* opkg_finalize_intercepts: Failed to open dir /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/temp/ipktemp//opkg-xq67O5/opkg-intercept-Ik8l23: No such file or directory.
* rm_r: Failed to open dir /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/temp/ipktemp//opkg-xq67O5/opkg-intercept-Ik8l23: No such file or directory.
* rm_r: Failed to open dir /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/temp/ipktemp//opkg-xq67O5: No such file or directory.

ERROR: Logfile of failure stored in: /home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build/arago-tmp-external-arm-glibc/work/aarch64-linux/meta-toolchain-qt5/1.0-r0/temp/log.do_populate_sdk.19235
ERROR: Task (/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/sources/meta-qt5/recipes-qt/meta/meta-toolchain-qt5.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4853 tasks of which 4763 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

Summary: 1 task failed:
/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/sources/meta-qt5/recipes-qt/meta/meta-toolchain-qt5.bb:do_populate_sdk
Summary: There were 7 WARNING messages shown.
root@osboxes:/home/ti-processor-sdk-linux-rt-am65xx-evm-07_01_00_18/yocto-build/build#

  • Hello,

    You can also try following steps to get qmake.

    Follow the guide here:

    https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Building_the_SDK.html

    After following initial step, for SDK build, use meta-toolchain-arago-tisdk target instead of arago-base-tisdk-image.
    Your build command should be:
    MACHINE=am65xx-evm bitbake meta-toolchain-arago-tisdk.
    After successful build, follow these steps:
    cd arago-tmp-external-arm-glibc/deploy/sdk/
    chmod a+x arago-<toolchain>-tisdk.sh
    ./arago-<toolchain>-tisdk.sh
    <toolchain> is the toolchain config used for the build. There should be only one of these.
    This should install the sysroot in the directory that you entered when prompted. This sysroot should contain qmake.
    Hope this helps.
    Regards
    Hemant