Author: manu
Date: Sat Apr 25 20:00:44 2020
New Revision: 360321
URL: https://svnweb.freebsd.org/changeset/base/360321

Log:
  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.

Modified:
  head/release/arm64/ROCKPRO64.conf

Modified: head/release/arm64/ROCKPRO64.conf
==============================================================================
--- head/release/arm64/ROCKPRO64.conf   Sat Apr 25 18:23:23 2020        
(r360320)
+++ head/release/arm64/ROCKPRO64.conf   Sat Apr 25 20:00:44 2020        
(r360321)
@@ -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
+}
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to