StarFive has Ported Real-Time Kernel Patches to Debian on VisionFive 2

StarFive software team has recently successfully ported real-time kernel patches to the Debian OS on VisionFive 2, providing developers with the option to achieve real-time performance in a Linux environment.

RT-Linux is a real-time operating system based on the Linux kernel. It is an extension and modification of the standard Linux kernel to provide hard real-time performance and predictability. Compared to standard Linux, RT-Linux has stricter timing constraints and lower latency. It can achieve microsecond-level task response time and precise time management, making it suitable for applications that require high real-time performance, such as industrial automation, robot control, and embedded systems.

Data has shown that this greatly enhances the system’s real-time capabilities:

This table shows that the system has significantly improved latency under different workloads compared to the mainline kernel after incorporating real-time patches.

Related code will be released as a patch later.


The related doc is released:

1 Like

I got this error while compiling the GPIO:

gpio-starfive-jh7110.c is old one. Please do not compile this. The gpio driver is in driver/pinctrl/starfive/pinctrl-starfive-jh7110.c


Thanks, I just disable that driver and rebuild the kernel again.


It works!



can’t find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:

|diff --git a/Documentation/dev-tools/kcov.rst b/Documentation/dev-tools/kcov.rst
|index d2c4c27e1702d…d83c9ab494275 100644
|— a/Documentation/dev-tools/kcov.rst

+++ b/Documentation/dev-tools/kcov.rst