Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 00:53:26 +0900
From:      rozhuk.im@gmail.com
To:        <freebsd-arm@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   merge geom redboot and map
Message-ID:  <4d9351fb.1d32dc0a.2d95.070c@mx.google.com>

next in thread | raw e-mail | index | archive | help
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"=20


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.

=A0
--
Rozhuk Ivan
=A0=20






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d9351fb.1d32dc0a.2d95.070c>