Re: mtd
hong zhang <[email protected]> Fri, 28 Jan 2011 09:04:45 -0800 (PST)
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <[email protected]> |
Paul, root@ti8168-evm:~# cat /proc/mtd dev: size erasesize name mtd0: 00040000 00001000 "U-Boot" mtd1: 00002000 00001000 "U-Boot Env" mtd2: 00280000 00001000 "Kernel" mtd3: 0013e000 00001000 "File System" mtd4: 00260000 00020000 "U-Boot" mtd5: 00020000 00020000 "U-Boot Env" mtd6: 00440000 00020000 "Kernel" mtd7: 0c820000 00020000 "File System" mtd8: 03120000 00020000 "Reserved" File System sits in mtd3 and mtd7. But only one of them can be used. In my case mtd7 is used when SPI is enabled or mtd3 is used w/o SPI. I do not know why. ---henry --- On Fri, 1/28/11, Paulius Zaleckas <[email protected]> wrote: > From: Paulius Zaleckas <[email protected]> > Subject: Re: mtd > To: "hong zhang" <[email protected]> > Cc: [email protected] > Date: Friday, January 28, 2011, 2:11 AM > On 01/28/2011 01:35 AM, hong zhang > wrote: > > List, > > > > On my TI board, default NAND MTD partition for file > system is mtdblock7. > > If SPI is not enabled, MTD partition has to be set to > mtdblock3. > > > > May I get this kind of information from MTD driver? > > cat /proc/mtd > Is this what you are looking for? >