Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2021 23:32:36 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: RPI4 clock speeds and serial port
Message-ID:  <YFaGFEXGUCigAJXD@ceres.zyxst.net>
In-Reply-To: <E4CF6642-CB70-4495-A865-05469953561C@yahoo.com>
References:  <20210318170053.GA26688@www.zefox.net> <9FFA0A51-C0B7-4121-95CA-B98669809007@yahoo.com> <E4CF6642-CB70-4495-A865-05469953561C@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--vHAX1CV4luTirVy4
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 18, 2021 at 01:01:06PM -0700, Mark Millard via freebsd-arm wrot=
e:
>> . . .
>> #
>> # Use of the .clang 's here avoids
>> # interfering with other C<?>FLAGS
>> # usage, such as ?=3D usage.
>> CFLAGS.clang+=3D -mcpu=3Dcortex-a72
>> CXXFLAGS.clang+=3D -mcpu=3Dcortex-a72
>> CPPFLAGS.clang+=3D -mcpu=3Dcortex-a72
>> ACFLAGS.arm64cpuid.S+=3D  -mcpu=3Dcortex-a72+crypto
>> ACFLAGS.aesv8-armx.S+=3D  -mcpu=3Dcortex-a72+crypto
>> ACFLAGS.ghashv8-armx.S+=3D        -mcpu=3Dcortex-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=3D128 which I understand
speeds up ufs2 reads.

I have the standard unmodified generic-nodebug kernel, and this in
/etc/src.conf

KERNCONF=3DGENERIC-NODEBUG
WITH_MALLOC_PRODUCTION=3D
WITHOUT_DEBUG_FILES=3D
WITH_CCACHE_BUILD=3D
WITH_OPENSSL_KTLS=3D

WITHOUT_APM=3D
WITHOUT_ASSERT_DEBUG=3D
WITHOUT_ATM=3D
#WITHOUT_AUDIT=3D <--- got failure early in make buildworld with this
uncommented

WITHOUT_BLUETOOTH=3D
WITHOUT_CUSE=3D
WITHOUT_DMAGENT=3D
WITHOUT_FLOPPY=3D
WITHOUT_FREEBSD_UPDATE=3D
WITHOUT_HAST=3D
WITHOUT_IPFILTER=3D
WITHOUT_IPFW=3D
WITHOUT_ISCSI=3D
WITHOUT_LPR=3D
WITHOUT_NIS=3D
WITHOUT_NETGRAPH=3D
WITHOUT_OFED=3D
WITHOUT_PORTSNAP=3D
WITHOUT_PPP=3D
WITHOUT_RADIUS_SUPPORT=3D
WITHOUT_RBOOTD=3D
WITHOUT_ROUTED=3D
WITH_SORT_THREADS=3D
WITH_SVN=3D
WITHOUT_TALK=3D
WITHOUT_TFTP=3D
WITHOUT_UNBOUND=3D
WITHOUT_WIRELESS=3D

--=20
J.

--vHAX1CV4luTirVy4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBWhgsACgkQs8o7QhFz
NAWX7xAAo7YGkLoNYEWJ4nDXVnheDJGqZcsn4nNEWqqykjJYungQ65TvzEQvMXd5
K6agPWbsPEUnSKbyt6uhhj+TwgQr8CYQv9Q4Cj0KbovT1Pc2KNjCkwp4sDwNljxU
+l7BfWJRUfo9yzG/iOxuQsx8uOwcV23cowuRGAmNUr9Isy/hbvL+N87iqklf1zTA
XwC8bSpHq+idJcqYUyls1sqzu4CI/+lMXL4GajeGO6JmHEhvC+MvRMH4EZK/6V7Q
KAykalQBRlNGf5lkKEys2Qm/0HwLihtE7iO4ZuKe+EdoskuCvwmSFFJgmdZKVY6+
DexmV+C0JGjyq5bXOKsfZWvlGMtFXuJ/jDTzdr5Qvr8eVpBQAm0RI/LCUuShvRxz
cZy+bCAHWVv8b1l+uezSO6HH/RgubkIBlGU/vHXQn+hTbN6lD59EZiK7J0OEF0jA
YMFubqAnm+PG57lUtMHawzSidq0UVQ7WhSNW0l+gpw8pslUZHdmrkyXNF/9suWJS
T397pSGNiiMYxqefI6LK2EdT9kpLbRRRIMRxSkvJQEY9a+8LH7KlVL+I3+y+nhEe
OQyXDeKxJfQ/2Thh+CCzELtIW08gFLVygybFEdwlHVP2ANXwDMapSD1HjC2wwtgm
yYdy8c2c6ajHEqoHpXYKQN0dBqqQyzNAHOn/AZhdINpGZOncpSQ=
=8fxX
-----END PGP SIGNATURE-----

--vHAX1CV4luTirVy4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YFaGFEXGUCigAJXD>