From: Ben Warren <bwarren@qstreams.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] minimum bdi config to read flash on 85xx
Date: Tue, 04 Sep 2007 17:12:35 -0400 [thread overview]
Message-ID: <46DDCA43.90208@qstreams.com> (raw)
In-Reply-To: <f87675ee0709041350v35f0f2a5uc66fcc1639f0e2db@mail.gmail.com>
robert lazarski wrote:
> On 9/4/07, Ben Warren <bwarren@qstreams.com> wrote:
>
>> David Hawkins wrote:
>>
>>> Hi Robert,
>>>
>>>
>>>
>>>> The big problem we have now: is this a hardware issue or a bdi config
>>>> issue? Aside from the flash we have 1GigaByte of DDR ram. Can anyone
>>>> help us track our flash issues down to be hardware, config file, or
>>>> some combination? The hardware guys think the board is fine.
>>>>
>>>>
>>> Have you checked that the Flash is getting accessed?
>>>
>>>
>> Very good point. I know you've made many changes since your initial
>> setup Robert. Did any of them make the chip select strobe?
>>
>
> We now see the CE on the flash chip going from 3.3v to 0 on reset of
> the 8548. We also see the same behavior when issuing a mdh command on
> the bdi - however, we cannot see any activity whatsoever on the Ax
> pins on the spansion flash chip when trying read via the bdi and mdh.
>
>
That's cool. Getting closer... You don't see activity on any of the
address pins? You of course remember the goofy way that PowerPC bits are
reversed, right? (i.e. local bus A30 should be wired to A0 on the flash
chip, since it's a 16-bit device, A29 to A1 etc.)
> Getting deep into 8548, the "pin strapping" I believe is controlled by
> the POR Boot Mode Status Register (PORBMSR) in "20.4.1.2" in:
>
> http://www.freescale.com/files/32bit/doc/ref_manual/MPC8548ERM.pdf
>
> Reading the register PORBMSR we get: 0x86370000 which I'm reading as:
>
> 1 0000 110 00 11 0 11 100 00000000000000
>
> 0 BCFG = 1 The CPU is allowed to start fetching boot code.
> 1-4 reserved
> 5-7 ROM_LOC = 110 Local bus GPCM:16-bit (our local bus is 16bit)
> 8-9 reserved
> 10-11 BSCFG = 11 Boot sequencer disabled
> 12 reserved
> 13-15 Host/agent = PCI1/PCI-X and Serial RapidIO agent mode
> 16-31 reserved.
>
> Our flash is 128MB and we think we set the LAW correctly in the bdi
> config file as F8000000 . In 4.3.1.3 however, it defaults to FF80000
> and says:
>
> "If translation is to be performed to a page outside the default boot
> ROM address range defined in the MPC8548E (8 Mbytes at 0x0_FF80_0000
> to 0x0_FFFF_FFFF as defined in Section 4.4.3.3, "Boot ROM Location"),
> the external host or boot sequencer must then also set up a local
> access window to define the routing of the boot code fetch to the
> target interface that contains the boot code, because the BPTR defines
> only the address
> translation, not the target interface."
>
> Perhaps we're not doing that right?
>
More fun than a barrel of monkeys. Maybe you should just pretend your
device is only 8MB for now.
regards,
Ben
next prev parent reply other threads:[~2007-09-04 21:12 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-04 18:11 [U-Boot-Users] minimum bdi config to read flash on 85xx robert lazarski
2007-09-04 18:26 ` David Hawkins
2007-09-04 19:45 ` Ben Warren
2007-09-04 20:50 ` robert lazarski
2007-09-04 21:12 ` Ben Warren [this message]
2007-09-04 21:15 ` David Hawkins
2007-09-05 15:05 ` robert lazarski
2007-09-05 16:35 ` David Hawkins
2007-09-05 19:53 ` robert lazarski
2007-09-05 21:19 ` David Hawkins
2007-09-06 21:03 ` Luiz Neto
2007-09-06 21:20 ` Ben Warren
2007-09-06 22:12 ` David Hawkins
2007-09-06 22:06 ` David Hawkins
2007-09-07 1:41 ` Luiz Neto
2007-09-07 2:00 ` David Hawkins
[not found] ` <50d8dde80709072035j3c066e81wab5216e78d47f89c@mail.gmail.com>
2007-09-08 3:46 ` David Hawkins
2007-09-12 17:23 ` robert lazarski
2007-09-12 18:00 ` David Hawkins
2007-09-12 18:13 ` Jerry Van Baren
2007-09-12 18:23 ` David Hawkins
2007-09-12 18:29 ` David Hawkins
2007-09-12 18:39 ` Jerry Van Baren
2007-09-12 18:44 ` David Hawkins
2007-09-12 19:19 ` robert lazarski
2007-09-12 19:41 ` David Hawkins
2007-09-12 20:06 ` Jerry Van Baren
2007-09-12 20:16 ` David Hawkins
2007-09-12 20:40 ` Jerry Van Baren
2007-09-12 21:39 ` David Hawkins
2007-09-14 18:21 ` robert lazarski
2007-09-14 18:34 ` Jerry Van Baren
2007-09-14 18:43 ` Ben Warren
2007-09-14 19:12 ` David Hawkins
2007-09-14 20:05 ` robert lazarski
2007-09-14 20:14 ` Ben Warren
2013-05-27 13:01 ` [U-Boot] " Monica
2013-05-27 13:37 ` Fabio Estevam
2013-05-28 5:35 ` Monica
2007-09-14 20:16 ` [U-Boot-Users] " Jerry Van Baren
2007-09-14 20:34 ` Leon Woestenberg
2007-09-14 21:04 ` Scott Mann
2007-09-14 20:31 ` David Hawkins
2007-09-06 22:43 ` Clemens Koller
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=46DDCA43.90208@qstreams.com \
--to=bwarren@qstreams.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