[Phishing Risk] [External] Re: Changing ethernet port speed

Zhang Jian zhangjian.3032 at bytedance.com
Sun Dec 4 19:18:27 AEDT 2022


Hi Bruce;

Where are you want to set the duplex and speed?

For linux, I use ethtool. See:
https://phoenixnap.com/kb/ethtool-command-change-speed-duplex-ethernet-card-linux
For u-boot, I think you need use `mdio` to change the register of
`phy`.(I'm not sure if any better way.).

On Sun, Dec 4, 2022 at 3:10 PM Bruce Ferrell <bferrell at baywinds.org> wrote:
>
>
> Normally, those parms should be modified with ipmitool
>
>
> On 12/1/22 9:27 AM, 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


More information about the openbmc mailing list