Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2017 13:11:38 -0500
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: aarch64 on pi3 advice
Message-ID:  <b4fafafc-3024-97af-431e-f8d533ae2d8e@FreeBSD.org>
In-Reply-To: <mailman.73.1483358401.69123.freebsd-arm@freebsd.org>
References:  <mailman.73.1483358401.69123.freebsd-arm@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--429B0aROS3FhA3Igs7fLFTCwfTgsfCk8O
Content-Type: multipart/mixed; boundary="MjT4UMJnwbnENec65V8DkPNABbgju2O9Q";
 protected-headers="v1"
From: Nikolai Lifanov <lifanov@FreeBSD.org>
To: freebsd-arm@freebsd.org
Message-ID: <b4fafafc-3024-97af-431e-f8d533ae2d8e@FreeBSD.org>
Subject: Re: aarch64 on pi3 advice
References: <mailman.73.1483358401.69123.freebsd-arm@freebsd.org>
In-Reply-To: <mailman.73.1483358401.69123.freebsd-arm@freebsd.org>

--MjT4UMJnwbnENec65V8DkPNABbgju2O9Q
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 01/02/17 07:00, freebsd-arm-request@freebsd.org wrote:
> Hello list,
>=20
> I've installed aarch64/pi3 cross-compiling on an i7 via crochet onto a
> pi3 machine and it seems to work well. Please advise:
>=20
> 0. I've fount a config.txt in /boot/efi. Where can I set the speed &
> memory/GPU and what's the syntax?
>=20
> 1. Can I mount /usr/ports on say a usb stick, compile from there and
> expect it to install OK? /usr/ports would be a symlink to
> /32GB-usbkey/ports. I see that ld & ldd are present, so I guess I can
> compile from ports?
>=20
> 2. I'd like to strip out WITNESS and friends and recompile the kernel.
> Can I do this on the rpi3 and expect it to work? Should I? Or should I
> just do this on the faster i7?
>=20
> 3. If I have to go down the route of cross-compiling another image on
> the i7, is there a way I can also install a selection of ports to the
> image before using the image on the pi3?
>=20
> Many thanks
> -- J.

Hi!

There is a GENERIC-NODEBUG snippet for arm64/aarch64, which is what I've
been using. If you go for instructions here, you can make it SMP too:
https://kernelnomicon.org/?p=3D718. I also use WITH_SHARED_TOOLCHAIN and =
a
swap file and the rpi3 is completely self-hosting.

You can also use FreeBSD 11 packages if you don't want to compile your ow=
n:
# env ABI=3DFreeBSD:11:aarch64 pkg install aarch64-binutils

- Nikolai Lifanov



--MjT4UMJnwbnENec65V8DkPNABbgju2O9Q--

--429B0aROS3FhA3Igs7fLFTCwfTgsfCk8O
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQKoBAEBCgCSFiEE5oT6TcuaWvG5gtjzZ6sv56ecR0UFAlhql+FfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU2
ODRGQTREQ0I5QTVBRjFCOTgyRDhGMzY3QUIyRkU3QTc5QzQ3NDUUHGxpZmFub3ZA
ZnJlZWJzZC5vcmcACgkQZ6sv56ecR0V/jRAAth6t/FLL2+ENO5EyHTKULCJLcOTG
EIBz8ybAxNjApSgbWZNQTiKYpTF3U1+Olzt6sTaxhJI/XocamliMRpAUc80kWlAs
bY+BA5F6fUwNF4jMpUFwroJhW4dpwkWrUt7Gf83rvt0jv8jYmt/ujbsf0J8neeQL
nol+74EPLVaPryayfLHna1+S/+Yj07fP8zaVF/kBOqgsQIOdwsAXE94UFYyY0wnP
WIAnle5hOVmMPN0uqfIwvbPYG3E9dFccKjPRq0LKFJOIqZh8Qy5TkO0D1hJtmO6J
/jPiKu7lOsQzfySJJZDtkNLUrXh/YRiG7EyBq6dfbUF9lUDjzY3HGOBcbq/w0H0f
bqrhc3cDGfFU6P1GVWU4wShZg7cKTE1d/MaFAkCGnCl8H5wkjEBPCekx3MZsLs7Z
/XD/Jn0rXO0LYef+JxbYG2HBBHJGtVJ8UdR4Iji8qCVoZ5SyOFwZfFY/gH5SMc2X
EfIWljBMBCVJVLsMUytpq5DZmQlInFuAPhaxD2CUh2qKdd+5/SOuIWwFnNOtAMA+
33S8Mt20lgMmub7tUwPODFB/voG7/nby94kzQgUST/el2efenMeiOfOVTp+VUtcg
EFZU3qdLk6vqPIe0qOBxQlE5THDLotKK1pYUlUCQppdPcfQnhrP6LajNpmLRsPf5
mqAYroIGKeUjpgo=
=rZk8
-----END PGP SIGNATURE-----

--429B0aROS3FhA3Igs7fLFTCwfTgsfCk8O--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b4fafafc-3024-97af-431e-f8d533ae2d8e>