RT Kernel


1 1

Recommended Posts



I would like to get RT Kernel, but i am not able to do it.


I have downloaded the patch file:    patch-5.4.19-rt11.patch

And I copy this file in the following folder:      build/userpatches/kernel/sunxi-current


Now, I create the following file:      build/userpatches/lib.config

And i add this sentence:     KERNELBRANCH='tag:v5.4.19' 


and I run compile.sh 


But it doesn't work. I think there are 2 different errors: one for compiling for an specific kernel version, and the other one for loading the RT patch file.


Error 1:
fatal: Couldn't find remote ref tags/v5.4.19 
error: pathspec 'FETCH_HEAD' did not match any file(s) known to git.


[ error ] ERROR in function compile_kernel [ compilation.sh:378 ]
[ error ] Kernel was not built [ @host ]



Error 2:

[warn ] * [c] patch-5.4.19-rt11.patch [ failed ]


Could you help me?


Thanks a lot in advance 


Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

8 hours ago, OpenglMan said:

And i add this sentence:     KERNELBRANCH='tag:v5.4.19' 

Remove this parameter and start a build script again. Armbian will use v5.4.18 (or v5.4.20). The patching process can throw a few errors. These tiny errors can be easily fixed by editing the RT patch or the kernel's sources.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


1 1