Root filesystems for Cavium evaluation board

Juli Mallett jmallett at FreeBSD.org
Tue Apr 3 16:56:17 UTC 2012


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=whatever

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 at 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.
>
>  ...................................
> Andrew Duane
> Juniper Networks
> +1 978-589-0551 (o)
> +1 603-770-7088 (m)
> aduane at juniper.net
>
>
>
>
>> -----Original Message-----
>> From: Warner Losh [mailto:imp at bsdimp.com]
>> Sent: Tuesday, April 03, 2012 12:38 PM
>> To: Andrew Duane
>> Cc: mips at 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.  What's this board have?
>>
>> Warner
>
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"


More information about the freebsd-mips mailing list