merge geom redboot and map

rozhuk.im at gmail.com rozhuk.im at gmail.com
Wed Mar 30 16:15:16 UTC 2011


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.




PS: I can test only "map" part on my Agestar LB2.

 
--
Rozhuk Ivan
  





More information about the freebsd-geom mailing list