Re: bad block recovery

David Woodhouse
2002-03-18T13:40:42Z

sbardsley@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