AnsweredAssumed Answered

What local.config was used to build the provided image?

Question asked by Vincent Hindriksen on Feb 18, 2019
Latest reply on Feb 21, 2019 by Joan Xie

We have a i.MX 8 QuadMax MEK, and I'm trying to build the default image + package-management (rpm) + git + sudo. Problem is that I cannot even build a correct image that boots.


This is what I currently have:

# generated by
MACHINE ??= 'imx8qxpmek'
DISTRO ?= 'fsl-imx-xwayland'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"


# some extra packages
EXTRA_IMAGE_FEATURES += " package-management"
CORE_IMAGE_EXTRA_INSTALL += " rpm git sudo"

PACKAGE_FEED_URIS = "http://build-server.local:8000/repo/"
PACKAGE_FEED_ARCHS = "aarch64 aarch64_mx8 imx8qxpmek noarch"

# big machine with 32 cores.


# there was a parsing error when using "inherit extrausers", which was mentioned in various documents.
INHERIT += " extrausers"

# make sure ssh is not a problem by defining a non-empty password.
EXTRA_USERS_PARAMS = "usermod -P root root;"

DL_DIR ?= "${BSPDIR}/downloads/"


These are the steps I did:

git config --global "XXX"

git config --global ""

repo init -u -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml

repo sync

DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source -b build-xwayland

bitbake fsl-image-qt5-validation-imx

There is one warning about a preferred package, no error.


The file ./imx-yocto-bsp/build-xwayland/tmp/deploy/images/imx8qxpmek/fsl-image-qt5-validation-imx-imx8qxpmek.sdcard.bz2 was then dd'ed to an sd-card of 16GB.

When booting with the provided image, two led-lights close to reset-button turn on continuously. When booting up, one led is flashing and the other one remains off - also the led next to the network-cable flashes. There is 0 output on the terminal. HDMI we did not get working with the provided image either, which is a separate problem.


All the above is gathered from various sources. Most from


Question 1: what is the local.conf that is used for building the provided image?

Question 2: given that image, is there something I did wrong?