On 24/09/2021 04:32, Troy Lee wrote: > Hi Graeme, > > We'd like to ask you to dump SCU registers (0x1e6e2000 ~ 0x1e6e2fff) with your current image, then we could check the mac clock delay is correctly set. > You could use UART debug controller (datasheet section 11) if devmem is not available. > > Thanks, > Troy Lee Hi Troy, If I got my devmem magic correct then this is the dump of that memory region attached. Thanks Graeme >> -----Original Message----- >> From: Graeme Gregory >> Sent: Friday, September 24, 2021 5:23 AM >> To: Troy Lee ; OpenBMC Maillist >> >> Subject: Re: AST2600 EVB eth0 (MAC1) Issue >> >> On 23/09/2021 10:09, Troy Lee wrote: >>> Hi Gaeme, >>> >>> Which soc revision and evb board revision are you using? >>> Can you try to use phy-mode = "rgmii-rxid" for eth0/1 in your dts? >>> >>> Thanks, >>> Troy Lee >> Hi Troy, >> >> Soc Rev:- >> >> U-Boot 2019.04-00083-ge5902174d9-dirty (Sep 22 2021 - 15:10:03 +0000) >> >> SOC: AST2600-A1 >> >> >> EVB Rev:- >> >> AST2600-DDR4 EVB V1.4 >> >> >> phy-mode = "rgmii-rxid" instead of "rgmii" improves the issue and I now get >> DHCP on that interface, but packet loss is still hight compared to >> eth1 (MAC2). >> >> eth0 >> ping -f 192.168.222.119 >> PING 192.168.222.119 (192.168.222.119) 56(84) bytes of data. >> ................................................................................................................ >> ................................................................................................................ >> .............................................................................................^C >> --- 192.168.222.119 ping statistics --- >> 597 packets transmitted, 330 received, 44.7236% packet loss, time 6775ms >> rtt min/avg/max/mdev = 0.078/809.845/3266.263/1099.208 ms, pipe 205, >> ipg/ewma 11.367/30.024 ms >> >> eth1 >> ping -f 192.168.222.30 >> [sudo] password for ggregory: >> PING 192.168.222.30 (192.168.222.30) 56(84) bytes of data. >> .^C >> --- 192.168.222.30 ping statistics --- >> 50591 packets transmitted, 50590 received, 0.00197664% packet loss, time >> 5550ms rtt min/avg/max/mdev = 0.083/0.105/0.816/0.004 ms, ipg/ewma >> 0.109/0.104 ms >> >> Thanks >> >> Graeme >> >>>> -----Original Message----- >>>> From: openbmc >>> bounces+troy_lee=aspeedtech.com@lists.ozlabs.org> On Behalf Of >> Graeme >>>> Gregory >>>> Sent: Wednesday, September 22, 2021 11:49 PM >>>> To: OpenBMC Maillist >>>> Subject: AST2600 EVB eth0 (MAC1) Issue >>>> >>>> Hi, >>>> >>>> I know A0 versions of the AST2600 had an issue where eth0 was not >>>> working, but the errata indicates this is fixed in later revisions. >>>> >>>> I am seeing an issue on the EVB board though where eth0 (MAC1) is not >>>> functional. The other three ports all function as expected. >>>> >>>> On my DHCP host machine I can see DHCP requests from the AST2600, >> and >>>> replies are sent. Looking at /proc/interrupts it looks very much like >>>> no IRQs are ever generated for incoming packets. >>>> >>>> Thanks >>>> >>>> Graeme >>>>