We have provided a test verison of Real Time kernel for Edge2 Linux system, if you want to experience this kernel you can follow the steps below to build the images.
This is just a testing version of Real Time kernel and we haven't do the fully testing, so be aware of bugs.
You need to apply a patch to fenix to support the Real Time kernel branch.
diff --git a/config/boards/Edge2.conf b/config/boards/Edge2.conf
index 429e299f..9b8a974c 100644
--- a/config/boards/Edge2.conf
+++ b/config/boards/Edge2.conf
@@ -35,7 +35,7 @@ case "$LINUX" in
LINUX_DTB="arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dtb"
[ "$LINUX_VENDOR_DIR" ] && \
LINUX_DIR=$(realpath "$LINUX_VENDOR_DIR")
- LINUX_GIT_BRANCH="khadas-edges-5.10.y-release-v1.0.0"
+ LINUX_GIT_BRANCH="khadas-edges-5.10.y-rt-test"
LINUX_DEFCONFIG="${LINUX_DEFCONFIG:-kedges_defconfig}"
SERIALCON="ttyFIQ0"
BOOT_SCRIPT_BOARD=""
You can follow Build Ubuntu to build the Real Time kernel Ubuntu images.
You can find the Real Time kernel source here: linux/tree/khadas-edges-5.10.y-rt-test