
-----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."