public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: sflash: CFI does not contain boot bank location. Assuming top.
Date: Sun, 11 Jul 2004 00:56:50 +0200	[thread overview]
Message-ID: <20040710225655.2EF35C109F@atlas.denx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

Dear Robert,

in message <Pine.LNX.4.60.0407101310380.16786@localhost.localdomain> you wrote:
> 
>    the build is successful, but at boot time, i get (excerpt):
> 
> init_synergy_mtd: processing flash bank 0: sflash.
> init_synergy_mtd: Remapped flash bank sflash to 0xc3000000.
> sflash: Found 1 x16 devices at 0x0 in 16-bit mode
>   Amd/Fujitsu Extended Query Table at 0x0040
> sflash: CFI does not contain boot bank location. Assuming top. (?????)

Fujitsu flash, right?

>    the 2 partitions listed are correct based on my defined partitions, 
> but i don't ever recall seeing the following diagnostic working with 
> earlier boards:
> 
> sflash: CFI does not contain boot bank location. Assuming top.
> 
>    i'm assuming i've just messed up a pointer, or dereferenced 
> something incorrectly.  can anyone explain what this means?

It's a bug. Please try if the attached patch helps.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson


[-- Attachment #2: patch --]
[-- Type: application/octet-stream , Size: 396 bytes --]

diff -Nur drivers/mtd/chips/cfi_cmdset_0002.c drivers/mtd/chips/cfi_cmdset_0002.c
--- drivers/mtd/chips/cfi_cmdset_0002.c	Fri Jun 11 10:22:55 2004
+++ drivers/mtd/chips/cfi_cmdset_0002.c	Fri Jun 11 10:22:55 2004
@@ -147,6 +147,11 @@
 		CFI_ID_ANY,
 		fixup_amd_bootblock, NULL
 	},
+	{
+		0x0004,		/* Fujitsu */
+		CFI_ID_ANY,
+		fixup_amd_bootblock, NULL
+	},
 #endif
 	{ 0, 0, NULL, NULL }
 };

             reply	other threads:[~2004-07-10 22:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-10 22:56 Wolfgang Denk [this message]
2004-07-11  0:09 ` sflash: CFI does not contain boot bank location. Assuming top Robert P. J. Day
2004-07-11  0:35   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-07-10 17:15 Robert P. J. Day

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=20040710225655.2EF35C109F@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=rpjday@mindspring.com \
    /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