From 2eb4443919973cfc4257b1d7e5b190bf157df2f8 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 13 Oct 2024 00:29:51 +0200 Subject: [PATCH] feat: Support Rockchip Orange Pi 5 Plus --- src/proc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/proc.sh b/src/proc.sh index 97d2332..1494e25 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -19,6 +19,11 @@ if [[ "$CPU" == "Cortex A55" ]] && [[ "$CORES" == "8" ]]; then [ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7" fi +if [[ "$CPU" == "Rockchip RK3588"* ]] && [[ "$CORES" == "8" ]]; then + # Pin to performance cores on Rockchip Orange Pi 5 Plus + [ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7" +fi + if [[ "${ARCH,,}" != "arm64" ]]; then KVM="N" warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance."