I like to play around with a pre-emptive linux kernel and Yocto. As hardware the SAMA5D3x Evalboard + SAMA5D35-CM module is used.
Atmel is providing a meta-atmel layer, which includes the "at91-linux_*.bb" recipe. This recipe builds the kernel for the SAMA5D3x machines.
For using the realtime kernel I should insert the realtime patches and activate them at the kernel config.
I did not found a tutorial how to do this with an existing kernel. My question is:
How/where to modify a given kernel recipe to make it a realtime kernel(preempt-rt)?
My test project is located at the project dir "/home/user/yocto". It has following content:
- "/yocto git clone" ==> Yocto system
- "/meta-openembedded" ==> meta embedded recipes
- "/meta-atmel" ==> atmels yocto layer
- "/meta-atmel/recipes-kernel/linux/linux-at91_4.4.bb" ==> the kernel recipe
- "/meta-atmel/conf/machine/sama5d3xek.conf" ==> the machine that run the kernel
- "/myTest" ==> my test project
- "/myTest/recipes-kernel/linux-at91_%.bbappend" ==> replace the kernel config + add own device tree
- "/myTest/recipes-kernel/linux/linux-at91/sama5d3xek/defconfig" ==> my own kernel config
- /myTest/recipes-kernel/linux/linux-at91/sama5d3xek/myDev.dts ==> my own device tree
Any ideas/tutorials how to manage to activate the RT-Kernel in Yocto?