From owner-freebsd-current@FreeBSD.ORG Fri May 15 18:16:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C3A106564A for ; Fri, 15 May 2009 18:16:29 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 385AB8FC23 for ; Fri, 15 May 2009 18:16:23 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 469BFFF43; Sat, 16 May 2009 06:16:22 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PZPl15A0862k; Sat, 16 May 2009 06:16:17 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Sat, 16 May 2009 06:16:17 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 6622B11432; Sat, 16 May 2009 06:16:17 +1200 (NZST) Date: Fri, 15 May 2009 11:16:17 -0700 From: Andrew Thompson To: Jon Loeliger Message-ID: <20090515181617.GB37398@citylink.fud.org.nz> References: <20090513170028.GA96051@citylink.fud.org.nz> <20090513175000.GA2635@citylink.fud.org.nz> <20090514145510.GA5507@citylink.fud.org.nz> <20090515180111.GA37398@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: Building boot2 for ixp425 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 18:16:29 -0000 On Fri, May 15, 2009 at 01:09:20PM -0500, Jon Loeliger wrote: > > > > > > So, I did the above buildworld. That's KERNCONF agnostic, right? > > > > > > And then I did the "buildenv/cd/make" above, and created a > > > boot2 image finally. Cool. However, it is not UFS-kosher > > > > > > Onto the Avila board, stuff in flash, and "go" it: > > > > > > RedBoot> go > > > FreeBSD ARM (Gateworks Avila) boot2 v0.4 > > > Not ufs > > > > The boot2 loader is only for booting when the kernel is on flash (ie > > compat flash card plugged in). > > There is a nanobsd built image on the compact flash card, > which is plugged in. > > > Are you sure you have flash storage plugged in > > Yes. > > > with a ufs bootable filesystem on it? > > Maybe. I think I successfully built that image using > the nanobsd.sh script with the G2348 kernel via the > tools/tools/nanobsd/gateworks/avila conf file. > > Is there a tool that will take nanobsd's "full disk" image, > inspect it, and itemize what is really in it? Ah, I forgot you were using nanobsd. The only thing I can think of is maybe the endian on the ufs filesystem is wrong This is an image for an Xscale board # file - < /dev/ad0s1a /dev/stdin: Unix Fast File system [v2] (big-endian) ... ARM can be big endian or little endian so you may want to check what type you need and if nanobsd has created it correctly. cheers, Andrew