Writing JFFS2 image to Nand flash
John Hall
John.Hall at optionexist.co.uk
Mon Apr 15 10:23:06 EDT 2002
On 15 April 2002 14:51 Tino Keitel <tino.keitel at innominate.com> wrote:
> > > > This image should then be written to the device with cp or dd.
> > > > However, if I have bad blocks on the device then dd fails.
> > >
> > > Not sure about dd, I've just been using cp. But the main issue...
> >
> > Even with the correct branch of JFFS2, I think this problem will
> > still exist. Using cp or dd to write the initial filesystem image
> > takes no account of bad blocks near the beginning of the NAND flash.
>
> What about the seek option of dd?
That's is how I have got around it, but it involves knowing where the
bad blocks are. What if the first and third blocks are bad? I think a
utility is needed that recognises bad blocks and skips them when writing
a filesystem image to a blank device.
Regards,
John Hall
More information about the linux-mtd
mailing list