merge geom redboot and map

Warner Losh imp at bsdimp.com
Wed Mar 30 18:01:18 UTC 2011


On Mar 30, 2011, at 9:53 AM, rozhuk.im at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-geom mailing list