Handle eraseblocks containing the bad-block table in UBI

Bogdan Harjoc harjoc at gmail.com
Fri Jan 12 07:48:46 PST 2018


With some Macronix NANDs that present the bad-blocks table at a fixed
eraseblock, UBI tries to use the PEB as data and this results in the
"Bad node, ff ff ff ..." symptoms.

Should UBI receive this special status of the bbt PEBs via the
mtd_isbad() result values (in the Macronix case, mtd_block_isbad()
returns false for the PEB containing the bbt), or are 'bbt PEBs' not
supported in UBI ?

Thanks,
Bogdan Harjoc



More information about the linux-mtd mailing list