Changing ethernet port speed
Zev Weiss
zweiss at equinix.com
Mon Dec 5 10:45:16 AEDT 2022
On Thu, Dec 01, 2022 at 09:27:44AM PST, Hamid Amirrad wrote:
>Hi,
>
>I am trying to change the Ethernet port speed from 10Mbps to 1Gbps, but I
>can't find a way to do that. Can you please point me in the right direction?
>
>Thanks,
>Hamid
>
>
>ast# version
>U-Boot 2016.07 (Jun 10 2020 - 10:12:49 +0000)
>arm-openbmc-linux-gnueabi-gcc (GCC) 11.2.0
>GNU ld (GNU Binutils) 2.37.20210721
>
>ast# printenv
>SN=8513060012
>baudrate=115200
>bootargs=console=ttyS4,115200n8 root=/dev/ram rw
>bootcmd=bootm 20080000
>bootdelay=2
>ethact=FTGMAC100#0
>ethaddr=00:02:C5:38:1D:DF
>ethaddr1=00:02:C5:38:1D:E0
>ipaddr=172.16.141.104
>spi_dma=yes
>stderr=serial
>stdin=serial
>stdout=serial
>verify=yes
>
>ast# ping 172.16.141.1
>FTGMAC100#0: link up, *10Mbps half-duplex*
>Using FTGMAC100#0 device
>
>ARP Retry count exceeded; starting again
>ping failed; host 172.16.141.1 is not alive
Given what's pasted here, it looks like it's u-boot where you're seeing
the problem -- does Linux successfully autonegotiate a higher speed?
Also, is this a Broadcom phy by any chance? I've got a platform with a
Broadcom BMC54616S phy on which Linux autonegotiates a 1Gbps link just
fine, but u-boot would only negotiate slower speeds (I don't remember
offhand if it was 10Mbps or 100Mbps). I've got a hackish patch I'm
running internally that gets 1Gbps aneg working in u-boot, but at the
cost of breaking 10/100Mbps aneg (and I haven't gotten around to digging
in and fixing that and sending it upstream).
Zev
More information about the openbmc
mailing list