[U-Boot-Users] IBMPPC440GX & LINUX / U-BOOT

Hi,
I am using uboot 1.1.1
I have an embedded ppc440gx using emac2 in RGMII mode, I have ported the driver (by Matt Porter) from 2.6 to 2.4 for the phy chip (cicada CIS8201). If I allow the machine to boot from power on the ethernet appears to come up and states there is a 1000Mb FD connection, however ping fails to work and no data can be transfered across the network. However if I stop the autoboot and use any u-boot command that uses the network (ping, dhcp, bootp, tftp, etc etc) and then proceed using boot the network works in linux, I can ping and transfer data to my hearts content.
I have two theories on this 1. U-Boot (network driver initialisation) is leaving the ethernet in a strange halfway state. 2. The driver is not correctly initialised by Linux.
I have already added the ppc440gx_eth_init and ppc440gx_setup_bridge separately, as one calls the other, to the network initialisation however neither of these solve the problem and eth_init only causes the machine to hang when booting linux.
Any ideas / suggestions would be helpful
Thanks in advance
Daren

In message C18BA5DDB58DD511BD0700C0DF0DD450294190@NTSERVER4 you wrote:
I have an embedded ppc440gx using emac2 in RGMII mode, I have ported the driver (by Matt Porter) from 2.6 to 2.4 for the phy chip (cicada CIS8201). If I allow the machine to boot from power on the ethernet appears to come up and states there is a 1000Mb FD connection, however ping fails to work and no data can be transfered across the network. However if I stop the autoboot and use any u-boot command that uses the network (ping, dhcp, bootp, tftp, etc etc) and then proceed using boot the network works in linux, I can ping and transfer data to my hearts content.
I have two theories on this
- U-Boot (network driver initialisation) is leaving the ethernet in a
strange halfway state. 2. The driver is not correctly initialised by Linux.
Obviously you Linux driver is missing some critical part of the hardware initialization. This is a Linux driver issue.
Any ideas / suggestions would be helpful
Don't try changing U-Boot. This is a Linux problem.
Best regards,
Wolfgang Denk
participants (2)
-
Daren Hayward
-
Wolfgang Denk