Error during do_compile u-boot-toradex-fsl-fw-utils

Hi all,

I’ve started a new project under fsl community BSP (we use poky) with morty branch. Everything was fine until bitbake tries to compile u-boot-toradex-fsl-fw-utils.

ERROR: oe_runmake failed
|   HOSTCC  scripts/basic/fixdep
|   HOSTCC  scripts/kconfig/conf.o
|   SHIPPED scripts/kconfig/zconf.tab.c
|   SHIPPED scripts/kconfig/zconf.lex.c
|   SHIPPED scripts/kconfig/zconf.hash.c
|   HOSTCC  scripts/kconfig/zconf.tab.o
|   HOSTLD  scripts/kconfig/conf
| scripts/kconfig/conf  --silentoldconfig Kconfig
| ***
| *** Configuration file ".config" not found!
| ***
| *** Please run some configurator (e.g. "make oldconfig" or
| *** "make menuconfig" or "make xconfig").
| ***
| make[2]: *** [silentoldconfig] Error 1
| make[1]: *** [silentoldconfig] Error 2
| make: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'.  Stop.

Every layer are set on morty branch. In local.conf file :

MACHINE = 'apalis-imx6'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
USER_CLASSES ?= "buildstats image-mklibs"
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"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
DL_DIR ?= "/home/vincent/fsl-community-bsp/downloads/"
IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev \
autoconf automake ccache chkconfig glib-networking glibmm \
packagegroup-core-buildessential pkgconfig  \
boost cmake zlib glib-2.0 packagegroup-fsl-tools-testapps  \
    cpufrequtils \
    nano \
    gdb \
    openssh-sftp-server \
    imx-vpu \
    imx-test \
    firmware-imx \
    qtbase \
    qtbase-plugins \
    qtbase-tools \
    qtdeclarative \
    qtdeclarative-plugins \
    qtdeclarative-tools \
    qtdeclarative-qmlplugins \
    qtimageformats-plugins \
    qtsystems \
    qtsystems-tools \
    qtsystems-qmlplugins \
    qtgraphicaleffects-qmlplugins \
    qtconnectivity-qmlplugins \
	qtmultimedia \
    qtmultimedia-plugins \
    cairo pango fontconfig freetype pulseaudio dbus \
    i2c-tools \ 
    gstreamer1.0-plugins-imx \
    gst1.0-fsl-plugin \
    gstreamer1.0-plugins-base \
    gstreamer1.0-plugins-good \
    psplash \
    u-boot-toradex-fsl-fw-utils \
    ntfs-3g-ntfsprogs \
"
DISTRO_FEATURES_remove = "x11 wayland directfb vulka "
IMAGE_INSTALL_remove = "eglinfo-x11"
IMAGE_FEATURES += "dev-pkgs"
KERNEL_IMAGETYPE = "uImage"
ACCEPT_FSL_EULA = "1"
IMAGE_FSTYPES += "ext3"
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"
PREFERRED_VERSION_linux-toradex = "3.14.28"
UBOOT_CONFIG = "recover spl"

Compilation of u-boot 2016-11 works fine. What are we missing ?

Regards, Vincent

Hi

Note that meta-toradex-nxp must be listed before meta-freescale in the BBLAYERS variable (conf/bblayers.conf) if you add the meta-toradex-xxx layers to your fsl community BSP setup.

If that does not help could you elaborate some more of what you exactly did?

E.g. by providing conf/bblayers.conf and the beginning of a bitbake run with all the git hashes of the individual layers?

Max

P.S. linux-toradex_3.14.28 is now outdated, I don’t think that there is a recipe for it in the current morty layers.

Hello @max.tx

Thanks for your advice, it works now.

We added manually 3.14.28 to toradex layer. It worked until we list meta-toradex before meta-freescale. Don’t know why. We have a project that works on 3.14.28 and migrate to newer version will be a lot of work (redo patch for instance…) But maybe it worth it.