From owner-freebsd-arm@FreeBSD.ORG Sun Jul 6 17:37:27 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44F85529 for ; Sun, 6 Jul 2014 17:37:27 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A28524B3 for ; Sun, 6 Jul 2014 17:37:26 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id rd18so2908462iec.17 for ; Sun, 06 Jul 2014 10:37:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=h+qBi496LMh3Wi1jEzke3lta44P0FE1iAf0i65MSJLE=; b=aNsMtzYm/f2+Lr9TEMoQ8c0IBSaQL+fTm9+ovHYkZl6ppjV+xqmpBZpOEK16KOmNKf vVBNyXQUutvcsCB4U31emB8OFC5IUoRBs6ebRm15DsP0SkHwku3JTvUu5DLgaFTyItD/ 8AlibxJVNF23geeK9zZqRgmd7IVUsXzyHMnLxSohRQxFIoI88nbgvaG/CYN4lr/2d+As ls0CNH4qCp0/Sn51pE/neFYyLwFhASkL4mu7DxGlXlvutTQRiC/FC629xRrU5hQGxQd7 /cYb+Fsqh8+qHpKosIp8yUFPwJY6b4pVYpU3bO9fGUmOz6m9vX6LET3MrgO1tOwCElD1 o4Cg== X-Gm-Message-State: ALoCoQlEnNzrdg5gOJk82zPWTkK3yNo/u6/GL4OGil27bYDAXOa+AF0QziE2kvlYJDKzWFtPUwKN X-Received: by 10.42.39.199 with SMTP id i7mr28129075ice.23.1404668239835; Sun, 06 Jul 2014 10:37:19 -0700 (PDT) Received: from bsdimp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id l9sm18587677ige.2.2014.07.06.10.37.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 06 Jul 2014 10:37:18 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_A5CBFFA3-D08B-45F7-B587-49F92049CB87"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: official packages for arm? From: Warner Losh In-Reply-To: Date: Sun, 6 Jul 2014 11:37:16 -0600 Message-Id: <556332C8-9EE8-4B94-829B-9D3A6DCC7FC8@bsdimp.com> References: <201407041025.s64APml0031649@mech-cluster241.men.bris.ac.uk> To: Tim Kientzle X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 17:37:27 -0000 --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 wrote: >=20 > On Jul 4, 2014, at 3:25 AM, Anton Shterenlikht = 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--