public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Flash appears to be ROM, readonly.
@ 2002-02-13 16:41 Derek Ross
  0 siblings, 0 replies; only message in thread
From: Derek Ross @ 2002-02-13 16:41 UTC (permalink / raw)
  To: linux-mtd

Hello,
I'm running the mtd_debug.c app, and when I use the
"info" switch, I get the following:

 mtd.type = MTD_ROM
 mtd.flags = MTD_CAP_ROM
 mtd.size = 8388608 (8M)
 mtd.erasesize = 65536 (64K)
 mtd.oobblock = 0
 mtd.oobsize = 0
 mtd.ecctype = MTD_ECC_NONE
 regions = 0

If I try to write or erase a sector, the app immediately
exits as soon as it tries to open the file discriptor 
with O_RDWR flag set.

If I run a "cat /proc/mtd" I get:

 dev:  size     erasesize   name
 mtd0: 00800000 00010000    "flash"
 mtd1: 0000c000 00000010    "SRAM"
 mtd2: 00000080 00010000    "BootROM"


The hardware details are:

CDB89712 (rev B) development board.

Flash TE28F320 B Jedec, not CFI
Will later be using C for final product, which is CFI

Kernel is 2.4.6-rmk1-rayl1, and we also have 2.4.16-rmk2
We can upgrade mtd drivers if necessary.

Thank you,
Derek Ross.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-13 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-13 16:41 Flash appears to be ROM, readonly Derek Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox