public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Derek Ross" <dross@iders.ca>
To: <linux-mtd@lists.infradead.org>
Subject: Flash appears to be ROM, readonly.
Date: Wed, 13 Feb 2002 10:41:16 -0600	[thread overview]
Message-ID: <003e01c1b4ad$417d30f0$87657bc8@athlon> (raw)

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.

                 reply	other threads:[~2002-02-13 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003e01c1b4ad$417d30f0$87657bc8@athlon' \
    --to=dross@iders.ca \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox