From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 18:01:18 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D8061065674; Wed, 30 Mar 2011 18:01:18 +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 C07348FC19; Wed, 30 Mar 2011 18:01:17 +0000 (UTC) Received: from warner-losh.int.fusionio.com (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id p2UHtQCi032719; Wed, 30 Mar 2011 11:55:26 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> Date: Wed, 30 Mar 2011 11:55:25 -0600 Content-Transfer-Encoding: 7bit Message-Id: <56D961DF-74C4-4E1B-B7F5-60E0E939DE8E@bsdimp.com> References: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> To: Rozhuk.IM@gmail.com X-Mailer: Apple Mail (2.1082) Cc: freebsd-arm@freebsd.org, freebsd-geom@freebsd.org Subject: Re: merge geom redboot and map X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 18:01:18 -0000 On Mar 30, 2011, at 9:53 AM, rozhuk.im@gmail.com wrote: > Hi! > > geom_redboot and geom_map > ( http://my.ddteam.net/hg/BASE/file/783974ced979/head/sys/geom/geom_map.c - > based on redboot) > > Do same things: allow access to memory blocks on cfi/spi flash like > partitions on disk. > Redboot - Flash Image System (FIS), stored on flash > Map - like linux MTD, blocks (partitions) table hardcoded via > "hints" > > > I can merge them together into one geom. > geom_flash, for example. > > Addition build flags may be: > GEOM_FLASH_NO_REDBOOT > GEOM_FLASH_NO_MAP > > If redboot and map not excluded, then first node will see hardcoded in > hints, then try to read FIS from flash. > > > I need your opinions, suggestions and help with testing and including code > to main stream source tree. I think this likely is a good refactoring. > PS: I can test only "map" part on my Agestar LB2. But please make sure FIS still works. Warner > > > -- > Rozhuk Ivan > > > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >