public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
@ 2005-11-29 18:54 Nick Droogh
  2005-11-30 22:45 ` Reinhard Arlt
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Droogh @ 2005-11-29 18:54 UTC (permalink / raw)
  To: u-boot

Hi everyone,

I am using the IceCube MPC5200 evaluation board from Freescale.  Uboot 
1.1.4 is operational on the board. 
With no PCI card install, I get the following on startup:

PCI:   Bus Dev VenId DevId Class Int
        00  1a  1057  5803  0680  00
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET

When I plug in a PCI card, the board crashes with the following message:

PCI:   Bus Dev VenId DevId Class Int
Bus Fault @ 0x03fa3cc0, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 03f4fd20 Unknown values in msr
NIP: 03FA3CC0 XER: 00000000 LR: 03FA3CB4 REGS: 03f4fd20 TRAP: 0200 DAR: 
20446576
MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00

Has anyone else come across this problem?  If you had, what can be done 
to fix it?  I don't have a BDM at the
moment so it is a little more diffucult to trace.

Thanks in advance,

Nick Droogh

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

* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
@ 2005-11-30  7:25 Martin Krause
  2005-11-30  7:43 ` Gerhard Jaeger
  2005-11-30 10:47 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Krause @ 2005-11-30  7:25 UTC (permalink / raw)
  To: u-boot

Hi Nick,

ndrooght at cadlink.com wrote on :
> I am using the IceCube MPC5200 evaluation board from Freescale.  Uboot
> 1.1.4 is operational on the board.
> With no PCI card install, I get the following on startup:
> 
> PCI:   Bus Dev VenId DevId Class Int
>         00  1a  1057  5803  0680  00
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FEC ETHERNET
> 
> When I plug in a PCI card, the board crashes with the following
> message: 
> 
> PCI:   Bus Dev VenId DevId Class Int
> Bus Fault @ 0x03fa3cc0, fixup 0x00000000
> Machine check in kernel mode.
> Caused by (from msr): regs 03f4fd20 Unknown values in msr
> NIP: 03FA3CC0 XER: 00000000 LR: 03FA3CB4 REGS: 03f4fd20 TRAP: 0200
> DAR: 20446576
> MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
> 
> Has anyone else come across this problem?  If you had, what can be
> done 

Is your PCI card a real 3,3 V card? The IceCube (Lite5200) board
only supports 3,3 V cards. No 5,0 V cards and no 3,3 V/5 V mixed
cards are allowed.
Because of an unfurtunate design of the Lite5200 board it is
possible to plug in a 5 V PCI card in reverse direction into the
3,3 V coded PCI receptacle.

Regards,
Martin

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

* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
  2005-11-30  7:25 [U-Boot-Users] IceCube MPC5200 PCI crash - need help Martin Krause
@ 2005-11-30  7:43 ` Gerhard Jaeger
  2005-11-30 10:47 ` Wolfgang Denk
  1 sibling, 0 replies; 7+ messages in thread
From: Gerhard Jaeger @ 2005-11-30  7:43 UTC (permalink / raw)
  To: u-boot

On Wednesday 30 November 2005 08:25, Martin Krause wrote:
> Hi Nick,
> 
> ndrooght at cadlink.com wrote on :
> > I am using the IceCube MPC5200 evaluation board from Freescale.  Uboot
> > 1.1.4 is operational on the board.
> > With no PCI card install, I get the following on startup:
> > 
> > PCI:   Bus Dev VenId DevId Class Int
> >         00  1a  1057  5803  0680  00
> > In:    serial
> > Out:   serial
> > Err:   serial
> > Net:   FEC ETHERNET
> > 
> > When I plug in a PCI card, the board crashes with the following
> > message: 
> > 
> > PCI:   Bus Dev VenId DevId Class Int
> > Bus Fault @ 0x03fa3cc0, fixup 0x00000000
> > Machine check in kernel mode.
> > Caused by (from msr): regs 03f4fd20 Unknown values in msr
> > NIP: 03FA3CC0 XER: 00000000 LR: 03FA3CB4 REGS: 03f4fd20 TRAP: 0200
> > DAR: 20446576
> > MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
> > 
> > Has anyone else come across this problem?  If you had, what can be
> > done 
> 
> Is your PCI card a real 3,3 V card? The IceCube (Lite5200) board
> only supports 3,3 V cards. No 5,0 V cards and no 3,3 V/5 V mixed
> cards are allowed.
> Because of an unfurtunate design of the Lite5200 board it is
> possible to plug in a 5 V PCI card in reverse direction into the
> 3,3 V coded PCI receptacle.
> 
You are right, but in the "reverse" case you probably won't see
the "machine check", you probably see some smoking signs of the
board :(

It turned out that even if you have a 3.3V card it must not 
necessarily work. I only managed to make some Intel NICs work.

Ciao,
Gerhard


Gerhard Jaeger <gjaeger@sysgo.com>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de 

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

* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
  2005-11-30  7:25 [U-Boot-Users] IceCube MPC5200 PCI crash - need help Martin Krause
  2005-11-30  7:43 ` Gerhard Jaeger
@ 2005-11-30 10:47 ` Wolfgang Denk
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-11-30 10:47 UTC (permalink / raw)
  To: u-boot

In message <47F3F98010FF784EBEE6526EAAB078D1C05EE2@tq-mailsrv.tq-net.de> you wrote:
> 
> Is your PCI card a real 3,3 V card? The IceCube (Lite5200) board
> only supports 3,3 V cards. No 5,0 V cards and no 3,3 V/5 V mixed
> cards are allowed.

That's not correct. 3.3/5V combo-cards work fine.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The so-called "desktop metaphor" of today's workstations  is  instead
an  "airplane-seat"  metaphor.  Anyone who has shuffled a lap full of
papers while seated between two portly passengers will recognize  the
difference -- one can see only a very few things at once.
                                                   - Fred Brooks, Jr.

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

* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
@ 2005-11-30 12:23 Martin Krause
  2005-11-30 14:35 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Krause @ 2005-11-30 12:23 UTC (permalink / raw)
  To: u-boot

wd at denx.de wrote on Wednesday, November 30, 2005 11:48 AM:
> In message
> <47F3F98010FF784EBEE6526EAAB078D1C05EE2@tq-mailsrv.tq-net.de> you
> wrote:  
> > 
> > Is your PCI card a real 3,3 V card? The IceCube (Lite5200) board
> > only supports 3,3 V cards. No 5,0 V cards and no 3,3 V/5 V mixed
> > cards are allowed.
> 
> That's not correct. 3.3/5V combo-cards work fine.

OK, my formulation was bad.

According to the PCI specification this _should_ work. But there
are PCI cards around with a 5 V key and a 3,3 V key (= combo-cards)
wich drive 5 V on the PCI signals. Those cards are not compliant to
the PCI spec, and could damage a 3,3 V only PCI board.

On the IceCube board the signal levels on the PCI bus must not exceed
3,3 V, because the PCI pins of the MPC5200 are not 5 V tolerant. So 
it must be assured that a 3,3 V/5 V combo-card drives the PCI pins only
with 3,3 V. Otherwis it _may_ work for a while (because the 5 V are 
shortend by the clamp diodes in the MPC5200 down to 3,3 V), but damage
the board sooner or later.

Regards,
Martin

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

* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
  2005-11-30 12:23 Martin Krause
@ 2005-11-30 14:35 ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-11-30 14:35 UTC (permalink / raw)
  To: u-boot

In message <47F3F98010FF784EBEE6526EAAB078D1C05EE4@tq-mailsrv.tq-net.de> you wrote:
> 
> According to the PCI specification this _should_ work. But there
> are PCI cards around with a 5 V key and a 3,3 V key (=3D combo-cards)
> wich drive 5 V on the PCI signals. Those cards are not compliant to
> the PCI spec, and could damage a 3,3 V only PCI board.

Well, but that's a problem with  any  hardware:  using  non-compliant
cards may cause damages.

> On the IceCube board the signal levels on the PCI bus must not exceed
> 3,3 V, because the PCI pins of the MPC5200 are not 5 V tolerant. So 
> it must be assured that a 3,3 V/5 V combo-card drives the PCI pins only
> with 3,3 V. Otherwis it _may_ work for a while (because the 5 V are 
> shortend by the clamp diodes in the MPC5200 down to 3,3 V), but damage
> the board sooner or later.

Usually (i. e. in all cases I've seen so far - and yes, it  was  more
than one :-( ) the SDRAM will die, and immediately.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No, I'm not going to explain it. If you  can't  figure  it  out,  you
didn't want to know anyway... :-)
                   - Larry Wall in <1991Aug7.180856.2854@netlabs.com>

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

* [U-Boot-Users] IceCube MPC5200 PCI crash - need help
  2005-11-29 18:54 Nick Droogh
@ 2005-11-30 22:45 ` Reinhard Arlt
  0 siblings, 0 replies; 7+ messages in thread
From: Reinhard Arlt @ 2005-11-30 22:45 UTC (permalink / raw)
  To: u-boot

Hi,

please consider one the PCI errata of the MPC5200 in Rev A chips.
I have tested many PCI cards on three different IceCube's.
Some even work on one IceCube, and do not on the others.
Try my patch for cpci5200, or even consider shifting the PCI Clock
a few nano seconds ahead with a "zero delay buffer" and an long feedback 
path.

This helps for me.

Do you know the PCI Chip used an you PCI board?

I hope this helps a bit...

Reinhard


Nick Droogh wrote:
> Hi everyone,
> 
> I am using the IceCube MPC5200 evaluation board from Freescale.  Uboot 
> 1.1.4 is operational on the board. With no PCI card install, I get the 
> following on startup:
> 
> PCI:   Bus Dev VenId DevId Class Int
>        00  1a  1057  5803  0680  00
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FEC ETHERNET
> 
> When I plug in a PCI card, the board crashes with the following message:
> 
> PCI:   Bus Dev VenId DevId Class Int
> Bus Fault @ 0x03fa3cc0, fixup 0x00000000
> Machine check in kernel mode.
> Caused by (from msr): regs 03f4fd20 Unknown values in msr
> NIP: 03FA3CC0 XER: 00000000 LR: 03FA3CB4 REGS: 03f4fd20 TRAP: 0200 DAR: 
> 20446576
> MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
> 
> Has anyone else come across this problem?  If you had, what can be done 
> to fix it?  I don't have a BDM at the
> moment so it is a little more diffucult to trace.
> 
> Thanks in advance,
> 
> Nick Droogh
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

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

end of thread, other threads:[~2005-11-30 22:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30  7:25 [U-Boot-Users] IceCube MPC5200 PCI crash - need help Martin Krause
2005-11-30  7:43 ` Gerhard Jaeger
2005-11-30 10:47 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-30 12:23 Martin Krause
2005-11-30 14:35 ` Wolfgang Denk
2005-11-29 18:54 Nick Droogh
2005-11-30 22:45 ` Reinhard Arlt

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