Date: Tue, 3 Apr 2012 09:55:55 -0700 From: Juli Mallett <jmallett@FreeBSD.org> To: Andrew Duane <aduane@juniper.net> Cc: "mips@freebsd.org" <mips@freebsd.org> Subject: Re: Root filesystems for Cavium evaluation board Message-ID: <CACVs6=-PJwTZuqVpXdsJdiC6CCXO6BV5-06npktde1VcHMgXfg@mail.gmail.com> In-Reply-To: <AC6674AB7BC78549BB231821ABF7A9AEB82DFDC13C@EMBX01-WF.jnpr.net> References: <AC6674AB7BC78549BB231821ABF7A9AEB82DFDBFD9@EMBX01-WF.jnpr.net> <09934B48-8401-476C-970C-47E4DC2A29F1@bsdimp.com> <AC6674AB7BC78549BB231821ABF7A9AEB82DFDC13C@EMBX01-WF.jnpr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I create a fat slice for /boot at the start of the disk and then use setenv bootcmd fatloade ide 0 0 /kernel/kernel \; bootoctl 0 coremask=3Dwha= tever To boot automatically. The other slice, the remainder of the disk, is /, and is UFS-formatted. I typically create the filesystems by using makefs, which can create big-endian filesystems, although now that Oleksandr has fixed USB I have been using newfs and mount on an Octeon box with a USB card reader. Also, at least PCIe SATA is working now, so on one of my systems I have the whole CF as /boot, and then a SATA hard disk for my root filesystem, since the CF can do a few hundred kilobytes per second, while the SATA disk can do 70MB/s from stock FreeBSD without WITNESS or about 80MB/s with redundant cache operations removed. On Tue, Apr 3, 2012 at 09:43, Andrew Duane <aduane@juniper.net> wrote: > It has a CF, and I have a couple of 1GB cards. How do you partition them = to have the FAT boot image for U-Boot in one place, and the UFS filesystem = in another partition? Or do you just use FAT, or just UFS, or.......? > > There are probably many ways to do this, just wondering how people manage= it. Windows utilities for partitioning/slicing disks are a mystery to me. > > =C2=A0................................... > Andrew Duane > Juniper Networks > +1 978-589-0551=C2=A0(o) > +1 603-770-7088=C2=A0(m) > aduane@juniper.net > > > > >> -----Original Message----- >> From: Warner Losh [mailto:imp@bsdimp.com] >> Sent: Tuesday, April 03, 2012 12:38 PM >> To: Andrew Duane >> Cc: mips@freebsd.org >> Subject: Re: Root filesystems for Cavium evaluation board >> >> >> On Apr 3, 2012, at 9:16 AM, Andrew Duane wrote: >> > I'm pushing forward with my regression testing boot experiments, using >> a Cavium EBH-5600 evaluation board. I'm a little stymied on setting up a >> root filesystem for it, and wondering what others using these boards >> have done. >> >> My eval board has a CF that I boot off of. =C2=A0What's this board have? >> >> Warner > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACVs6=-PJwTZuqVpXdsJdiC6CCXO6BV5-06npktde1VcHMgXfg>