AnsweredAssumed Answered

iMX8mminievk sdcard build problem

Question asked by srikanth shapur sridhar murthy on Mar 4, 2020
Latest reply on Mar 4, 2020 by Yuri Muhin

Hi,

 

I am having build issue while building sdcard image for imx8mmini evk. How can I solve this issue?

 

Thanks,

Srikanth

 

Parsing recipes: 100% |#############################################################################################################################################################################################################################################| Time: 0:05:19
Parsing of 2683 .bb files complete (0 cached, 2683 parsed). 3604 targets, 235 skipped, 7 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:64a257fa22126c4a40ff7e03424a404e360ebe1e"
meta-oe
meta-multimedia = "HEAD:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-freescale = "HEAD:407c6cf408969445031a492e2d25e0e2749582ea"
meta-freescale-3rdparty = "HEAD:88a29631809d1af0df618245430db29f2a7012b5"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk = "HEAD:52ac01eee49b9f2f3ffec4c4037b7928d968115b"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"
meta-cloud-services = "HEAD:9aa6b5dcbacf734a93602515f0b1857b91c1d408"
meta-virtualization = "HEAD:ed2038c935777d1336c17989d454f4e9c95fea7f"
meta-edgescale = "master:944c8bc5a9a8f935adfe10e3b9d681c54b1179be"
meta-imx-machinelearning = "<unknown>:<unknown>"

Initialising tasks: 100% |##########################################################################################################################################################################################################################################| Time: 0:00:12
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-weston-1.0-r0 do_image_sdcard: Function failed: do_image_sdcard (log file is located at /home/sss/fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8mmevk-poky-linux/core-image-weston/1.0-r0/temp/log.do_image_sdcard.49730)
ERROR: Logfile of failure stored in: /home/sss/fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8mmevk-poky-linux/core-image-weston/1.0-r0/temp/log.do_image_sdcard.49730
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 3992216.800000 = 3070936 * 1.300000
| DEBUG: 9142616.800000 = max(3992216.800000, 65536)[3992216.800000] + 1
| DEBUG: 9142617.000000 = int(9142616.800000)
| DEBUG: 9150464 = aligned(9142617)
| DEBUG: returning 9150464
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/firmware-imx/firmware-imx_8.0.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2p.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-kernel/dtc/dtc_1.4.5.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-extended/parted/parted_3.2.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-security/optee-imx/optee-os-imx_git.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/rpm/rpm_4.14.1.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-devtools/python/python-pycrypto_2.6.1.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-native_2.7.15.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/dnf/dnf_2.7.5.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-support/lzop/lzop_1.03.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/opkg/opkg_0.3.6.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.14.78.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-extended/bc/bc_1.06.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.30.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2018.03.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.6.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/python/python_2.7.15.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.15.1.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2018.01.bb:do_populate_sysroot', '/home/sss/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-atf/imx-atf_1.5.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['e2fsprogs-native', 'firmware-imx', 'libtool-cross', 'openssl-native', 'dtc-native', 'gcc-runtime', 'pigz-native', 'parted-native', 'pseudo-native', 'swig-native', 'optee-os-imx', 'rpm-native', 'qemuwrapper-cross', 'python-pycrypto-native', 'python-native', 'autoconf-native', 'dnf-native', 'pbzip2-native', 'kmod-native', 'pkgconfig-native', 'libtool-native', 'createrepo-c-native', 'lzop-native', 'opkg-native', 'mklibs-native', 'mtools-native', 'dosfstools-native', 'gcc-cross-aarch64', 'linux-imx', 'bc-native', 'ldconfig-native', 'prelink-native', 'makedevs-native', 'gnu-config-native', 'zlib-native', 'binutils-cross-aarch64', 'u-boot-imx', 'opkg-utils-native', 'bison-native', 'depmodwrapper-cross', 'python', 'update-rc.d-native', 'glibc', 'automake-native', 'quilt-native', 'u-boot-mkimage-native', 'imx-atf', 'debianutils-native', 'attr-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'util-linux-native', 'systemd-systemctl-native', 'flex-native', 'shadow-native', 'linux-libc-headers', 'libgcc', 'gtk-icon-utils-native', 'gdk-pixbuf-native', 'qemu-native', 'ncurses-native', 'readline-native', 'xz-native', 'libpcre-native', 'python3-native', 'nss-native', 'libarchive-native', 'db-native', 'bzip2-native', 'popt-native', 'file-native', 'elfutils-native', 'dbus-native', 'gmp-native', 'sqlite3-native', 'expat-native', 'gdbm-native', 'm4-native', 'libcomps-native', 'ninja-native', 'librepo-native', 'cmake-native', 'libdnf-native', 'python3-iniparse-native', 'gtk-doc-native', 'glib-2.0-native', 'libxml2-native', 'curl-native', 'lzo-native', 'libsolv-native', 'libmpc-native', 'mpfr-native', 'mkfontscale-native', 'mkfontdir-native', 'binutils-native', 'db', 'ncurses', 'sqlite3', 'readline', 'zlib', 'gdbm', 'libffi', 'bzip2', 'openssl', 'librsvg-native', 'libjpeg-turbo-native', 'libpng-native', 'shared-mime-info-native', 'gobject-introspection-native', 'libsdl-native', 'alsa-lib-native', 'pixman-native', 'nspr-native', 'autoconf-archive-native', 'libcheck-native', 're2c-native', 'gpgme-native', 'python3-six-native', 'libffi-native', 'libfontenc-native', 'util-macros-native', 'freetype-native', 'xproto-native', 'libx11-native', 'opkg-utils', 'cryptodev-linux', 'cairo-native', 'pango-native', 'libcroco-native', 'intltool-native', 'libxrandr-native', 'libxrender-native', 'libxext-native', 'libassuan-native', 'libgpg-error-native', 'python3-setuptools-native', 'font-util-native', 'inputproto-native', 'xextproto-native', 'xtrans-native', 'libxcb-native', 'kbproto-native', 'libsm-native', 'fontconfig-native', 'harfbuzz-native', 'libxft-native', 'gettext-native', 'libxml-parser-perl-native', 'randrproto-native', 'renderproto-native', 'unzip-native', 'libxdmcp-native', 'libpthread-stubs-native', 'xcb-proto-native', 'libxau-native', 'libice-native', 'gperf-native', 'icu-native', 'perl-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_sdcard
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.000275928 s, 0.0 kB/s
| Model: (file)
| Disk /home/sss/fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8mmevk-poky-linux/core-image-weston/1.0-r0/deploy-core-image-weston-image-complete/core-image-weston-imx8mmevk-20200304203732.rootfs.sdcard: 9454MB
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
|
| Number Start End Size Type File system Flags
| 1 8389kB 75.5MB 67.1MB primary lba
| 2 75.5MB 9446MB 9370MB primary
|
| dd: failed to open '/home/sss/fsl-arm-yocto-bsp/bld-xwayland/tmp/deploy/images/imx8mmevk/imx-boot-imx8mmevk-sd.bin': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_sdcard (log file is located at /home/sss/fsl-arm-yocto-bsp/bld-xwayland/tmp/work/imx8mmevk-poky-linux/core-image-weston/1.0-r0/temp/log.do_image_sdcard.49730)
ERROR: Task (/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-graphics/images/core-image-weston.bb:do_image_sdcard) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6234 tasks of which 6229 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/sss/fsl-arm-yocto-bsp/sources/poky/meta/recipes-graphics/images/core-image-weston.bb:do_image_sdcard
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Outcomes