how could block device read OOB?

Ricard Wanderlof ricard.wanderlof at axis.com
Mon Aug 18 02:44:36 EDT 2008


On Mon, 18 Aug 2008, Bily wrote:

>    Maybe this question is easy,but I just confused. I use my nand chip 
> as a mtd block device.now I open mtdblock by using the "open()" 
> function. and I want to read the OOB part by use the mtdblock device.now 
> I want to know if I could read the OOB by operating an mtd block device 
> or only I use the mtd char device could I solve this problem .Thanks!~

Use the char device to read and write the OOB.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list