|
|
|
Re: mtd | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
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 <paulius.zaleckas@xxxxxxxxx> wrote:
> From: Paulius Zaleckas <paulius.zaleckas@xxxxxxxxx>
> Subject: Re: mtd
> To: "hong zhang" <henryzhang62@xxxxxxxxx>
> Cc: linux-arm@xxxxxxxxxxxxxxxxxxx
> 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?
>
_______________________________________________
linux-arm mailing list
linux-arm@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm
[Linux ARM] [Linux ARM MSM] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Asterisk Internet PBX] [Linux API]
![]() |
![]() |