RPI4 clock speeds and serial port
tech-lists
tech-lists at zyxst.net
Sat Mar 20 23:32:42 UTC 2021
On Thu, Mar 18, 2021 at 01:01:06PM -0700, Mark Millard via freebsd-arm wrote:
>> . . .
>> #
>> # Use of the .clang 's here avoids
>> # interfering with other C<?>FLAGS
>> # usage, such as ?= usage.
>> CFLAGS.clang+= -mcpu=cortex-a72
>> CXXFLAGS.clang+= -mcpu=cortex-a72
>> CPPFLAGS.clang+= -mcpu=cortex-a72
>> ACFLAGS.arm64cpuid.S+= -mcpu=cortex-a72+crypto
>> ACFLAGS.aesv8-armx.S+= -mcpu=cortex-a72+crypto
>> ACFLAGS.ghashv8-armx.S+= -mcpu=cortex-a72+crypto
I used these flags on main/14 no-debug and got this build time for make
-j6 buildworld && make -j6 buildkernel:
start: Sat Mar 20 09:12:11 UTC 2021
finish: Sat Mar 20 15:55:50 UTC 2021
I think these are quite an improvement over previous build times, so
thanks for suggesting the clang options.
make cleanworld && make cleandir && make clean is run before the
buildworld/kernel. /usr/src and /usr/obj are mounted on usb3 spinning
rust. In /etc/sysctl.conf there is vfs.read_max=128 which I understand
speeds up ufs2 reads.
I have the standard unmodified generic-nodebug kernel, and this in
/etc/src.conf
KERNCONF=GENERIC-NODEBUG
WITH_MALLOC_PRODUCTION=
WITHOUT_DEBUG_FILES=
WITH_CCACHE_BUILD=
WITH_OPENSSL_KTLS=
WITHOUT_APM=
WITHOUT_ASSERT_DEBUG=
WITHOUT_ATM=
#WITHOUT_AUDIT= <--- got failure early in make buildworld with this
uncommented
WITHOUT_BLUETOOTH=
WITHOUT_CUSE=
WITHOUT_DMAGENT=
WITHOUT_FLOPPY=
WITHOUT_FREEBSD_UPDATE=
WITHOUT_HAST=
WITHOUT_IPFILTER=
WITHOUT_IPFW=
WITHOUT_ISCSI=
WITHOUT_LPR=
WITHOUT_NIS=
WITHOUT_NETGRAPH=
WITHOUT_OFED=
WITHOUT_PORTSNAP=
WITHOUT_PPP=
WITHOUT_RADIUS_SUPPORT=
WITHOUT_RBOOTD=
WITHOUT_ROUTED=
WITH_SORT_THREADS=
WITH_SVN=
WITHOUT_TALK=
WITHOUT_TFTP=
WITHOUT_UNBOUND=
WITHOUT_WIRELESS=
--
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20210320/d1418bb0/attachment.sig>
More information about the freebsd-arm
mailing list