Altera_Forum
Honored Contributor
15 years agouClinux nommu does not detect PHY in SGMII mode
I have a 4sgx230 board and have been trying to get uClinux up on it. I have finally gotten it but I have a problem where the PHY is not detected. I am using TSE and the PHY is Marvel 88E1111. The board can only be used in SGMII mode since the other signals are not connected. I get this error at boot time:
.... .... console [ttyJ0] enabled ttyS0 at MMIO 0x8004c80 (irq = 10) is a Altera UART atse driver failed to detect an ether phy:/usr/src/nios2-linux/linux-2.6/drivers/net/atse.c:1455:atse_probe() TCP cubic registered NET: Registered protocol family 17 .... .... I can go in the sopc_builder and change it to use MII/GMII and get it to detect the phy, but I know it will not work since the hardware is not present, first indication being that soft reset of the TSE never returns (SW reset bit ATSE_MAC_CC_SW_RESET_BIT gets stuck). ..... ..... eth0: atse.c: v1.1, June 3, 2008 by Joseph (Camel) Chen <joe4camel@gmail.com> eth0: atse.c: modified version by Eintisy Chuang <eintisy.chuang@gfec.com.tw> eth0: altera tripple speed, ether hw addr 00:07:ed:0d:09:19, marvell 88e1111 phy ..... ..... /> dhcpcd eth0 ATSE: Waiting on PHY link ...... atse driver:/usr/src/nios2-linux/linux-2.6/drivers/net/atse.c:530:mac sw reset bit never cleared! eth0 up, link speed 1000, full duplex, eth hw addr 00:07:ed:0d:09:19 dhcpcd[26]: timed out waiting for a valid DHCP seth0 down erver response Anyone seen it before, I am about to jump into the code, but am hoping someone has already done that.