From owner-freebsd-mips@FreeBSD.ORG Tue Apr 3 16:56:17 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70E3F106564A for ; Tue, 3 Apr 2012 16:56:17 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id F19158FC14 for ; Tue, 3 Apr 2012 16:56:16 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so3509953wgb.1 for ; Tue, 03 Apr 2012 09:56:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=hpqbPG9x6778n0Tjbk8kvWNcm4HYYeUVZRMEQ/L6t/o=; b=i0UNbet5kcGCSRF8xUTjuKmgokwm8bw2narH9b/8moB4trIX3YO1sGhcLxIGh72wSx Bm/xGGw2xaUAINkxsKZ593DDiXOGwrnRHcEoJwk4ouPni/rLlxr4Lqn2CDliw/tVxvRk HEunys98/mh09dM0KAqK1vzY0z0eVqIlMCFJgPIhqxXbLsLAOabhMcbeQSWhh08ACp7Q 2M1aIb95VFI0Ct+mGwlIieuYbN8BtnfCrx3KEQ7j1ILZopYDUKkTcHd9SVpv4j1CWx18 mi5rw10XB68r6E3ocGe6BdwSCGlme2ixOJ3oYRJ/ObV6zL+SLyY4zrHu3VtcaEV2mBaJ wq1Q== Received: by 10.180.85.69 with SMTP id f5mr38073926wiz.18.1333472175996; Tue, 03 Apr 2012 09:56:15 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.180.86.37 with HTTP; Tue, 3 Apr 2012 09:55:55 -0700 (PDT) In-Reply-To: References: <09934B48-8401-476C-970C-47E4DC2A29F1@bsdimp.com> From: Juli Mallett Date: Tue, 3 Apr 2012 09:55:55 -0700 X-Google-Sender-Auth: rtxWjSYm_yyCeeGm4qwgDRBPtIU Message-ID: To: Andrew Duane Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlWgjAUReyO/vS+fV/R03NySeD6M+W3KTJDoqgDcjpQurg6zMA3TGTlGWTGd1UexVsjM6rx Cc: "mips@freebsd.org" Subject: Re: Root filesystems for Cavium evaluation board X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 16:56:17 -0000 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 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"