Doubt regarding mtd test ( mtd_oobtest ) interpretation of oob data !

Murali N nalajala.murali at gmail.com
Wed Sep 16 03:09:34 EDT 2009


Hi All,
i have a doubt on how the OOB data is being managed in MTD driver.
Recently i have enabled mtd-tests to test my driver for mtd
compliance.After i ran "mtd_oobtest" i was messed up with test and
come up with few questions:

1) Is these tests are well validated? can i trust these tests 100%
compliant to MTD API specification?
2) In "mtd_oobtest" ( drivers/mtd/tests/ ), there was a "test 4 of 5"
in this there was a few checks for writing/reading end off OOB data.
            - In these tests what is the significance of using
"ooboffs" in OOB_AUTO mode?
3) Is MTD driver ask the below NAND driver to read/write the oob data
integral of oobavail size in OOB_AUTO mode? How MTD driver behaves if
it is not!!!
4) Finally, can anyone please explain bit more about OOB_PLACE mode?
also the significance of ooboffs field usage?

I appreciate your help, thanks



More information about the linux-mtd mailing list