Compulab CL-SOM-iMX7

Hi Drew,

Thanks for coming back.
First I tried the link, and I am able to build an image from the warrior branch, without Mender. This is, as the developer made it - to confirm at least that it works.

Then, I added

  • meta-mender @ warrior
  • meta-mender-community @ rocko

In u-boot-fw-utils-mender-auto-provided, the trouble maker must be this line:
do_patch[depends] += "${MENDER_PREFERRED_UBOOT}:do_mender_tar_src"

At the file u-boot-compulab_%.bbappend, from the Rocko branch, the first line is:
require recipes-bsp/u-boot/u-boot-mender.inc

That should point to the file where actual do_mender_tar_src is. I looked it up on meta-mender-core and it is there like this:

do_mender_tar_src() {
    cd ${WORKDIR}
    # Zip up all plain files, plus the source directory, but not the rest,
    # because there are a lot of bitbake data directories.
    rm -rf src-tar
    cp -a ${S} src-tar
    tar -cz --exclude-vcs -f ${TMPDIR}/mender-u-boot-src.tar.gz `find -maxdepth 1 -type f` src-tar
}

In the bblayers.conf file, I added the new layers as this to confirm they should be there:
BBLAYERS += " {BSPDIR}/sources/meta-mender/meta-mender-core " BBLAYERS += " {BSPDIR}/sources/meta-mender-community/meta-mender-compulab "

(I created a dummy recipe in the meta-mender-community/meta-mender-compulab layer and I can confirm with bitbake -s that it is there).

So, I went directly to u-boot-compulab_2017.07.bb and added u-boot-mender.inc directly. The error persists.

Am I including it correctly?