Date: Sat, 25 Apr 2020 20:00:44 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r360321 - head/release/arm64 Message-ID: <202004252000.03PK0iAj031947@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004252000.03PK0iAj031947>