All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Kletschke <lists@ku-gbr.de>
To: linux-mtd@lists.infradead.org
Subject: Re: Intel flash that powers up locked
Date: Thu, 23 Jun 2005 17:35:13 +0200	[thread overview]
Message-ID: <20050623153512.GA14072@zappa> (raw)
In-Reply-To: <429F96C0.3080508@mvista.com>

* Todd Poynor <tpoynor@mvista.com> [Thu, Jun 02, 2005 at 04:31:12PM -0700]:

> If that's a bad guess then sorry for the misdirection. ;)  Let us know 
> how you are calling the unlock function to take some of the guesswork 
> out of it.

Sorry for late Reply, I had to do other nasty stuff last weeks :/

cfi_intelext_unlockall() calls cfi_intelext_unlock(mtd, 0, mtd->size);

These I got out of your patches initially handling this issue.

cfi_intelext_unlock() calls cfi_varsize_frob() where the Oops happenes
then. I had to remove all while loops and inserted some printk and the
Oops does not happen. So the system runs as before when I unlock whole
Flash in the bootloader. For example it Oopses here in cfi_varsize_frob:

//      while (i < mtd->numeraseregions && ofs >=
//      regions[i].offset)
//             i++;

I will take a closer look tomorrow to start again fix this issue.

Regards, Konsti

      reply	other threads:[~2005-06-23 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-01 13:41 Intel flash that powers up locked Konstantin Kletschke
2005-06-02  4:15 ` Ratan Panneerselvam
2005-06-02 10:19   ` Konstantin Kletschke
2005-06-02 10:46     ` Thomas Gleixner
2005-06-02 11:52       ` Konstantin Kletschke
2005-06-02 23:31 ` Todd Poynor
2005-06-23 15:35   ` Konstantin Kletschke [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=20050623153512.GA14072@zappa \
    --to=lists@ku-gbr.de \
    --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.