* scantest : READOOB Issue
@ 2009-11-06 13:23 Adish Kuvelker
2009-11-07 9:15 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Adish Kuvelker @ 2009-11-06 13:23 UTC (permalink / raw)
To: linux-mtd
Hello,
I have developed a NAND driver for an ARM9-based processor with
Samsung K9F2G08U0M NAND Flash. Since the Flash chip doesn't support
the NAND_CMD_READOOB command I had skipped the development for this.
We are now subjecting this driver to MTD tests. But while doing the
MTD scantest I found that the test requires reading the OOB section
through the NAND_CMD_READOOB command.
Do I have to develop the support for this command in my code in order
to have a MTD compliant driver? Will the absence of support for this
result in the driver being non-compliant?
Regards;
Aadish
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: scantest : READOOB Issue
2009-11-06 13:23 scantest : READOOB Issue Adish Kuvelker
@ 2009-11-07 9:15 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2009-11-07 9:15 UTC (permalink / raw)
To: Adish Kuvelker; +Cc: linux-mtd
On Fri, 2009-11-06 at 18:53 +0530, Adish Kuvelker wrote:
> Hello,
>
> I have developed a NAND driver for an ARM9-based processor with
> Samsung K9F2G08U0M NAND Flash. Since the Flash chip doesn't support
> the NAND_CMD_READOOB command I had skipped the development for this.
But it looks like the random read command can be used instead, right?
> We are now subjecting this driver to MTD tests. But while doing the
> MTD scantest I found that the test requires reading the OOB section
> through the NAND_CMD_READOOB command.
>
> Do I have to develop the support for this command in my code in order
> to have a MTD compliant driver? Will the absence of support for this
> result in the driver being non-compliant?
Those tests are not really compliance tests. If you do not want to
provide OOB read support, you should probably invent a nice way to
inform upper layers about unsupported OOB read operation. Then you
should amend the tests. And if you do not support reading OOB, it does
not make sense supporting writing OOB either, right?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-07 9:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 13:23 scantest : READOOB Issue Adish Kuvelker
2009-11-07 9:15 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox