Menuconfig for imx8mq-var-dart #yocto
I want to use the menu config for the imx8mq-var-dart machine. I have updated the conf/local.conf with imx8mq-var-dart configurations.
MACHINE ??= 'imx8mq-var-dart'
DISTRO ?= 'fsl-imx-wayland'PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" USER_CLASSES ?= "buildstats image-mklibs image-prelink" PATCHRESOLVE = "noop"BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G, 100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K" PACKAGECONFIG_append_pn-qemu- native = " sdl" PACKAGECONFIG_append_pn- nativesdk-qemu = " sdl" CONF_VERSION = "1"
COMPATIBLE_MACHINE_imx8mq-var- dart = "imx8mq-var-dart" PREFERRED_PROVIDER_virtual/ kernel = "linux-yocto"
DL_DIR ?= "${BSPDIR}/downloads/"ACCEPT_FSL_EULA = "1"
EXTRA_IMAGES_FEATURES += "
tools-debug \
eclipse-debug \
read-only-rootfs \
"
IMAGE-INSTALL-append = " \
tcf-agent \
openssh-sft-server \
"
While running the command " bitbake linux-yocto -c menuconfig ", it is throwing error as
ERROR: Nothing PROVIDES 'linux-yocto'
linux-yocto was skipped: incompatible with machine imx8mq-var-dart (not in COMPATIBLE_MACHINE) linux-yocto was skipped: incompatible with machine imx8mq-var-dart (not in COMPATIBLE_MACHINE) linux-yocto was skipped: incompatible with machine imx8mq-var-dart (not in COMPATIBLE_MACHINE)
How can i work with menuconfig for imx8mq-var-dart?
Hello,
I’m new to Yocto to, so take my advice with care. You should use “bitbake linux-variscite -c menuconfig”, and I think the following line in the conf/local.conf should be deleted:
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
Take a look in these files:meta-variscite-imx/conf/machine/imx8mm-var-dart.conf 18:PREFERRED_PROVIDER_virtual/kernel_imx8mm-var-dart ?= "linux-variscite"
meta-variscite-imx/conf/machine/imx8mq-var-dart.conf 18:PREFERRED_PROVIDER_virtual/kernel_imx8mq-var-dart ?= "linux-variscite"
As far as I know, the kernel recipe “linux-yocto” gets overrided by these Machine configuration files.
Best regards,
Christian Lohr
Im Auftrag von:
Carl Zeiss Meditec AG
Göschwitzer Strasse 51-52
07745 Jena, Deutschland [email protected]<mailto:[email protected]>
Von: [email protected] <[email protected]> Im Auftrag von Amrun Nisha.R
Gesendet: Mittwoch, 11. März 2020 07:22
An: [email protected]
Betreff: [yocto] Menuconfig for imx8mq-var-dart #yocto
I want to use the menu config for the imx8mq-var-dart machine. I have updated the conf/local.conf with imx8mq-var-dart configurations.
MACHINE ??= 'imx8mq-var-dart'
DISTRO ?= 'fsl-imx-wayland'PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" USER_CLASSES ?= "buildstats image-mklibs image-prelink" PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"CONF_VERSION = "1"
COMPATIBLE_MACHINE_imx8mq-var-dart = "imx8mq-var-dart" PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
DL_DIR ?= "${BSPDIR}/downloads/"ACCEPT_FSL_EULA = "1"
EXTRA_IMAGES_FEATURES += "
tools-debug \
eclipse-debug \
read-only-rootfs \
"
IMAGE-INSTALL-append = " \
tcf-agent \
openssh-sft-server \
"
While running the command "bitbake linux-yocto -c menuconfig", it is throwing error as
ERROR: Nothing PROVIDES 'linux-yocto'
linux-yocto was skipped: incompatible with machine imx8mq-var-dart (not in COMPATIBLE_MACHINE) linux-yocto was skipped: incompatible with machine imx8mq-var-dart (not in COMPATIBLE_MACHINE) linux-yocto was skipped: incompatible with machine imx8mq-var-dart (not in COMPATIBLE_MACHINE) How can i work with menuconfig for imx8mq-var-dart?
Thanks Lohr,
The commands that you sent were only for linux kernel, whether that will work for rootfs also?