Skip to contentSkip to conversation

MPC8377 system bring up

U-Boot André Schwarz 2 participants 4 messages Oct 8, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Andr? Schwarz

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?

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#2 lore raw

Timur,

Quoted 7 lines
Quoted 2 lines

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

#3 lore raw
Quoted 3 lines · Andr? Schwarz

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.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale