Date: Tue, 22 May 2012 11:21:04 +0300 From: Aleksandr Rybalko <ray@ddteam.net> To: Grzegorz Bernacki <gjb@semihalf.com> Cc: freebsd-geom@freebsd.org Subject: Re: RFC - GEOM Flashmap 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 May 2012 14:02:10 +0200 Grzegorz Bernacki <gjb@semihalf.com> wrote: >> On 05/18/12 22:38, Aleksandr Rybalko wrote: >> > On Fri, 18 May 2012 19:00:31 +0200 >> > Grzegorz Bernacki<gjb@semihalf.com> 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 <ray@ddteam.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120522112104.00ceac80.ray>