AnsweredAssumed Answered

imx8qx SDK

Question asked by jose hernandez on May 6, 2020
Latest reply on May 9, 2020 by jimmychan

Hi.

I built an image for iMX8QXPMEK machine. I'm tryng to add SDK but I'm having the following errors:

also I tried bitbake core-image-minimal -c populate_sdk, but got the same errors.

I'm working on Ubuntu 18.04.

 

 

~/imx-yocto-bsp/build-wayland$ bitbake imx-image-core -c populate_sdk
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 4067 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpmek"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:0275e68b0576cdefc19718e4b1977044f9f43f48"
meta-oe
meta-multimedia
meta-python = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-freescale = "HEAD:0be39721cea6e04c589a419f4bb07fabd0da6704"
meta-freescale-3rdparty = "HEAD:aea3771baa77e74762358ceb673d407e36637e5f"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml = "HEAD:435f5e984856a943986491fddd061734a0b9eba5"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:5cda04c7c2158fc982502ca1e7893f71e4ca1729"
meta-gnome
meta-networking
meta-filesystems = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-qt5 = "HEAD:432ad2aa6c3a13253fefc909faba368851d21fb1"

Initialising tasks: 100% |#######################################| Time: 0:00:02
Sstate summary: Wanted 5 Found 0 Missed 5 Current 1397 (0% match, 99% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: nativesdk-qemu-4.1.0-r0 do_compile: oe_runmake failed
ERROR: nativesdk-qemu-4.1.0-r0 do_compile: Execution of '/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/temp/run.do_compile.3036' failed with exit code 1:
make[1]: Entering directory '/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/slirp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/slirp'
CC mipsel-softmmu/arch_init.o
/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/arch_init.c:90:28: error: 'QEMU_ARCH' undeclared here (not in a function); did you mean 'QEMU_RCU_H'?
90 | const uint32_t arch_type = QEMU_ARCH;
| ^~~~~~~~~
| QEMU_RCU_H
/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/arch_init.c: In function 'qmp_query_target':
/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/arch_init.c:115:56: error: 'TARGET_NAME' undeclared (first use in this function)
115 | info->arch = qapi_enum_parse(&SysEmuTarget_lookup, TARGET_NAME, -1,
| ^~~~~~~~~~~
/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/arch_init.c:115:56: note: each undeclared identifier is reported only once for each function it appears in
/home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/qemu-4.1.0/rules.mak:69: recipe for target 'arch_init.o' failed
make[1]: *** [arch_init.o] Error 1
Makefile:472: recipe for target 'mipsel-softmmu/all' failed
make: *** [mipsel-softmmu/all] Error 2
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/jose/imx-yocto-bsp/build-wayland/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/4.1.0-r0/temp/log.do_compile.3036

Outcomes