2008-05-12 09:14:25     MTD driver support

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-05-12 09:14:25     MTD driver support

Appalayagari Sreedhar (INDIA)

Message: 55741   

 

Hi,

 

I have few queries about enabling the MTD/ Flash chip drivers.

 

I am trying to enable the

 

ST MW320D compatible flash chip support linux kernel.

 

I seen there is a BF_5xx flash chip support., I have enabled them.

 

To test whether these are ok for my flash device, can anyone suggest me some commands or procedure to test.

 

Flash chip in my custom board is 8 MB.

 

Do i need to enable jffs also, does these require journaling flash file systems support also.

 

I am bit confused, how to make use of this existing driver, I searched in wiki but in vain.

 

Can anyone share any document or link how to make use of these existing mtd flash drivers.

 

Best Regards,Sreedhar.

 

 

QuoteReplyEditDelete

 

 

2008-05-12 09:34:09     Re: MTD driver support

Mike Frysinger (UNITED STATES)

Message: 55742   

 

the bf5xx-flash.c is a mapping driver, not a chip driver.  it is only for people who multiplex a single bank for both flash and another device (like ethernet).

 

this document goes through the different mtd pieces ... from the lowest level chip driver to partition handling to file systems:

http://docs.blackfin.uclinux.org/doku.php?id=enabling_jffs2

QuoteReplyEditDelete

 

 

2008-05-12 11:29:41     Re: MTD driver support

Appalayagari Sreedhar (INDIA)

Message: 55746   

 

Hi Mike,

 

Is it mandatory to enable jffs2 for flash driver in linux kernel?.

 

I want to write my own flash driver for the flash device for my custom board. i dont know whether it is feasible without JFFS2.

 

Writing the new driver will it create any problems?. I am new to uclinux i am unable to make much use of the existing available drivers.

 

Best Regards,Sreedhar.

QuoteReplyEditDelete

 

 

2008-05-12 11:39:18     Re: MTD driver support

Mike Frysinger (UNITED STATES)

Message: 55747   

 

JFFS2 is not flash driver, it is a filesystem

 

why would you want to write your own flash chip driver anyways ?  afaik, the ST MW320D part is CFI compliant and should work fine already

Attachments

    Outcomes