From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/1] Fix hang trying to protect flash sectors
Date: Wed, 19 May 2010 23:59:29 +0200 [thread overview]
Message-ID: <20100519215929.2CC0CE5C89E@gemini.denx.de> (raw)
In-Reply-To: <4BF4FC5E020000B80001201A@gwia.alliedtelesyn.co.nz>
Dear "mark tomlinson",
Please restrict your line length to some 70 characters or so, and stop
posting HTML!
In message <4BF4FC5E020000B80001201A@gwia.alliedtelesyn.co.nz> you wrote:
>
> Sorry, no. The flash chips are 0xf8000000-0xf9ffffff (32MB). (Actually we
> have twice this area reserved for 64MB flash in the future). The flash
> chip from 0xf8000000 is also mirrored at 0xfff00000 at boot time. I do
> n't know if you consider this a hardware bug to not have all the flash at
> the very top of memory, but that is the way our product has been desig
> ned. Here's a memory map of the high memory area:
It's not a hardware bug, but a configuration error.
> f8000000-fbffffff 64M Flash
> fe000000-fe0fffff 1M Battery-backed RAM
> ff000000-ff00ffff 64K On-board logic
> ff700000-ff7fffff 1M CCSR
> fff00000-ffffffff 1M Flash (mirror of f8000000).
This makes no sense. Fix your memory map, and map the flash (all of
it) to the end of the address space.
> So we have CONFIG_SYS_FLASH_BASE pointing to the entire Flash, and CONFIG
> _SYS_MONITOR_BASE pointing to the mirrored section which contains u-boot.
As I mentioned above: misconigured.
> NOTICE: This message contains privileged and confidential
> information intended only for the use of the addressee
...
And please stop posting these silly disclaimers.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Insufficient facts always invite danger.
-- Spock, "Space Seed", stardate 3141.9
next prev parent reply other threads:[~2010-05-19 21:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 5:26 [U-Boot] [PATCH 0/1] Fix hang trying to protect flash sectors Mark Tomlinson
2010-05-18 5:26 ` [U-Boot] [PATCH 1/1] flash: Check info pointer in flash_protect() Mark Tomlinson
2010-05-19 22:22 ` Mike Frysinger
2010-05-20 8:38 ` Wolfgang Denk
2010-05-18 8:20 ` [U-Boot] [PATCH 0/1] Fix hang trying to protect flash sectors Stefan Roese
2010-05-18 20:10 ` mark tomlinson
2010-05-19 9:44 ` Stefan Roese
2010-05-19 21:09 ` mark tomlinson
2010-05-19 21:59 ` Wolfgang Denk [this message]
2010-05-19 23:08 ` Chris Packham
2010-05-20 8:35 ` Wolfgang Denk
2010-05-20 18:59 ` Chris Packham
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=20100519215929.2CC0CE5C89E@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/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