get mtd name and manufacturer from high level app

Salvatore Frizzoli - IMS Italy sfrizzoli at imsitaly.com
Wed Dec 2 09:30:41 EST 2009


Hi all,

I am working on an application under a uClinux kernel.
This application would read name, manufacturer and id of the mtd flash 
device.
I have seen that it is not possible to do this by ioctl, so I don't know 
how to do.
I have also seen the get_mtd_device function, but i cannot know how to 
fill the
mtd_info struct that get_mtd_device takes as input parameter.

Is there a way to get theese infos similar to ioctl?

Thank you all.
Bye.
Salvatore

-- 
Salvatore Frizzoli

Software Developer

Research & Development Department
IMS srl

Via Sagittario, 5
Fraz. Pontecchio Marconi
40037 Sasso Marconi (BO)
Italy
Tel. ++39 051 846851
Fax ++39 051 846856 

http://www.imsitaly.com




More information about the linux-mtd mailing list