RT-Linux Kernel for Colibry VF (toradex-linux-rt) in 2.8b6

Hello,

we are trying to compile the toradex-linux-rt after setting up bitbake with

repo init -u http://git.toradex.com/toradex-bsp-platform.git -b Colibri-VF_LXDE-Image_2.8b6.183-20190331 

and

PREFERRED_PROVIDER_virtual/kernel = "linux-toradex-rt".

Compilation fails, because there is no matching rt-patch for the kernel used in Colibri-VF_LXDE-Image_2.8b6.183-20190331, additionally, upstream has moved the rt patches to a new location, so that the .bb does not find them anymore.

We are overriding in a bbappend as follows:

SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \
           https://www.kernel.org/pub/linux/kernel/projects/rt/4.4/older/patch-4.4.105-rt120.patch.xz \
           file://defconfig"

However, compilation fails late with the following error:

Collected errors:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - nothing provides backports-kernel-module-crc-ccitt-4.4.107-rt120-2.8.1+ga126a5e needed by backports-kernel-module-rt2800lib-4.4.107-rt120-2.8.1+ga126a5e-4.14-r0.colibri_vf

Is this backports module necessary? How do we change its import so that we have a greater chance of the build succeeding?

Kind regards,

Alex.

Then just remove backports as e.g. done for Apalis TK1 mainline:

http://git.toradex.com/cgit/meta-toradex-demos.git/tree/recipes-images/images/tdx-extra.inc?h=rocko#n249

After removing the backports in the image.bb we have successfully built the RT kernel.

Thank you for the quick reply.

Kind regards,
Alex

You are welcome. Thanks for your feedback.

Best regards,
Jaski