OpenEmbedded: No deployable tarball after building image

I followed the instructions on the OpenEmbedded (core) page for the Colibri iMX6DL but I don’t see where a deployable tarball was recreated.

I also followed the video to see if I did something wrong, but I can’t see what I might have done.

I’m using Ubuntu 14.04 64-bit.

Here are the instructions I used. As you can see, I didn’t do anything special.

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install g++-4.8-multilib
sudo apt-get install chrpath curl dosfstools gawk g++-multilib gcc-multilib lib32z1-dev libcrypto++9:i386 libcrypto++-dev:i386 liblzo2-dev:i386 libsdl1.2-dev libstdc++-4.8-dev:i386 libusb-1.0-0:i386 libusb-1.0-0-dev:i386 texinfo uuid-dev:i386
cd /usr/lib; sudo ln -s libcrypto++.so.9.0.0 libcryptopp.so.6

mkdir yocto
cd yocto

repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.7
repo init -u http://git.toradex.com/toradex-bsp-platform.git -b refs/tags/Colibri_iMX6_LinuxImageV2.7Beta1_20170112
repo sync

. export

vim conf/local.conf

// Edited for imx6
#MACHINE ?= "apalis-imx6"
#MACHINE ?= "apalis-t30"
#MACHINE ?= "apalis-tk1"
#
MACHINE ?= "colibri-imx6"
#MACHINE ?= "colibri-imx7"
#MACHINE ?= "colibri-t20"
#MACHINE ?= "colibri-t30"
#MACHINE ?= "colibri-vf"

// Added following line
ACCEPT_FSL_EULA = "1"

bitbake -k angstrom-lxde-image

Output

| make: *** [all] Error 2
| ERROR: Function failed: do_compile (log file is located at /home/chemtrac/yocto/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/lxterminal/git-r0/temp/log.do_compile.23127)
ERROR: Task (/home/chemtrac/yocto/build/../layers/meta-lxde/recipes-lxde/lxterminal/lxterminal_git.bb:do_compile) failed with exit code '1'
WARNING: tinymembench-0.4.0+gitAUTOINC+2c78984970-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-angstrom-linux-gnueabi/tinymembench/0.4.0+gitAUTOINC+2c78984970-r0/packages-split/tinymembench/usr/bin/tinymembench' [ldflags]
WARNING: firefox-38.8.0esr-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libnss3.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libsoftokn3.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libssl3.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libsmime3.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libnssckbi.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libnssutil3.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libnssdbm3.so'
No GNU_HASH in the elf binary: '/home/chemtrac/yocto/build/tmp-glibc/work/armv7ahf-neon-mx6qdl-angstrom-linux-gnueabi/firefox/38.8.0esr-r0/packages-split/firefox/usr/lib/firefox/libfreebl3.so' [ldflags]
NOTE: Tasks Summary: Attempted 7181 tasks of which 15 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/chemtrac/yocto/build/../layers/meta-lxde/recipes-lxde/lxterminal/lxterminal_git.bb:do_compile
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I thought the tarball would be created and found under /deploy/images/colibri-imx6 but I don’t see it. Here’s what I see after tree -L 3.

├── marketing.tar
├── modules--4.1-2.0.x-r0-colibri-imx6-20170317153906.tgz
├── modules-colibri-imx6.tgz -> modules--4.1-2.0.x-r0-colibri-imx6-20170317153906.tgz
├── prepare.sh
├── README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
├── SPL -> SPL-colibri-imx6-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0
├── SPL-colibri-imx6-spl -> SPL-colibri-imx6-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0
├── SPL-colibri-imx6-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0
├── SPL-spl -> SPL-colibri-imx6-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0
├── toradexlinux.png
├── u-boot-colibri-imx6.imx -> u-boot-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot-colibri-imx6.imx-recover -> u-boot-recover-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot-colibri-imx6.imx-spl -> u-boot-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot.imx -> u-boot-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot.imx-recover -> u-boot-recover-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot.imx-spl -> u-boot-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot-recover-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── u-boot-spl-v2016.11-v2.7b1+gitAUTOINC+22e68cbd1f-r0.imx
├── uImage -> uImage--4.1-2.0.x-r0-colibri-imx6-20170317153906.bin
├── uImage--4.1-2.0.x-r0-colibri-imx6-20170317153906.bin
├── uImage--4.1-2.0.x-r0-imx6dl-colibri-cam-eval-v3-20170317153906.dtb
├── uImage--4.1-2.0.x-r0-imx6dl-colibri-eval-v3-20170317153906.dtb
├── uImage-colibri-imx6.bin -> uImage--4.1-2.0.x-r0-colibri-imx6-20170317153906.bin
├── uImage-imx6dl-colibri-cam-eval-v3.dtb -> uImage--4.1-2.0.x-r0-imx6dl-colibri-cam-eval-v3-20170317153906.dtb
├── uImage-imx6dl-colibri-eval-v3.dtb -> uImage--4.1-2.0.x-r0-imx6dl-colibri-eval-v3-20170317153906.dtb
└── wrapup.sh

Hopefully I’m just being stupid. What do you think?

Thanks in advance.

Scott B

The image was not deployed because the build failed with 2 errors. It looks like you experienced an error for which we’ve created a fix.

When you do the repo init, if you simply use the head of the LinuxImageV2.7 branch, i.e.:
repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.7
rather than specifying the tag of last image release, you should get the fix that was committed for this error.

Hi Brandon,

Thanks. I will try and see how it works for me.

Scott B