Skip to contentSkip to conversation

LITE5200 board: Bus Fault with 2 network cards

U-Boot-Users Olivier Singla 2 participants 4 messages Jul 13, 2004 – Jul 20, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I use a Lite5200 board (ref. board from Motorola). With the two PCI network cards I tried (which I would want to use under Linux 2.4.25), u-boot crashes:

U-Boot 1.1.2 (Jul 12 2004 - 20:10:35)

CPU: MPC5200 v1.2 at 396 MHz

     Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
Board: Motorola MPC5200 (IceCube)
I2C:   85 kHz, ready
DRAM:  64 MB
FLASH: 16 MB
PCI:   Bus Dev VenId DevId Class Int

Bus Fault @ 0x03fac1e8, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 03f5ad68 Unknown values in msr
NIP: 03FAC1E8 XER: 00000000 LR: 03FAC1DC REGS: 03f5ad68 TRAP: 0200 DAR:
00000000
MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00

GPR00: 03FAC1DC 03F5AE58 00000000 FFFFFFFF FFFFFFFF 00000000 00000000 003325E9
GPR08: 03F8FA50 50AEF503 03FCB950 00000000 44004004 00000000 03FBA000 03F6B000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
GPR24: 00000000 00000001 00000000 03F5AE88 F0000DF8 03F5AF84 03F5AEA8 0000000E
Call backtrace:
machine check

(I tried 1.1.1 first and then gave a try to the cvs version).

One network card I tried is the SMC9452TX (Marvell chip).

Two others PCI cards, not network (Maxtor SATA and USB-2.0) did not bring any issue with u-boot 1.1.1

Is there a known issue with the PCI on the MPC5200, and more specifically with PCI network cards ?
Or is-that with the u-boot PCI implementation for this board ?

I tried to disable the PCI from the u-boot/IceCube config file, but then u-boot hangs up...

Any suggestion ?

Best regards,
Olivier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040712/fe53476a/attachment.htm

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

I use a Lite5200 board (ref. board from Motorola). With the two PCI network cards I tried (which I would want to use under Linux 2.4.25), u-boot crashes:

Try to debug this. It would be interesting to know where the crash happens.

Quoted 1 line

Is there a known issue with the PCI on the MPC5200, and more specifically

There is the known timing problems.

Quoted 2 lines

with PCI network cards ?
Or is-that with the u-boot PCI implementation for this board ?

I don;t think so,. We used several network cards on the LITE5200 without problem (the most reliable card on all test systems seems to be the EEPRO100).

Quoted 2 lines

I tried to disable the PCI from the u-boot/IceCube config file, but then u-boot hangs up...

Are you sure? Where does it hang?

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
      Bugs are by far the largest and  most successful class of
      entity, with nearly a million known species. In this res-
      pect they outnumber all the other  known  creatures about
      four to one.  -- Professor Snope's Encyclopedia of Animal
#2 lore raw
Quoted 13 lines · Wolfgang Denk
Quoted 5 lines · In message <[email protected]> you wrote:

I use a Lite5200 board (ref. board from Motorola). With the two PCI network cards I tried (which I would want to use under Linux 2.4.25), u-boot crashes:

Try to debug this. It would be interesting to know where the crash happens.

Can I debug it without a jtag debugger ?
How could I use GDB ?

Quoted 9 lines
Quoted 5 lines

Is there a known issue with the PCI on the MPC5200, and more specifically

There is the known timing problems.

I changed the PCI to run at 66 Mhz. Then, one network card which was always causing a u-boot crash (with the PCI at 33 Mhz) was sometimes correctly detected
(one one 3 or 4 attempts). So things are not really better...

Quoted 12 lines
Quoted 6 lines

with PCI network cards ?
Or is-that with the u-boot PCI implementation for this board ?

I don;t think so,. We used several network cards on the LITE5200 without problem (the most reliable card on all test systems seems to be the EEPRO100).

Thanks for this information.

Quoted 10 lines
Quoted 6 lines

I tried to disable the PCI from the u-boot/IceCube config file, but then u-boot hangs up...

Are you sure? Where does it hang?

My mistake, sorry...

Thanks,
Olivier Singla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040720/58238ba5/attachment.htm

#3 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 4 lines

Try to debug this. It would be interesting to know where the crash happens.

Can I debug it without a jtag debugger ?

Adding printf() is often quite useful.

Quoted 1 line

How could I use GDB ?

Well, you could enable kgdb support in U-Boot and try this... Or you could enable BedBug support and try this...

The recommended (most efficient) way to debug the system is with a BDI, though.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
If it has syntax, it isn't user friendly.