Hi @Chavira ,
I have tried the followed scenarios:
One scenario:
what ever I have given the above error that I compiled the package by directly downloading the gputop package from this https://github.com/nxp-imx/imx-gputop/tree/release and compiled in the virtual box having os
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
second scenario:
I have used the .bb file in this project and I have downloaded the code but not able to get any executable
# bb-example .bb build file
# place this in your meta- layer folder under
# recipes/bb-example/bb-example.bb
DESCRIPTION = "bb-example code"
LICENSE = "MIT"
S = "${WORKDIR}/git"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE.txt;md5=bcacc6777a7173f8b95b5d1e0ac341ae"
BRANCH = "release"
SRC_URI = "git://github.com/nxp-imx/imx-gputop;protocol=https;branch=${BRANCH}"
SRCREV="${AUTOREV}"
CXXFLAGS += " -g -std=c++11"
EXTRA_OECMAKE += "-DSYSROOT_STAGING:PATH=${STAGING_DIR_TARGET}"
Third scenario:
I have included the IMAGE_INSTALL_append_debug = " imx-test gputop" in the device/flypcb/img/bui3xx-image.bb but not able to download any package and not able to compile imx-test related things.
/make.sh
Target image is bui3xx-all-images
Connection to artifactory can not be established. May use offline material if available.
Starting time measure
Building in /work/repo/smart/out/flypcb
Cleaning image files
WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
Loading cache: 100% |###########################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 3903 entries from dependency cache.
NOTE: /work/repo/smart/out/flypcb/../../device/flypcb/img/bui3xx-image.bb: Parsing config file /work/repo/smart/device/flypcb/flash/conf/fly.json############################################################################ | ETA: 0:00:00
NOTE: /work/repo/smart/out/flypcb/../../device/flypcb/img/bui3xx-image.bb: Found size 1048576 kbyte for bui3xx-image
NOTE: /work/repo/smart/out/flypcb/../../device/flypcb/img/bui3xx-image-remote-sysroot.bb: Parsing config file /work/repo/smart/device/flypcb/flash/conf/fly.json###################################################################### | ETA: 0:00:00
NOTE: /work/repo/smart/out/flypcb/../../device/flypcb/img/bui3xx-image-remote-sysroot.bb: Found size 1048576 kbyte for bui3xx-image
Parsing recipes: 100% |#########################################################################################################################################################################################################################################| Time: 0:00:05
Parsing of 2944 .bb files complete (2735 cached, 209 parsed). 4110 targets, 490 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'imx-test' (but /work/repo/smart/out/flypcb/../../device/flypcb/img/bui3xx-image.bb RDEPENDS on or otherwise requires it)
imx-test was skipped: incompatible with machine fly (not in COMPATIBLE_MACHINE)
imx-test was skipped: incompatible with machine fly (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'imx-test' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['imx-test']
ERROR: Required build target 'bui3xx-all-images' has no buildable providers.
Missing or unbuildable dependency chain was: ['bui3xx-all-images', 'bui3xx-image', 'imx-test']
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
--> running: bitbake bui3xx-all-images
WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
Loading cache: 100% |###########################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 3903 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################################################################################################################################| Time: 0:00:05
Parsing of 2944 .bb files complete (2737 cached, 207 parsed). 4110 targets, 490 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'imx-test' (but /work/repo/smart/out/flypcb/../../device/flypcb/img/bui3xx-image.bb RDEPENDS on or otherwise requires it)
imx-test was skipped: incompatible with machine fly (not in COMPATIBLE_MACHINE)
imx-test was skipped: incompatible with machine fly (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'imx-test' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['imx-test']
ERROR: Required build target 'bui3xx-all-images' has no buildable providers.
Missing or unbuildable dependency chain was: ['bui3xx-all-images', 'bui3xx-image', 'imx-test']
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Build operation took 19 s
Exiting with 1
@Chavira could you please help what should I do?
My board details:
Operating System: Poky (Yocto Project Reference Distro) 2.7.1 (warrior)
Kernel: Linux 4.14.98
I am using armel architecture please provide the tool chain as well( I am new to this field could you please help on this by explaining clearly
These steps also confusing me:
This assumes that the library is already installed in your toolchain, otherwise proceed to ``Specifing libgpuperfcnt include and library path'' section.
Source your toolchain:$ . /path/to/your/toolchain/environment
Build:$ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/OEToolchainConfig.cmake ..
Install:$ make install