Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 11:37:16 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: official packages for arm?
Message-ID:  <556332C8-9EE8-4B94-829B-9D3A6DCC7FC8@bsdimp.com>
In-Reply-To: <A273CC92-B007-46F4-9C6E-872A63EC8296@kientzle.com>
References:  <201407041025.s64APml0031649@mech-cluster241.men.bris.ac.uk> <A273CC92-B007-46F4-9C6E-872A63EC8296@kientzle.com>

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

--Apple-Mail=_A5CBFFA3-D08B-45F7-B587-49F92049CB87
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Jul 4, 2014, at 12:39 PM, Tim Kientzle <tim@kientzle.com> wrote:

>=20
> On Jul 4, 2014, at 3:25 AM, Anton Shterenlikht <mexas@bris.ac.uk> =
wrote:
>=20
>> Few silly questions, please don't shoot.
>>=20
>> 1. Why are there no official arm packages?
>=20
> Nathan answered this pretty completely, I think.
>=20
>> 2. Are there any specific arm considerations when
>> building ports? To do with build time? To do with
>> processor capabilities?
>=20
> Biggest issue is simply that key ports still
> don't build on ARM.  For example, a default
> build of git breaks because libgcrypt requires
> GCC 4.7 port, which doesn't build on ARM.

I have forward ports of our patches that could help this.

>> 3. As a guideline, if using external disk
>> for building ports (e.g. usb flash media,
>> usb hard disk, usb SSD) is the I/O speed
>> important? Or is the bottleneck the processor speed?
>=20
> My impression is that I/O is the major problem.
> Especially for larger packages where the compiler
> can end up swapping.

Yes. Why not do the qemu user mode emulation route that we do for mips?

>> 4. Of the three external media: (1) usb flash
>> drive, (2) usb hard (moving parts) disk,
>> (3) usb SSD, which is faster in broad terms.
>> I understand YMMV.
>=20
> I haven't experimented with different USB drives.
>=20
>> 5. The default RPI-B kernel is very lean:
>> http://svnweb.freebsd.org/base/head/sys/arm/conf/RPI-B?view=3Dmarkup
>>=20
>> Still there are things which (I think)
>> I don't need, e.g. USB ethernet.
>> Will I gain anything by removing USB ethernet
>> from the kernel?
>=20
> The on-board Ethernet for RPi is actually connected
> through USB.  If you remove USB Ethernet, you have
> removed Ethernet.
>=20
> Removing what you don't need will free up more RAM,
> which is always good.

Short of a dedicated building cluster of about 30 ARM machines, doing a =
full package build on ARM within a few days is a pipe-dream. We might be =
able to get it under a week with qemu.

Warner


--Apple-Mail=_A5CBFFA3-D08B-45F7-B587-49F92049CB87
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTuYlMAAoJEGwc0Sh9sBEAN2cQAINiNQ3zwW+Ofl6x4Q4aJwRq
gBKdYehHWbRDCb3hcBen1yTv2McxZU0HWBFx5chQQ0X3fzpiAny71zyyOklTSRyW
Lq+WsrYIjDekc38sRK/Zu2iSeBPYzN5YBxy02/2YYRNpCVweXO3IO7FAPxnHntqh
y+DICue/Tl5TIiobaNE/ZYNAPwhfGn0wYzZw/J6Jn5Xo8bsIeu55Ncy1jgy5nxU/
NY1eouH7NDrjFaL4YtTFJ9THNPJ+bn3MVyqE9KO+z3nUISfw0oAfnz16WGNfa/PG
7g8NFo5Ehtpmp3r84LOPgwqD5uhbI5DWbNE3LJ1d71gqdvpxXMlVfHaCnQJAJjZi
nD1LYJbgJtueWrI6eQnBWOpPlFEu+RCv6UHDxxz6ES7Z4C58BSJyYdeow/5KmhPp
6RwEggCQ9+0+4YUoNLLAr3gL+fzw4dKWG4Uvf5oHxR2eubuiXzSFydEwdNLZQ9Il
OSccAOCY4QdBagKTDm7VjZZQoj0/DiZjPciKsiEnOIB4DCAToiSHy+sJIj/9VjZ+
nOsNGAb4rvlqLOwDJtTYDRusUfX0pnRsW96OKmarsEcCoEphIUK2n+JUScNrSPo7
x2m9k0BO/hs9XIDXFL1SVGXymTL7e94D9WNGc3Y43laEwOU6GdUoMkGPNLUw9Rus
Y1xnMQa5zcY7mTO+vIw1
=5UJp
-----END PGP SIGNATURE-----

--Apple-Mail=_A5CBFFA3-D08B-45F7-B587-49F92049CB87--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?556332C8-9EE8-4B94-829B-9D3A6DCC7FC8>