how could block device read OOB?
hi,all,
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!~
Bily
2008-08-18
Quoted 2 lines · Bily
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