RE: squashfs and NAND flash

Andy Hawkins
2006-04-25T10:27:08Z

Hi,

> Should mtd handle bad blocks when using squashfs?

I suspect you will have to write a simple 'translation layer' that
automatically skips bad blocks. This is something we had to do in our
device.

Basically, if (for example) block 4 is bad, then any request for block 4
should actually return block 5. Also, any request for block 5 should return
block 6 etc. etc. etc.

Hope this helps.

Andy