bad block recovery

David Woodhouse dwmw2 at infradead.org
Mon Mar 18 08:52:10 EST 2002


sbardsley at rlwinc.com said:
>  I took a quick look at the code and see that meminfo.erasesize is
> used to scale various values.  I don't see why 8Kb is a limit.  I have
> found that my chip's erase size to be 16Kb; is there any way for me to
> use nftl_format? If necessary, I don't mind modifying the code, but I
> don't want to screw it up.  Any hints? 

You _ought_ to be able to just remove that check, if you first verify that 
we'll do the right thing through the rest of the code rather than using a 
hardcoded 8KiB. I put the check in just because I'd never tested the larger 
erase size.

--
dwmw2






More information about the linux-mtd mailing list