I am currently working on a device with Processor NXP i.MX 8M Mini/Nano.
I am trying to integrate multilib support in the image "core-image-base". My local.conf :
CONF_VERSION = "1"
MACHINE = "tx8m-1610"
ACCEPT_FSL_EULA = "1"
# Build configurations
DL_DIR ?= "${YOCTO_CACHE}/source-cache"
SSTATE_DIR ?= "${YOCTO_CACHE}/sstate-cache"
TMPDIR = "${TOPDIR}/tmp"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
OE_TERMINAL = "xfce"
INHERIT += "rm_work"
PATCHRESOLVE = "noop"
# DISTRO_FEATURES_append = "x11"
DISTRO_FEATURES_remove = "ptest"
#
# Image configurations
#
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES = "allow-empty-password post-install-logging debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
DISTRO_FEATURES_append = " systemd virtualization"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
# IMAGE_CLASSES += " wic"
# IMAGE_CLASSES_remove = "image_types_uboot xilinx-bootbin"
IMAGE_FSTYPES = "tar.bz2 ext4 wic.gz"
WKS_FILE = " tx8m-1610.wks"
IMAGE_ROOTFS_SIZE = "1048576"
# IMAGE_ROOTFS_MAXSIZE = "1048576"
DEFAULT_TIMEZONE = "Europe/Berlin"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7athf-neon"
# # Add the multilib packages to the image
# IMAGE_INSTALL_append = " lib32-glibc lib32-libgcc lib32-libstdc++"
But I get the following error:
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-binutils'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-binutils
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
ERROR: Nothing PROVIDES 'virtual/arm-pokymllib32-linux-gnueabi-gcc'. Close matches:
virtual/lib32-arm-pokymllib32-linux-gnueabi-g++
virtual/lib32-arm-pokymllib32-linux-gnueabi-gcc
virtual/lib32-arm-pokymllib32-linux-gnueabi-go-runtime
NOTE: preferred version 6.4.3.p1.2 of kernel-module-imx-gpu-viv not available (for item kernel-module-imx-gpu-viv-dev)
NOTE: versions of kernel-module-imx-gpu-viv available: 6.4.0.p2.4 6.4.0.p2.4+fslc+gitAUTOINC+f2e8483fbd
ERROR: Nothing RPROVIDES 'lib32-mfgtool-image-zimage' (but virtual:multilib:lib32:/home/aamatya/weblog/os/build/tx8m/../../meta-freescale/recipes-kernel/linux/linux-imx-mfgtool_5.4.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'lib32-mfgtool-image-zimage'
How could this be possibly resolved? I do not get the error while building core-image-minimal.
Hello amodamatya,
You have to rename the "
lib32-mfgtool-image-zimage
"
Since its building for the mfgtool. or where is this building? I guess its for kernel but you have to add it.
Regards
I did not understand by renaming the "
lib32-mfgtool-image-zimage
"
"linux-mfgtool.inc" file contains:
# Produces a Manufacturing Tool compatible Linux Kernel## Copyright (C) 2014, 2015, 2018 O.S. Systems Software LTDA.PROVIDES = "linux-mfgtool"KERNEL_PACKAGE_NAME = "mfgtool"