From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 17:35:12 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 834B616A419 for ; Sun, 9 Dec 2007 17:35:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 27B0413C4DB for ; Sun, 9 Dec 2007 17:35:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lB9HYRwk009304; Sun, 9 Dec 2007 10:34:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 09 Dec 2007 10:34:33 -0700 (MST) Message-Id: <20071209.103433.-432829159.imp@bsdimp.com> To: portcitycs@gmail.com From: "M. Warner Losh" In-Reply-To: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> References: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> <20071208.204814.-593216336.imp@bsdimp.com> <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: Can't boot NanoBSD on an Alix board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2007 17:35:12 -0000 In message: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> "Lyle Scott III" writes: : and how might i do that on my flash card? I read a little about boot0cfg : (man pages) and see the option -o packet .. is this what i need? Yes. : how would i go about setting this in my flashcard that is mounted in another : freebsd system? There's two supported ways. First, you can plug it into a PC Card <-> CF adapter and use that in a PC Card slot. Second, you can plug it into a USB flash reader. In the first case, you'll get a device that's adX, and in the latter you'll get one that's daX. boot0cfg -o packet /dev/adX or boot0cfg -o packet /dev/daX should then do the trick (where X is the actual device). : i read that packet mode == LBA mode BIOS setting? is this true? : (http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018907.html : ) : if so, LBA does not work either. The same result happens. : : i nudge in the right direction would be much appreciated :) If LBA mode doesn't work, then you have to figure out what the exact geometry is for the device. You'll need to set this geometry on the flash by having the partition end exactly on a cylinder boundary so that the BIOS and FreeBSD will be in sync as to the geometry of the device. This may mean you'll need to recreate it after repartitioning. If you used a usb flash reader, you will almost certainly get the wrong geometry (I've never had one that got it right, due to the fictious geometry used by CAM or umass for the device, I think). Warner : On Dec 8, 2007 10:48 PM, M. Warner Losh wrote: : : > In message: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> : > "Lyle Scott III" writes: : > : ok, i just upgraded the BIOS and now it hands after choosing 1 for the : > : bootloader: : > : : > : 640 KB Base Memory : > : 261120 KB Extended Memory : > : : > : 01F0 Master 848A SanDisk SDCFB-512 : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 : > : : > : 1 FreeBSD : > : : > : Default: 1 : > : [FREEZE] : > : > Try using the packet mode of boot0 : > : > Warner : > : : : : -- : Lyle Scott, III : http://www.lylescott.ws : _______________________________________________ : freebsd-embedded@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-embedded : To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" : :