From owner-freebsd-arm@freebsd.org Sun Jul 19 23:53:49 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBF039A674F for ; Sun, 19 Jul 2015 23:53:49 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 7155A1A78 for ; Sun, 19 Jul 2015 23:53:48 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp14-2-45-89.lns21.adl2.internode.on.net (HELO midget.dons.net.au) ([14.2.45.89]) by ipmail05.adl6.internode.on.net with ESMTP; 20 Jul 2015 09:23:47 +0930 Received: from maelstrom.dons.net.au (Maelstrom.dons.net.au [10.0.2.104]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t6JNrdUg023696 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2015 09:23:44 +0930 (CST) (envelope-from darius@dons.net.au) Subject: Re: How to Xbuild to BBB? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: text/plain; charset=utf-8 From: "O'Connor, Daniel" In-Reply-To: <2093AC41-3AB0-4286-8440-AE3A93F358D8@kientzle.com> Date: Mon, 20 Jul 2015 09:23:39 +0930 Cc: freebsd-arm , Leonardo Fogel Content-Transfer-Encoding: quoted-printable Message-Id: <39BAA32F-59D7-4F85-8C01-14597BCD2A6A@dons.net.au> References: <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com> <19291C97-5A51-42D2-AC08-6B067AB8D2BD@kientzle.com> <2DED4E32-6599-4F5A-BDC8-E52F420D69C0@dons.net.au> <2093AC41-3AB0-4286-8440-AE3A93F358D8@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.2102) X-Spam-Score: -4.216 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD,URIBL_BLOCKED X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 23:53:50 -0000 > On 20 Jul 2015, at 02:43, Tim Kientzle wrote: >=20 >=20 >> On Jul 18, 2015, at 5:26 PM, O'Connor, Daniel = wrote: >>=20 >> Is there a way to update a running BBB system? >=20 > Native builds work pretty well, though it takes a bit longer. Slight understatement :) Also I think it requires adding swap which greatly slows things down :( > In particular, if you have more than one BBB, you should be able to = NFS-mount and build on one, then install on the others. >=20 > If you only want to update the kernel, you should be able to = cross-build and then use installkernel on the build host to put all the = kernel bits into a directory, then just copy that directory (with all = modules, etc.). I guess that is probably the least painful way to do it. > I don=E2=80=99t know a good way to cross-build and update world, = though. What a pity :( It seems so silly to build on a (relatively) slow computer when a much = faster one is sitting right next to it (especially when that faster = computer build the original image :) > There=E2=80=99s another way to look at this problem, though: Can you = copy $YourCustomStuff from your old image onto a new image instead of = copying $NewFreeBSDBits onto your old image? >=20 > This is essentially the approach I=E2=80=99ve been trying to push = through with Crochet. If I could figure out how to install packages = into the image on the build host, I would be most of the way there. True, I could probably do that. Still pretty surprised there doesn't seem to be a way to = cross-installworld though. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C