public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] MPC8377 system bring up
@ 2010-10-08 16:32 André Schwarz
  2010-10-08 18:05 ` Timur Tabi
  0 siblings, 1 reply; 4+ messages in thread
From: André Schwarz @ 2010-10-08 16:32 UTC (permalink / raw)
  To: u-boot

Kim, Timur,

we got a new board out of production these days.
It's a MPC8377 based system with PCI/PCIe peripherals and Nor+Nand-Flash
on LocalBus ... nothing special.

Nevertheless I need a little help.


No basic errors so far, i.e. power, clocks and reset are working fine.

Made a new Board definition (U-Boot top-of-tree) by copying the
MPC837xERDB.h config file.

Changes I've done :

- completely removed VSC7385 stuff (also at BAT3).
- removed PCISLAVE stuff since this is host only.
- removed TSEC2 from HRCWH since there's only TSEC1.
- CONFIG_SYS_FLASH_BASE = 0xFC000000 since we have 64MiB Nor (S29GL512
in 16-Bit mode).
- Adjusted TEXT_BASE to 0xFC000000
- BAT4 size changed to BATU_BL_64M.
- removed Date and RTC stuff.

Compilation works fine and HRCW generation yields 0xa0606002 0x25040000
which looks sane to me.

I'm working with bdi2000 and started with MPC8377E-RDB.cfg ... my mods
are :

- changed LBLAWBAR0 to 0xfc000000 and size 64MiB.
- changed OR0/BRO to also match 0xfc000000.
- HRCW override ti above values.
- Flash size and IP stuff.

I can access RAM and whole 64MiB flash without problems. Programming
U-Boot @ 0xfc000000 works fine as well as a verification after power
cycling the board.

Removing the bdi2000, connecting RS-232 and restarting the board yields
nothing. No activities ... not even an assertion of ~LCS0.

Of course the CFG_RESET_SOURCE is 0b0000 which indicates "Boot from
Nor". I'd at least expect a few cycles for HRCW fetch ... hmmm.

Are there any obvious issues I have missed so far ?



Reagrds,
Andr?


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] MPC8377 system bring up
  2010-10-08 16:32 [U-Boot] MPC8377 system bring up André Schwarz
@ 2010-10-08 18:05 ` Timur Tabi
  2010-10-08 18:25   ` André Schwarz
  0 siblings, 1 reply; 4+ messages in thread
From: Timur Tabi @ 2010-10-08 18:05 UTC (permalink / raw)
  To: u-boot

Andr? Schwarz wrote:
> 
> 
> Are there any obvious issues I have missed so far ?

Nothing obvious to me.  I haven't done much work at this level of U-Boot
bring-up, but I would think that failure to assert LCS0 points to a LAWBAR
problem.  Perhaps you have overlapping LAWs?

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] MPC8377 system bring up
  2010-10-08 18:05 ` Timur Tabi
@ 2010-10-08 18:25   ` André Schwarz
  2010-10-08 18:26     ` Timur Tabi
  0 siblings, 1 reply; 4+ messages in thread
From: André Schwarz @ 2010-10-08 18:25 UTC (permalink / raw)
  To: u-boot

Timur,

> > 
> > Are there any obvious issues I have missed so far ?
> 
> Nothing obvious to me.  I haven't done much work at this level of U-Boot
> bring-up, but I would think that failure to assert LCS0 points to a LAWBAR
> problem.  Perhaps you have overlapping LAWs?
> 

Actually I'm pretty sure that the HRCW doesn't get loaded from Nor
Flash, i.e. no U-Boot code involved yet.

Are you using HRCW from Nor on your MPC837x based systems or are you
actually using Nand, SPI or I2C PROM ?



Regards,
Andr?





MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] MPC8377 system bring up
  2010-10-08 18:25   ` André Schwarz
@ 2010-10-08 18:26     ` Timur Tabi
  0 siblings, 0 replies; 4+ messages in thread
From: Timur Tabi @ 2010-10-08 18:26 UTC (permalink / raw)
  To: u-boot

Andr? Schwarz wrote:
> 
> Are you using HRCW from Nor on your MPC837x based systems or are you
> actually using Nand, SPI or I2C PROM ?

I've only worked on boards that load the RCW from NOR flash, but some of our
BSPs support loading the RCW from other sources, like NAND flash or I2C.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-08 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-08 16:32 [U-Boot] MPC8377 system bring up André Schwarz
2010-10-08 18:05 ` Timur Tabi
2010-10-08 18:25   ` André Schwarz
2010-10-08 18:26     ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox