Skip to contentSkip to conversation

Help w/ U-Boot vs/ ppc405GPr MAL

U-Boot-Users Stephen Williams 1 participant 1 message Feb 2, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm porting U-Boot to a PPC405GPr board of our own design, and I'm having trouble getting the ethernet working. Specifically, when I try to do anything network related, it hangs in ppc_4xx_eth_init. I added some test prints and find that I'm getting an un-clearable error interrupt. I've added some test prints to dump the obvious registers, here's a snippet:

XXXX Entering ppc_4xx_eth_init
ENET Speed is 10 Mbps - HALF duplex connection XXXX about to enable interrupts...

MAL error occured.... ISR = 0 UIC = 7f0000 MAL_DEF = 2e0000 MAL_ERR= 260000
XXXX Entering ppc_4xx_eth_init
XXXX about to enable interrupts...
XXXX Leaving ppc_4xx_eth_init

MAL error occured.... ISR = 0 UIC = 7f0000 MAL_DEF = 2e0000 MAL_ERR= 260000
XXXX Entering ppc_4xx_eth_init
XXXX about to enable interrupts...
XXXX Leaving ppc_4xx_eth_init

... and so on. It is looping infinitely on the un-cleared error interrupt. I'm struggling w/ PHY/MII/MAL learning curves, as well as U-Boot learning, so clues welcome.

- --

Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
http://www.icarus.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAHsKLrPt1Sc2b3ikRAtXDAJ4qsMmJrxGx4RmZkHP6ia7YgUnYZwCfZmFo EoS+6IDcrpey6NqR3A+vVaA=
=WXm/
-----END PGP SIGNATURE-----