[U-Boot-Users] MPC83xx HRCW

David Hawkins
2008-03-28T21:53:23Z

Hi Andr?,

> I was just wondering why there's a need to define the HRCW inside a
> header. This _only_ makes sense for the "HRCW from flash on local
> bus"-section. Any hard coded reset word or the use of an I2C Prom
> does make this obsolete.

Right. But there is also no harm in having it :)

> My fear was that the defined HRCW is actually used somewhere - which
> would be a bug.

That is true.

Code needing the values of the RCWs should be reading them
from the IMMR registers 900h (RCWLR) and 904h (RCWHR).
If you are concerned, you could have a look through the
code to check that is true.

> I'm actually bringing up my latest design. It's a MPC8343B based board
> stereo-camera board with external Altera FPGA on PCI and a MiniPCI Slot
> for different expansion. Configuring the 512MByte Micron memory was a
> little bit time consuming ... but now everything works fine.

Great!

Since my board is a cPCI peripheral, I could cheat a little,
and program all the DDR register over PCI from an x86 host.
This allowed me to sweep the clocks (MCK and DQS), mess with
ECC, etc, until I got things right.

> My HRCW resides in a write-protected EEPROM on I2C. It's very easy with
> pre-programmed EEPROMS during production ... no faults possible with
> erased/invalid flash memory.

Hmm, good point ... perhaps I'll have to use that idea ... thanks :)

> Currently I'm bringing up the two Ethernet PHYs (Vitesse VSC8601)
> in RGMII mode. Communication is already established and both PHY
> report valid links ... but no data yet.
>
> Do you have experience with RGMII on MPC834x ? Any uncommon defines ?

I've used a single PHY, but its the same as the Marvell PHYs on
the MPC8349EA-MDS-PB. I've wired it up for GMII, but I'm pretty
sure I can probably run it in DDRed RGMII mode too. I'm currently
working on UPM programming (via PCI) and writing VHDL for the
local bus UPM interface, so haven't checked out my PHY yet.

If you need a second opinion on RGMII, I can try something out
when I get to that point.

Best of luck with the board bring-up,

Cheers,
Dave