From owner-freebsd-arm@FreeBSD.ORG Mon Feb 4 10:27:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E3BA6E75 for ; Mon, 4 Feb 2013 10:27:10 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qe0-f41.google.com (mail-qe0-f41.google.com [209.85.128.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9EDEB9F1 for ; Mon, 4 Feb 2013 10:27:10 +0000 (UTC) Received: by mail-qe0-f41.google.com with SMTP id 7so2775364qeb.14 for ; Mon, 04 Feb 2013 02:27:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=fhGcCsh/Ko4mpooLbT7j4uL62OwTezhnesPjnPVH2HQ=; b=BzYQ2N+voQ2/nKiNAn8/8U0mvZESc9Aopo1R20AqFuybInJ0kagQsiWNQU8WC72ZzD YUZTfdXx35HFoj2/GaMOMnQCtdu0szSPifZAoagyqyPx+V5IaVccd22r9eNCSQLINQ04 5Fyp+7Fl767EuDTuogRX3lJCPuA6Ac2pYrPQiyT6xDirdxD42hV4iCF4wstp05Z4Cl2R bg4NTW9szOtwIdV+ZKldJ2MPD0CzbOTLpc5RjMj2UJnXpx4GOefVv/66/BFgXj3BoSZV RPSiSb+Bng+JLwAex7zMI8H3do+ghLWX7KmAwBJc6bdXfyWopzwJiStScutF7vaPwF5+ RnbA== MIME-Version: 1.0 X-Received: by 10.49.84.104 with SMTP id x8mr21386714qey.5.1359973623373; Mon, 04 Feb 2013 02:27:03 -0800 (PST) Received: by 10.49.51.138 with HTTP; Mon, 4 Feb 2013 02:27:03 -0800 (PST) In-Reply-To: <7EDE0DF3-1213-4359-935D-5032E6441290@kientzle.com> References: <510A4F5B.7000407@g7iii.net> <037A538B-434B-4168-9591-99ABA39C6006@kientzle.com> <7EDE0DF3-1213-4359-935D-5032E6441290@kientzle.com> Date: Mon, 4 Feb 2013 18:27:03 +0800 Message-ID: Subject: Re: SD card -image- for the beaglebone From: Alie Tan To: Tim Kientzle X-Gm-Message-State: ALoCoQmFbAZ3jxjpRTGYA4+Yx0eUmyCPd14/dvVDZ4fpoHF9E1BsMnuihBl+goWJKRVtOIad/MvM Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 10:27:10 -0000 Hi Tim. How do you do autosizing feature? Regards, Alie T On Mon, Feb 4, 2013 at 9:54 AM, Tim Kientzle wrote: > >> Quite happy to rebuild the kernel and world afterwards (yes, I know I > >> need an 8 Gig SD card), but it's just this bootstrapping problem thats > >> an issue=85 > > > > I just uploaded a BeagleBone SD image that people can play with. > > Here's another build. This fixes a couple of minor problems > with the earlier build and also has an experimental > "autosizing" feature. > > > http://people.freebsd.org/~kientzle/FreeBSD-BEAGLEBONE-r246278-noWITNESS-= autosize-2013-02-02.img.xz > > This is: > * Based on SVN r246278 > * Completely vanilla build from SVN except as noted below > * WITNESS and INVARIANTS are disabled > * NFSCL and NFSLOCKD added to kernel > * Has a user "beagle" with password "beagle" that you can login with SS= H > > The experimental "autosizing" feature means: > * You can put this on any size SD card (minimum 1G) > * On first boot, it will attempt to expand the root filesystem to fill > the card. > * I've tested this with 32G cards and ended up with 29G free space. > > (Due to a bug, it doesn't completely finish resizing on first boot; > reboot and it will finish.) > > You should be able to get a complete FreeBSD system > up and running from just this image: > > * Connect USB cable to get serial console, insert SD card and boot. > * Login as "root" and reboot to finish resizing. > * Set passwords, create accounts as appropriate > * Connect to a network, configure as necessary. (If you > have a real network, you'll probably want to use > SYNCDHCP and enable ntpd.) > * Set up swap: > $ dd if=3D/dev/zero of=3D/usr/swap bs=3D1024k count=3D768 > $ echo 'swapfile=3D"/usr/swap"' >> /etc/rc.conf > $ reboot > * Get a ports tree: > $ portsnap fetch > $ portsnap extract > * Build and install subversion port: > $ cd /usr/ports/devel/subversion > $ make BATCH=3Dyes > $ make BATCH=3Dyes install > * Get system sources and build them: > $ svn co http://svn.freebsd.org/base/head /usr/src > $ cd /usr/src > $ make buildworld > $ make buildkernel > $ =85 etc ... > > This will likely take a couple of days (mostly thanks to > the slow MMCSD driver). I'm going through the above > right now; I'll let you know how much NFS helps when > I get to that point. > > Tim > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >