From owner-freebsd-geom@FreeBSD.ORG Tue May 22 08:20:46 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 686021065672 for ; Tue, 22 May 2012 08:20:46 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 2291B8FC1F for ; Tue, 22 May 2012 08:20:46 +0000 (UTC) Received: from terran.dlink.ua (unknown [192.168.10.90]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 11E80C495B; Tue, 22 May 2012 11:20:39 +0300 (EEST) Date: Tue, 22 May 2012 11:21:04 +0300 From: Aleksandr Rybalko To: Grzegorz Bernacki Message-Id: <20120522112104.00ceac80.ray@ddteam.net> In-Reply-To: <4FBA2EC2.1040302@semihalf.com> References: <4FB6802F.8030207@semihalf.com> <20120518233826.7dbce81c.ray@ddteam.net> <4FBA2EC2.1040302@semihalf.com> Organization: DDTeam.net X-Mailer: Sylpheed 2.7.1 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: RFC - GEOM Flashmap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2012 08:20:46 -0000 On Mon, 21 May 2012 14:02:10 +0200 Grzegorz Bernacki wrote: >> On 05/18/12 22:38, Aleksandr Rybalko wrote: >> > On Fri, 18 May 2012 19:00:31 +0200 >> > Grzegorz Bernacki wrote: >> > >> >> Hi, >> >> >> >> As a part of our NAND Flash Framework project we would like to >> >> add a new geom class which allows to divide NAND Flash chip into >> >> partitions. Nand is divided into partitions based on data in dts >> >> file. >> >> >> >> The purpose of having this geom class is to separate part of nand >> >> chip device which might contain some crucial data like u-boot >> >> image, parameters, etc. into separate devices and use the rest of >> >> nand to store user data. >> >> >> >> Patch can be found at: >> >> http://people.freebsd.org/~gber/patches/slicer.patch >> >> it contains geom flashmap code along with changes in FDT area and >> >> changes in DTS file for SheevaPlug. >> >> >> >> Please let me know if you have any comments or objections. >> >> >> >> thanks, >> >> grzesiek >> >> _______________________________________________ >> >> freebsd-geom@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-geom >> >> To unsubscribe, send any mail to >> >> "freebsd-geom-unsubscribe@freebsd.org" >> > >> > Hi Grzegorz, >> > >> > Long time ago I was add to my todo list item to add FDT support to >> > geom_map module. Now you have good replacement. >> > (/me cut off one item from todo) >> > >> > Just one question: >> > it is possible to not assume that parent media is NAND? >> > >> > + if (g_io_getattr("NAND::device", cp,&size,&dev)) >> > + break; >> > >> > WBW >> >> Hi Alexandr, >> >> It seems to be doable. It requires additional testing and additional >> review. We would like to apply this patch now. And then if necessary >> this mechanism might be changed to allow other types of devices. >> >> thanks, >> grzesiek I have no objections and wait for apply :) Thank you! WBW -- Aleksandr Rybalko