From: Justin Wojdacki <justin.wojdacki@analog.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Hoping for a little insight
Date: Wed, 16 Oct 2002 19:16:36 -0700 [thread overview]
Message-ID: <3DAE1D84.338F42B2@analog.com> (raw)
In-Reply-To: 3DAC9026.B3F4550B@analog.com
Okay, so it looks like far more data is being written to flash than
should be. As an example, a 8205 byte file is occupying 15356 bytes of
actual flash (based on tracking writes). It looks like data is getting
repeatedly written to flash. So, if I have the pattern "ABCD", I see
written to flash:
A
AB
ABC
ABCD
Additionally, I see the flash being written in blocks of 512 bytes. I
have CONFIG_MTD_CFI and CONFIG_MTD_JEDEC_PROBE set in my
configuration, and the following entry added to jedec_probe.c:
{
mfr_id: MANUFACTURER_ST,
dev_id: M29W320DB,
name: "ST M29W320DB",
DevSize: SIZE_4MiB,
NumEraseRegions: 4,
regions: { ERASEINFO(16*1024,1),
ERASEINFO(8*1024,2),
ERASEINFO(32*1024,1),
ERASEINFO(64*1024,63)
}
}
Is this sufficient? Or should I have added an entry to amd_flash.c
instead and set CONFIG_MTD_AMDSTD? (Some devices are declared in both
jedec_probe.c and amd_flash.c so I'm a little unsure about how this
breaks down).
--
-------------------------------------------------
Justin Wojdacki
justin.wojdacki@analog.com (408) 350-5032
Communications Processors Group -- Analog Devices
prev parent reply other threads:[~2002-10-17 2:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-15 22:01 Hoping for a little insight Justin Wojdacki
2002-10-15 22:13 ` David Woodhouse
2002-10-15 23:21 ` Justin Wojdacki
2002-10-15 23:41 ` Russ Dill
2002-10-16 0:51 ` Justin Wojdacki
2002-10-16 1:47 ` Justin Wojdacki
2002-10-16 21:44 ` Justin Wojdacki
2002-10-17 2:16 ` Justin Wojdacki [this message]
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=3DAE1D84.338F42B2@analog.com \
--to=justin.wojdacki@analog.com \
--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