aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-04-25 20:00:44 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-04-25 20:00:44 +0000
commit56005e4b715acc77407bfb6f6820fc9f75b633d1 (patch)
treec129b99357d2b18bad2c677f294faa176385701d /release/arm64
parent1dc1adf0a457b0e23d05f8b6b85681847e759cf6 (diff)
downloadsrc-56005e4b715acc77407bfb6f6820fc9f75b633d1.tar.gz
src-56005e4b715acc77407bfb6f6820fc9f75b633d1.zip
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.
Notes
Notes: svn path=/head/; revision=360321
Diffstat (limited to 'release/arm64')
-rw-r--r--release/arm64/ROCKPRO64.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/arm64/ROCKPRO64.conf b/release/arm64/ROCKPRO64.conf
index fc454e30ec72..29d19bd8a46f 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
+}