From: Angus CLARK <angus.clark@st.com>
To: linux-mtd@lists.infradead.org
Cc: gernot.hoyler@spansion.com, Brian Norris <computersforpeace@gmail.com>
Subject: Re: [PATCH (mtd-www) 02/13] nand-data: updates to S30ML-P devices
Date: Fri, 09 Dec 2011 08:35:33 +0000 [thread overview]
Message-ID: <4EE1C855.5040001@st.com> (raw)
In-Reply-To: <CAN8TOE9=Yh=pZkX3DePEwpnjZwqODwc-JLCSYkF_bKt5GzF4=A@mail.gmail.com>
Hi Brian,
On 12/07/2011 06:49 PM, Brian Norris wrote:
> On Tue, Dec 6, 2011 at 4:07 AM, Angus CLARK <angus.clark@st.com> wrote:
>> Updates to Spansion S30ML-P devices:
>> - expand names to differentiate between x8 and x16 devices
>
> Expanding the names is probably good, but I don't really like the
> "-FI{00,50}" piece. There are a few places where I used a wildcard in
> the table to represent "don't care" characters. I think a lower-case
> `x' might make sense, for example:
>
> S30ML512P30-FIx0
> S30ML512P50-FIx1
> S30ML256P30-FIx0
> ...
>
Yes, agreed. Will update the patch (and see comments below).
>
>> - fix ID 5th byte: 0x01 to 0x10 (checked with datasheet; seems regression
>> introduced as part of commit 165cfaa9cdb1054bbafa98f24f179c6aa101fbe6
>> "nand-data: remove asterisks")
>
> Hmm, not exactly a regression, but I overlooked it when merging in
> changes to my local table. In fact, I have a data sheet that lists the
> ID with 0x01, but it may be out of date. It's hard to find a current
> one from Spansion's website, although a random copy I found off a
> third party site confirms your given string, I think. Then, there's a
> posting from Gernot Hoyler last year that gives this sample string.
> It's slightly different (at id_data[2]):
>
> id_data[0]=0x01
> id_data[1]=0x56
> id_data[2]=0x00
> id_data[3]=0x01
> id_data[4]=0x10
> id_data[5]=0x00
> id_data[6]=0x00
> id_data[7]=0x00
>
> I'm thinking:
>
> id_data[2] = 0x00 or 0x01, depending on model as stated in data sheet.
> I just ignored the 0x00 option.
> id_data[4] = 0x10
>
The datasheet I have is Rev 3.0 (April 8, 2008). According to the revision
history, id_data[4] was updated in Rev 2.0. Would this fit your datasheet?
id_data[2] is 0x01 for the "ECC-free/0% bad blocks" device, and 0x00 for the
"ECC required/2% bad blocks" model. This "Notes" column already mentions this.
> Anyway, it may be apparent by now that I don't actually have a sample
> of this chip myself. I'll go with whoever has a current data sheet
> and/or actual chip.
>
I haven't tested one myself either - I will see if we have any samples lying
around, but I suspect not...
Cheers,
Angus
next prev parent reply other threads:[~2011-12-09 8:35 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 12:07 [PATCH (mtd-www) 01/13] nand-data: update TC58DVM72A1TG00 BBM info Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 02/13] nand-data: updates to S30ML-P devices Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 03/13] nand-data: Samsung devices: fix ID Length = "5?" Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 04/13] nand-data: Fix Numonyx 'NAND02GW42C' name Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 05/13] nand-data: remove incorrect/duplicate Numonyx NAND01G devices Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 06/13] nand-data: fix name for Samsung "K9XDG08U5D" Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 07/13] nand-data: fix data for Numonyx NAND08GW3F2B device Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 08/13] nand-data: fix ID Length for Hynix "HY27US{08, 16}12(1/2)B" devices Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 09/13] nand-data: Update BBM info for Toshiba TC58DVG02A5 Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 10/13] nand-data: update READID data for family of Micron devices Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 11/13] nand-data: update MT29F8G08AB--- device IDs Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 12/13] nand-data: add columns to the table Angus CLARK
2011-12-06 12:07 ` [PATCH (mtd-www) 13/13] nand-data: add devices Angus CLARK
2011-12-07 20:03 ` [PATCH (mtd-www) 09/13] nand-data: Update BBM info for Toshiba TC58DVG02A5 Brian Norris
2011-12-07 19:52 ` [PATCH (mtd-www) 08/13] nand-data: fix ID Length for Hynix "HY27US{08, 16}12(1/2)B" devices Brian Norris
2011-12-09 11:45 ` Angus CLARK
2011-12-07 19:43 ` [PATCH (mtd-www) 07/13] nand-data: fix data for Numonyx NAND08GW3F2B device Brian Norris
2011-12-07 19:38 ` [PATCH (mtd-www) 06/13] nand-data: fix name for Samsung "K9XDG08U5D" Brian Norris
2011-12-09 11:38 ` Angus CLARK
2011-12-09 20:49 ` Brian Norris
2011-12-07 19:28 ` [PATCH (mtd-www) 05/13] nand-data: remove incorrect/duplicate Numonyx NAND01G devices Brian Norris
2011-12-09 11:04 ` Angus CLARK
2011-12-09 21:14 ` Brian Norris
2011-12-13 14:24 ` Angus CLARK
2011-12-07 18:58 ` [PATCH (mtd-www) 04/13] nand-data: Fix Numonyx 'NAND02GW42C' name Brian Norris
2011-12-07 18:55 ` [PATCH (mtd-www) 03/13] nand-data: Samsung devices: fix ID Length = "5?" Brian Norris
2011-12-07 18:49 ` [PATCH (mtd-www) 02/13] nand-data: updates to S30ML-P devices Brian Norris
2011-12-09 8:35 ` Angus CLARK [this message]
2011-12-09 20:42 ` Brian Norris
2011-12-06 21:02 ` [PATCH (mtd-www) 01/13] nand-data: update TC58DVM72A1TG00 BBM info Artem Bityutskiy
2011-12-07 18:14 ` Brian Norris
2011-12-08 22:16 ` Artem Bityutskiy
2011-12-08 22:18 ` Artem Bityutskiy
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=4EE1C855.5040001@st.com \
--to=angus.clark@st.com \
--cc=computersforpeace@gmail.com \
--cc=gernot.hoyler@spansion.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.