All of lore.kernel.org
 help / color / mirror / Atom feed
From: Justin Wojdacki <justin.wojdacki@analog.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Strange problem related to writing to flash
Date: Wed, 05 Jun 2002 13:58:49 -0700	[thread overview]
Message-ID: <3CFE7B89.1EDA745@analog.com> (raw)
In-Reply-To: 3CFD502E.870C7AFA@analog.com

Justin Wojdacki wrote:
> 
> That's along the lines of what a few of us discussed here, except for
> one issue:
> 
> The bootstrap isn't part of the kernel. So the bootstrap has no
> problem running, loading the kernel from flash, and then executing the
> kernel. Seems to me that that wouldn't be possible if the flash wasn't
> in read mode (unless I'm missing something). The bootstrap being used
> has to ID the flash device itself, so if it can ID it and read from it
> fine, the kernel should be able to also right?
> 

Some more information:

The flash is clearly in the read state when the kernel boots. 

It looks like the first few passes of cfi_check_qry_or_id() don't
actually get the manufacturer or device ID when this fails. It's not
until the case where interleave = 2 and device_type = 1 that I see a
correct ID happening. I'll post more information when I have more
details into what's going on here. 

-- 
-------------------------------------------------
Justin Wojdacki        
justin.wojdacki@analog.com         (408) 350-5032
Communications Processors Group -- Analog Devices

      reply	other threads:[~2002-06-05 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 19:21 Strange problem related to writing to flash Justin Wojdacki
2002-06-04 22:29 ` Jim Thompson
2002-06-04 23:41   ` Justin Wojdacki
2002-06-05 20:58     ` 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=3CFE7B89.1EDA745@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 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.