From owner-freebsd-arm@FreeBSD.ORG Fri Dec 27 02:58:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4ED5D80; Fri, 27 Dec 2013 02:58:20 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B34E61799; Fri, 27 Dec 2013 02:58:20 +0000 (UTC) Received: from glenbarber.us (70.15.88.86.res-cmts.sewb.ptd.net [70.15.88.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id B31CC5416; Fri, 27 Dec 2013 02:58:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us B31CC5416 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Thu, 26 Dec 2013 21:58:14 -0500 From: Glen Barber To: Tim Kientzle Subject: Re: FreeBSD 10.0-RC3 Now Available Message-ID: <20131227025814.GQ13109@glenbarber.us> References: <20131226162521.GK2009@glenbarber.us> <2B79BF2A-1798-40F5-AD6E-D560E9C6C1E7@freebsd.org> <20131226194830.4f6e5b13@bender.Home> <7684A21C-4451-44ED-A11A-C03EF7850F01@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7a4X6VOqfbl9xMrG" Content-Disposition: inline In-Reply-To: <7684A21C-4451-44ED-A11A-C03EF7850F01@freebsd.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-arm ml , FreeBSD Release Engineering Team X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 02:58:21 -0000 --7a4X6VOqfbl9xMrG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 26, 2013 at 06:51:11PM -0800, Tim Kientzle wrote: > On Dec 26, 2013, at 11:59 AM, Warner Losh wrote: >=20 > > Can crochet take this the userland tarball and make an image from it? >=20 > Easy-peasy. There are hooks for this already in lib/board.sh that you > can override in config.sh. Something like the following (untested) > should do the trick: >=20 > # (Optional) Don=E2=80=99t build world. > board_default_buildworld ( ) { } >=20 > # Replace default installworld with untar > board_default_installworld ( ) { > cd ${BOARD_FREEBSD_MOUNTPOINT} > tar xf ${WORLD_TARBALL} > } So, in theory, re@ would need to produce arm userland (using TARGET=3Darm TARGET_ARCH=3Darm), run 'make packageworld' to create the base.txz and 'make packagekernel' to create kernel.txz, and that should dump the world/kernel bits onto a dd(1)-compatible image? Although, if we're already doing buildworld, installworld is inexpensive at this point. Glen --7a4X6VOqfbl9xMrG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJSvOzGAAoJELls3eqvi17Qlo4P/3Wwf0onEkD2mlGMt2o2jcP3 Laqqj/BIrOUVOnW9s/ri6y+gHekXtqybHpySaYashOP3lOvoF7OnUoNtxZSAfsPJ MGzG6PMJWKO73NbP7eZliXRVNR/NXxuCoEjvuAdpYLLdwuNN1vbDYkm38CsDLASm r+ZnHurw8/9gNQFjVZZJw36mjwbttpH/zefNMmXZPnC7/5wkNupupr8uqjC9gsiu lFPzYgW4HjUC02jCkpwemgm2bzWvz7MUW5Vkzngti01+gEhzRQaPFLRs5JIvkoWu wflB25LK5mNOvxdETQuhBjRg7t3HUnOufF5sQo+aIF1fK+gCB+qGiQRG4WyITZAd Q7aawoV5zoNuxwBqGG0VeQORH0tU3U0OL/Yu/NsrqTiNmdpJozZSmQQcwls7iX5C SYUgmImccuaDu0KlPPLQvbmk3bh95uPiiSg3A2zSeZL76V52+VMoeElykBSWRQuz Zqpd1HqsCNjE4QH9RheeQhB7aJ4wKx73gOWqFojoYUCvqKoxnPX67vSTtKrMn8qg a/g8acLb59csJV7JH9ZGEdq/5dy+rYRWt5yPO72v3J1Dma8b+1b5uW8xEaF5kATD ULFMt5jffsbht9FdRZyQdrqSx/nMlJnc2H5iOhs8rq5N7OtA1qK2o/bkNXn2Ig2Y el7kzmdBoVeLtbtAvoB4 =I9XP -----END PGP SIGNATURE----- --7a4X6VOqfbl9xMrG--