jffs2_scan_medium effor

Nicolas Pitre nico at cam.org
Thu Jun 21 16:40:34 EDT 2001


On Thu, 21 Jun 2001, David Woodhouse wrote:

>
> nico at cam.org said:
> >  Then what I would suggest is that you play tricks with offsets in
> > your map driver so the firmware sector appears at the end and the two
> > separate parts are seen as being contigous.
>
> Not in the map driver - it may confuse the probe code and break the 'magic'
> unlock addresses, etc. Do it in the partition code - rather than using the
> generic partition code, use your own wrappers which do similar translation
> and then pass through to the 'master' device's methods.

If you see the example code I posted I made sure the first half of addresses
aren't modified especially not to confuse the probe code...  Don't know
about unlock addresses.


Nicolas





More information about the linux-mtd mailing list