Get Kernelsources from Kernel version

Hello,

unfortunately I lost the kernel sources for a specific kernel I am using (4.14.159-rt70-3.0.3+gfff496c).
Is there any possibility to get the kernel sources for this kernel in particular from your git?
I do not have any build date.

Thank you in advance!

best regards,

f.schmitt

Hi @f.schmitt

Sorry, but this is not directly possible.

4.14.159-rt70-3.0.3+gfff496c points to the BSP built from this manifest.

We maintain the ‘standard’ kernel sources in our git and when building with the RT patch we do apply the RT patch as part of the Yocto build.
And since it is a NXP downstream based kernel we had to add some additonal patches to make the RT patch apply, build and at least run.

So you would have to checkout the particular kernel sources from our git and then apply said patch.

The git hash of your particular kernel is fff496c, the additional patches and the order in which to apply them can be found in the kernel recipe:

http://git.toradex.com/cgit/meta-toradex-nxp.git/tree/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb?h=Verdin-iMX8MM_Console-Image_3.0b3.118-20200101&id=7d996d197ad3185838103da3229e01f1b00285c4

http://git.toradex.com/cgit/meta-toradex-nxp.git/tree/recipes-kernel/linux?h=Verdin-iMX8MM_Console-Image_3.0b3.118-20200101&id=7d996d197ad3185838103da3229e01f1b00285c4

http://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patch-4.14.155-rt70.patch.xz

Note that we did work further on Apalis iMX8. You might also consider basing your work on a later BSP.

Max

Thank you,

sorry I didn’t explain more specific, the kernel with the hash fff496c is what I am looking for.
I cloned meta-toradex-nxp.git - Toradex BSP layer, recipes for NXP based modules but I could not find the commit id fff496c.
I tried with git log | grep fff496c.

any Idea what I missed?

Hi
You can find the kernel tag here: linux-toradex.git - Linux kernel for Apalis and Colibri modules