* [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards
@ 2004-07-13 2:12 Olivier Singla
2004-07-13 7:29 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Olivier Singla @ 2004-07-13 2:12 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 6+ messages in thread* [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards
2004-07-13 2:12 [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards Olivier Singla
@ 2004-07-13 7:29 ` Wolfgang Denk
2004-07-20 11:46 ` Olivier Singla
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2004-07-13 7:29 UTC (permalink / raw)
To: u-boot
In message <40F344F1.1000603@singla.us> 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.
> Is there a known issue with the PCI on the MPC5200, and more specifically
There is the known timing problems.
> 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).
> 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
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread* [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards
2004-07-13 7:29 ` Wolfgang Denk
@ 2004-07-20 11:46 ` Olivier Singla
2004-07-20 13:38 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Olivier Singla @ 2004-07-20 11:46 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
>In message <40F344F1.1000603@singla.us> 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 ?
>
>
>>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...
>
>
>>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.
>
>
>>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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards
2004-07-20 11:46 ` Olivier Singla
@ 2004-07-20 13:38 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-07-20 13:38 UTC (permalink / raw)
To: u-boot
In message <40FD0615.2050804@singla.us> you wrote:
>
> >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.
> 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
--
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <A56DFA12CF3D6941AB75AE05AA06B255D5DA85@server.altronicinc.com>]
* [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards
[not found] <A56DFA12CF3D6941AB75AE05AA06B255D5DA85@server.altronicinc.com>
@ 2004-07-20 13:56 ` Glenn Heard
2004-07-20 14:13 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Glenn Heard @ 2004-07-20 13:56 UTC (permalink / raw)
To: u-boot
Wolfgang,
As it happens, I'm adding a board entry for the Cogent CSB337. I'm
new to gdb debugging and am unsure on setting up the bdi2000 for this. I
have followed the steps in the bdi manual but they are quite lacking.
Do you have anything written on the typical bdi setup for debugging u-boot?
Glenn Heard gheard at zoominternet.net
Software Engineer gheard at altronicinc.com
Altronic Inc. www.altronicinc.com
ICQ: 123194600
---
A politician is a person who can tell you to go
to hell and make you feel good to be on your way.
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf
> Of Wolfgang Denk
> Sent: Tuesday, July 20, 2004 9:38 AM
> To: Olivier Singla
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] LITE5200 board: Bus Fault with 2
> network cards
>
> The recommended (most efficient) way to debug the system is
> with a BDI, though.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> 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.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_idG21&alloc_id\x10040&op=ick
> _______________________________________________
> 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] 6+ messages in thread* [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards
2004-07-20 13:56 ` Glenn Heard
@ 2004-07-20 14:13 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-07-20 14:13 UTC (permalink / raw)
To: u-boot
In message <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAGVbQxmIBr0Wj4b4UKOiPvwEApW36Es89aUGrda4FqgayVQAAAAF43gAAEAAAAKc85YsePapGubHZmuqs6CIBAAAAAA==@zoominternet.net> you wrote:
Ooops. Why is your system generating such huge message ID's?
> Do you have anything written on the typical bdi setup for debugging
> u-boot?
Maybe http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot ???
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"I think they're going to take all this money that we spend now on
war and death --" "And make them spend it on life."
-- Edith Keeler and Kirk, "The City on the Edge of Forever",
stardate unknown.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-07-20 14:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 2:12 [U-Boot-Users] LITE5200 board: Bus Fault with 2 network cards Olivier Singla
2004-07-13 7:29 ` Wolfgang Denk
2004-07-20 11:46 ` Olivier Singla
2004-07-20 13:38 ` Wolfgang Denk
[not found] <A56DFA12CF3D6941AB75AE05AA06B255D5DA85@server.altronicinc.com>
2004-07-20 13:56 ` Glenn Heard
2004-07-20 14:13 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.