From 56005e4b715acc77407bfb6f6820fc9f75b633d1 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Sat, 25 Apr 2020 20:00:44 +0000 Subject: [PATCH] release: arm64: rockpro64: Set hw.ncpu to 4 Since there is known issue with big.LITTLE set the number of CPU to 4 which is the number present in the LITTLE cluster. --- release/arm64/ROCKPRO64.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/release/arm64/ROCKPRO64.conf b/release/arm64/ROCKPRO64.conf index fc454e30ec7..29d19bd8a46 100644 --- a/release/arm64/ROCKPRO64.conf +++ b/release/arm64/ROCKPRO64.conf @@ -26,3 +26,10 @@ arm_install_uboot() { of=/dev/${mddev} bs=512 seek=16384 conv=sync return 0 } + +arm_do_quirk() { + echo '# Known issue with big.LITTLE' \ + >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf + echo 'hw.ncpu=4' \ + >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf +}