remusmp / rpi-rt-kernel

56 stars 34 forks source link

Older version #3

Open jakorten opened 2 years ago

jakorten commented 2 years ago

Old file does not work anymore, changed to patch-5.10.87-rt59.patch.gz, but should become parameterized.

jakorten commented 2 years ago

Also see the comment as this will be an issue again soon.

jakorten commented 2 years ago

I rewrote part of the Dockerfile to make it variable. Now you only need to change lines 7..10 if there is a new version of raspios. I ran the script and it works for me on macOS 11.6.2 using minikube.

remusmp commented 2 years ago

Thanks for the contributions! Much appreciated!

One more thing needs to be done, i.e. update the .config file with the right settings. One cannot use a .config file from an older version with a newer version. I tried that a few weeks ago and the kernel, although it built fine, was not fully preempt - I had to regenerate the .config file. So my proposal here is to:

I don't have the time to do the above today but I will take a look these days before the new year.

jakorten commented 2 years ago

Great! Any hints on how to test it? Even though I have been developing software for years, working at the OS level is quite new.

remusmp commented 2 years ago

First step to test is to check uname -a. It needs to say PREEMPT RT and not only PREEMPT.