From: Zev Weiss <zweiss@equinix.com>
To: Hamid Amirrad <amirradh@gmail.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Changing ethernet port speed
Date: Sun, 4 Dec 2022 23:45:16 +0000 [thread overview]
Message-ID: <20221204234449.GG18848@packtop> (raw)
In-Reply-To: <CACFAz8BpHQUROFcpG3+dG3XyUt0+8=zgcwkU4CTk3uuO0Z2c_w@mail.gmail.com>
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
next prev parent reply other threads:[~2022-12-04 23:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 17:27 Changing ethernet port speed Hamid Amirrad
2022-12-04 6:21 ` Bruce Ferrell
2022-12-04 8:18 ` [Phishing Risk] [External] " Zhang Jian
2022-12-04 23:45 ` Zev Weiss [this message]
2022-12-06 19:27 ` Hamid Amirrad
2022-12-06 21:39 ` Zev Weiss
2022-12-07 17:53 ` Hamid Amirrad
2022-12-07 19:47 ` Hamid Amirrad
2022-12-08 14:46 ` Hamid Amirrad
2022-12-09 6:59 ` Zev Weiss
2022-12-13 17:48 ` Hamid Amirrad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221204234449.GG18848@packtop \
--to=zweiss@equinix.com \
--cc=amirradh@gmail.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.