Date: Sun, 3 Feb 2013 17:54:18 -0800 From: Tim Kientzle <tim@kientzle.com> To: Iain Young <iain@g7iii.net> Cc: freebsd-arm@freebsd.org Subject: Re: SD card -image- for the beaglebone Message-ID: <7EDE0DF3-1213-4359-935D-5032E6441290@kientzle.com> In-Reply-To: <037A538B-434B-4168-9591-99ABA39C6006@kientzle.com> References: <510A4F5B.7000407@g7iii.net> <037A538B-434B-4168-9591-99ABA39C6006@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 >=20 > 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-a= utosize-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 = SSH 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7EDE0DF3-1213-4359-935D-5032E6441290>