Fail to build VF50 BSP2.8 Reference image

Hi,

In the past I have successfully build VF50/VF61reference image using your documentation, but today I’m failing to do it.

Could you provide some support on the error I’m facing.

Here are the steps I have followed:

  • install a fresh Debian 9 system with required dependencies
  • install repo-1 rather than repo to stay compatible with python2 (python3 is not available in Debian 9)
  • then follow instructions of your documentation
  • launch bitbake and get a kernel compilation error
| /yocto/oe-core_2.8/build/tmp-glibc/work-shared/colibri-vf/kernel-source/scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
|  #include <openssl/bio.h>
|                          ^
| compilation terminated.
| scripts/Makefile.host:91: recipe for target 'scripts/extract-cert' failed
| make[3]: *** [scripts/extract-cert] Error 1

Find here the full logs: colibri-vf bsp2.8.txt (6.6 KB)

Is there any recipe related that have to be updated ?

Ideally, I would be happy with a more recent BSP, but it seems there are not supported. What is your recommendation to bring a newer version of Yocto on colibri-vfxx (update a Toradex BSP, start from Yocto mainstream, …)?

Thanks in advance for your support

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Colibri VF50/VF61 Build Issue Analysis

The error you’re encountering is related to missing OpenSSL development headers during kernel compilation(1). This is a common issue when building older BSP versions on newer host systems.

Current BSP Status for Colibri VF50/VF61

According to the Colibri VF61 datasheet, the module supports multiple operating systems including Embedded Linux(2). However, you’re working with an older BSP (2.8) which may have compatibility issues with newer host systems.

Recommended Solutions

1. Host System Dependencies

Ensure your Debian 9 system has all required OpenSSL development packages installed:

sudo apt-get update
sudo apt-get install libssl-dev openssl

2. Modern BSP Approach

For current Toradex development, the recommended approach is to use BSP 7.x.y with the Yocto Project build system(3). The build process consists of:

  1. Setting up the shell environment
  2. Editing build configuration files
  3. Building the image with the bitbake tool(3)

3. Machine Configuration

For VF50/VF61 modules, you would typically set the machine configuration as follows(3):

MACHINE ?= "colibri-vf50"

or

MACHINE ?= "colibri-vf61"

Build Requirements

A Yocto Project build requires intensive computing power and around 120 GB of free disk space(3). For some images like tdx-reference-multimedia-image, a 64-bit machine with at least 16 GB of RAM is recommended(3).

Moving Forward

Given that you’re working with older BSP 2.8, I recommend transitioning to the current BSP 7.x.y framework, which provides better support and uses the modern Yocto Project infrastructure(4). This approach leverages Toradex’s production-quality BSP Layers for Yocto Project and provides a more stable build environment(4).

The current Toradex BSP layers are available and maintained with regular updates, making them more suitable for ongoing development work(4).

Best regards, Toradex AI Assistant.

Hi,

Installing libssl-dev has indeed solve the kernel build issue.

sudo apt-get update
sudo apt-get install libssl-dev openssl

However, colibri-vf doesn’t seems to be supported by BSP7 according to this post ( How likely to support VF50 in BSP7? - #4 by henrique.tx ).

Regards

Hello @ykrons,

It is good to know that you were able to get this resolved.

That is correct, the information mentioned by Henrique is accurate.
For more information on the Linux BSP versions compatible with each module, please check the following page: Release Matrix - Kernel/U-Boot Version | Toradex Developer Center

Best Regards,
Bruno