From owner-freebsd-questions@FreeBSD.ORG Mon Sep 18 07:16:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 627A816A407 for ; Mon, 18 Sep 2006 07:16:53 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E4E543D45 for ; Mon, 18 Sep 2006 07:16:51 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k8I7GmEY003314; Mon, 18 Sep 2006 10:16:48 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Mon, 18 Sep 2006 10:14:17 +0300 User-Agent: KMail/1.9.1 References: <6C0CF58A187DA5479245E0830AF84F421D11B1@poweredge.attiksystem.ch> In-Reply-To: <6C0CF58A187DA5479245E0830AF84F421D11B1@poweredge.attiksystem.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609181014.17452.nvass@teledomenet.gr> Cc: Philippe Lang Subject: Re: Nanobsd and CF geometry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 07:16:53 -0000 On Thursday 14 September 2006 09:54, Philippe Lang wrote: > Hi, > > I'm trying to flash Nanobsd on a Compact Flash which is not listed in > /usr/src/tools/tools/nanobsd/FlashDevice.sub. > > Does anyone know how to calculate NANO_MEDIASIZE, NANO_HEADS and NANO_SECTS > for a specific CF, in my case a Transcend 512 MB CF? > I think the case with CF is the same with USB memory sticks. The kernel reports the "geometry" when it's plugged in. Check dmesg for anything interesting. There is a mailing list for "Dedicated and Embedded Systems based upon FreeBSD", Maybe you should ask there. http://lists.freebsd.org/mailman/listinfo/freebsd-small Nikos