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.
This commit is contained in:
Emmanuel Vadot 2020-04-25 20:00:44 +00:00
parent 1dc1adf0a4
commit 56005e4b71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360321

View file

@ -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
}