2011-06-08 20:39:46     [2010R1-RC5] "mtdinfo" missing from Flash Tools

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

2011-06-08 20:39:46     [2010R1-RC5] "mtdinfo" missing from Flash Tools

Gilles Ganault (FRANCE)

Message: 101088   

 

Hello

 

The documentation on UBI(fs) recommends using the "mtdinfo" utility to find the caracteristics of the NAND, namely MTD partition size, flash physical eraseblock size, minimum flash input/output unit size, etc.

 

However, it seems to be missing from the Flash Tools. Is that the case? Is there an alternative?

 

Thank you.

QuoteReplyEditDelete

 

 

2011-06-08 20:48:12     Re: [2010R1-RC5] "mtdinfo" missing from Flash Tools

Mike Frysinger (UNITED STATES)

Message: 101089   

 

it simply doesnt have a Kconfig option.  you can probably find it in user/mtd-utils/build-*/ubi-utils/mtdinfo and just install it yourself.

QuoteReplyEditDelete

 

 

2011-06-08 20:57:54     Re: [2010R1-RC5] "mtdinfo" missing from Flash Tools

Gilles Ganault (FRANCE)

Message: 101090   

 

Apparently, the source code doesn't include mtdinfo:

 

/usr/src/uClinux-dist-2010R1-RC5/user/mtd-utils# find . -name "mtdinfo*"

/usr/src/uClinux-dist-2010R1-RC5/user/mtd-utils#

 

QuoteReplyEditDelete

 

 

2011-06-08 20:59:48     Re: [2010R1-RC5] "mtdinfo" missing from Flash Tools

Mike Frysinger (UNITED STATES)

Message: 101091   

 

it's already been upgraded in trunk

QuoteReplyEditDelete

 

 

2011-06-09 06:29:28     Re: [2010R1-RC5] "mtdinfo" missing from Flash Tools

Gilles Ganault (FRANCE)

Message: 101145   

 

Thank Mike. I downloaded the 10186 night snapshot and ran mtdinfo successfully.

Attachments

    Outcomes