From owner-freebsd-arm@freebsd.org Sun Sep 6 00:56:34 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 38ED59CB1EC for ; Sun, 6 Sep 2015 00:56:34 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE7E21C35 for ; Sun, 6 Sep 2015 00:56:33 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t860v2VW027263 for freebsd-arm@freebsd.org; Sun, 6 Sep 2015 00:57:02 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.108] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id p7dgu8nk4kb8m9q5rt7a4vw9jn; for freebsd-arm@freebsd.org; Sun, 06 Sep 2015 00:57:02 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: keeping up-to-date on RPi2/FreeBSD11 From: Tim Kientzle In-Reply-To: <20150905234829.GA6572@potato.growveg.org> Date: Sat, 5 Sep 2015 17:56:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1DCEFAC1-E185-4E4B-B407-7C465079B62B@kientzle.com> References: <20150905125316.GB80713@potato.growveg.org> <20150905133519.c60e316b90b3205a5d482c01@ulrich-grey.de> <55EB46D2.1040003@blarg.com> <20150905234829.GA6572@potato.growveg.org> To: freebsd-arm X-Mailer: Apple Mail (2.2104) 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, 06 Sep 2015 00:56:34 -0000 > On Sep 5, 2015, at 4:48 PM, John = wrote: >=20 > On Sat, Sep 05, 2015 at 12:47:30PM -0700, kah42pub wrote: >=20 >> For what it is worth, these steps work for me to update an RPI2 in >> place. A serial cable is definitely required. Most of this was taken >> from the FreeBSD documentation. I've omitted steps that are specific = to >> my configuration. >=20 > [snip - thanks for the info btw] >=20 >> This process recently took me up to 11.0-CURRENT r287441 without a >> hiccup on the RPI2. Hope it helps. If anyone sees anything obvious = that >> I didn't do that I should have for the upgrade process, feel free to >> speak up. >=20 > Will your method work for an image made by crotchet - ie will it boot > the right kernel, does it update what crotchet installed? The original > install was = http://download.raspbsd.org/FreeBSD-armv6-11.0-RPI2-286947.img.gz Yes, it will work. The reason there's not a lot of documentation about upgrading = FreeBSD-arm in-place is simply that it's exactly the same as i386 or = amd64. All the existing documentation applies exactly. There are a few minor bits of trivia: * It takes a while: allow 15 hours on an RPI2, 40 hours on a BeagleBone = Black. * Crochet normally sets the KERNCONF in /etc/sys.mk so you should not = need to set it manually. * If you want to tweak the kernel configuration, it's in the usual = place: /usr/src/sys//conf/ * 1GB RAM is not enough for buildworld, so you'll need to configure swap = space. I normally aim for ram + swap >=3D 1.5GB, so at least 512MB on = an RPI2. * You also need to make sure you have enough disk space: I think I've = successfully done a full buildworld with an 8GB SD card. 16GB is ample. >=20 >> Also, powerd definitely works on RPI2. Having it enabled (allowing >> stepped up CPU speeds under load) decreases the build world time by >> hours - at least for me. Your mileage may vary. >=20 > yep, I have powerd enabled now rather than setting turbo in=20 > /etc/sysctl.conf. I also have powerd_flags=3D"-a hiadaptive" though am > unsure if these flags have any effect on this arch. >=20 > thanks, > --=20 > John=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"