Page History
...
- Get Sources:
- Make sure that there exists a real-time patch for the current kernel version. You can see this version by looking at the first lines of the makefile residing in the cloned directory, e.g., by using
head Makefile -n 4
The currently existing real-time patches can be found here.
- Make sure that there exists a real-time patch for the current kernel version. You can see this version by looking at the first lines of the makefile residing in the cloned directory, e.g., by using
- Before Build sources
- Download the RT-Patch matching your kernel version and patch the kernel according to these instructions. (Execute the patch-command in the root directory of the cloned git repository.)
- Build sources
- Run the commands which depend on the RPi version.
- Run
make menuconfig
, navigate toGeneral Setup > Preemption Model
, chooseFully Preemptible Kernel (RT)
and save. - Run the lastly given make command.
- Make sure to use the parameter
-j in
to configure how many threads are used for this command in order to speed up this process as explained. - It might happen that you are asked to set up the .config file again which you already configured in the last step. (The console will show something like
*Restart config...
and asks you questions.) Then pressstrg+c
and replace the command bymake ARCH=arm menuconfig CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs
Now, the menu will open again, but you can quit that by only ?saving? and leaving the menu. Afterwards, the process should start building as usual.
- Make sure to use the parameter
...
Overview
Content Tools