Changing ethernet port speed
Hamid Amirrad
amirradh at gmail.com
Wed Dec 7 06:27:47 AEDT 2022
Hi,
I see that the u-boot has been recently upgraded to 2019.04.
I created the image as follows:
1. Checked out the code
2. . setup evb-ast2500
3. time bitbake obmc-phosphor-image
Then I copied the created image (bmc-image)
from /trunk/build/evb-ast2500/tmp/deploy/images/evb-ast2500/obmc-phosphor-image-evb-ast2500-20221122160306.static.mtd.all.tar
to my LC having BMC module. I used ./socflash.sh to upgrade the BMC image
to one just created. After upgrade is done, I still see the old u-boot
version (below). Is this something else I need to do for the u-boot to be
at revision 2019?
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
I am using BMC simulator on another server and on that the u-boot revision
is fine (below). Not sure why u-boot is not at 2019 when I compile the code
directly.
ast# version
U-Boot 2019.04 (Nov 10 2022 - 00:12:58 +0000)
arm-openbmc-linux-gnueabi-gcc (GCC) 12.2.0
GNU ld (GNU Binutils) 2.39.0.20220819
Any help would be greatly appreciated.
Thanks,
Hamid
On Sun, Dec 4, 2022 at 6:45 PM Zev Weiss <zweiss at equinix.com> wrote:
> 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 part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20221206/4849f1a6/attachment-0001.htm>
More information about the openbmc
mailing list