From: Chris Packham <judge.packham@gmail.com>
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:08:48 +0000 (UTC) [thread overview]
Message-ID: <loom.20100520T005209-871@post.gmane.org> (raw)
In-Reply-To: 20100519215929.2CC0CE5C89E@gemini.denx.de
Disclaimer: I'm workmate of Mark's
Wolfgang Denk <wd <at> denx.de> writes:
>
> 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.
While it would be possible to shuffle the memory map around there is one
problem with the hardware design that I don't think can be overcome (I'd
love to be proven wrong). The boot chip select is mapped to the _bottom_
of the first flash chip. It was done this way so that we could expand the
flash in the future as a rolling production change (we're now shipping
units with 64MB fitted). i.e. we knew we could rely on a fixed base
address so thats where we pointed the boot chip select.
I think in hindsight we could have modified our flash detection code to
start at the top and jump backwards looking for extra chips. Unfortunately
we're not able to change the hardware design for this product but we can
take this into account on future designs.
> > NOTICE: This message contains privileged and confidential
> > information intended only for the use of the addressee
> ...
>
> And please stop posting these silly disclaimers.
>
Corporate overlords have been flogged :). General response has been to go
sign up to gmail. Trust me it annoys us as much as it annoys you.
- C
next prev parent reply other threads:[~2010-05-19 23:08 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
2010-05-19 23:08 ` Chris Packham [this message]
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=loom.20100520T005209-871@post.gmane.org \
--to=judge.packham@gmail.com \
--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