Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2011 11:55:25 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Rozhuk.IM@gmail.com
Cc:        freebsd-arm@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: merge geom redboot and map
Message-ID:  <56D961DF-74C4-4E1B-B7F5-60E0E939DE8E@bsdimp.com>
In-Reply-To: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com>
References:  <4d9351fb.1d32dc0a.2d95.070c@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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"
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56D961DF-74C4-4E1B-B7F5-60E0E939DE8E>