public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Munira Ahmed <munira.ahmed@radixs.com>
To: "Eric W. Biederman" <ebiederman@lnxi.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: stdio.h and kernel space
Date: Fri, 20 May 2005 11:45:34 +0800	[thread overview]
Message-ID: <1116560734.18096.108.camel@server11> (raw)
In-Reply-To: <m31x8260z3.fsf@maxwell.lnxi.com>

Hang on

I am confused now

cfi_cmdset_0002.c implements CFI or a flash driver?

What I understand from is that

there is one cfi command set just to find out which chip is being used
and what driver to use.

The other one is the software command set to tell the flash what to
do.This command set would essentially constitute the driver.

earlier there used to be a JEDEC standard before CFI came in vogue. It
used to do the same thing which is now done by CFI albeit in some old
fashioned or may be in not so efficient way. there must be something
missing in there that's why it is getting out of use. jedec_probe.c 
if I am not wrong implements this standard which is almost obsolete.

Now this S29WSxxxN is CFI compliant and uses a software command set
called JEDEC 42.4 standard to instruct the flash. So  CFI in the kernel
should be able to identify that which chip is used. 

No which file in the kernel implements CFI?

how to tell this CFI to use a new driver?

which file if any in the kerenl implements JEDEC 42.2 command set to
instruct a flash?



Please clearify



On Thu, 2005-05-19 at 21:16 -0600, Eric W. Biederman wrote:
> Munira Ahmed <munira.ahmed@radixs.com> writes:
> 
> > Hi Ralph
> > 
> > The datasheet you are referring to is the right one and S29WSxxxN is
> > using JEDEC 42.4 command set standard.
> > 
> > I am not sure which JEDEC standard is impelmented by jedec_prob.c.
> > 
> > Further if a separate driver is provided on AMD's website it must
> > significantly be different otherwise they could simply have mentioned
> > about the one in jedec_probe.c
> 
> jedec_probe is not a ``driver'' it is a method of identify the kind
> of device you have.  Like a pci bus scan just a little less reliable.
> Unless something is very strange it is almost certain either jedec_probe
> or cfi_probe will be able to recognize the id on your part, and direct
> the mtd code to the appropriate driver.  Which is almost certainly
> cfi_cmdset_0002.c.  If the command set really is different or provides
> significant new features writing a new chip driver may be in order.
> 
> > I believe that S29WSxxxN's MirrirBit technology provides many more
> > security features as yet not available in other flash technologies.
> 
> Possibly.  Although I don't quite see how more silicon to audit translates
> into more security.  In any event audit the code I have mentioned and see
> if it appears to be doing the correct thing for your chip.  
> 
> Eric
> 
-- 
Munira Ahmed

  reply	other threads:[~2005-05-20  3:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16  6:50 stdio.h and kernel space Munira Ahmed
2005-05-16 13:02 ` Ralph Siemsen
2005-05-17  1:26   ` Munira Ahmed
2005-05-18 22:24     ` Ralph Siemsen
2005-05-19  1:45       ` Munira Ahmed
2005-05-19 11:47         ` Ralph Siemsen
2005-05-20  2:40           ` Munira Ahmed
2005-05-20  3:16             ` Eric W. Biederman
2005-05-20  3:45               ` Munira Ahmed [this message]
2005-05-20  5:00                 ` Eric W. Biederman
2005-05-20  7:56                   ` Munira Ahmed

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=1116560734.18096.108.camel@server11 \
    --to=munira.ahmed@radixs.com \
    --cc=ebiederman@lnxi.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