Yocto iMX7 on Ubuntu 18.04 LTS


The OpenEmbedded Prerequisites (OpenEmbedded (core) - Toradex System/Computer on Modules) for “Ubuntu 16.04 and 18.04 (64-bit)” include “libcrypto++9v5:i386”; however this package no-longer exists in the Ubuntu 18.04 packages.

Researching this package shows that libcrypto++9v5 (from 16.04) appears to be derived from version 5.6.1 of libcrypto++. I was able to find libcrypto++6 in 18.04 which appears to be derived from version 5.6.4 of libcrypto++. It’s a little confusing that libcrypto++6 is slightly newer than libcrypto++9v5.

I tried installing libcrypto++6:i386 and everything appears to build correctly. Could you confirm this should be correct; and perhaps update the instructions on the openembedded prerequisites page if so.

That libcrypto++ stuff anyway would only be required if building BSPs for Tegra based modules. For the Colibri iMX7D it won’t strictly be required so you should be fine.

BTW: My general advice to people wanting to stick to latest versions of things on their development machines but on the other hand are trying to build older stuff on them is using some kind of container abstraction (e.g. lightweight container or docker). That way you may easily match whatever versions were in use back then.

Excellent, thanks for the info.

I’m running the Ubuntu 18.04 LTS in a VirtualBox VM already, but more so it can be archived/distributed. I’m pretty much forced to use the latest LTS versions of the OS for the Yocto build machines because my IT department is extremely strict about security updates and support longevity, even for developer virtual machines.

You are welcome. Let us know if you have any other issues during the bitbake compilation of iMX7 image.

Best regards, Jaski