feat: Support Rockchip Orange Pi 5 Plus
This commit is contained in:
parent
65128ff146
commit
2eb4443919
1 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,11 @@ if [[ "$CPU" == "Cortex A55" ]] && [[ "$CORES" == "8" ]]; then
|
||||||
[ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7"
|
[ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7"
|
||||||
fi
|
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
|
if [[ "${ARCH,,}" != "arm64" ]]; then
|
||||||
KVM="N"
|
KVM="N"
|
||||||
warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance."
|
warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue