Modify

Opened 5 years ago

Closed 5 years ago

#13203 closed defect (not_a_bug)

Atheros DB120 reference board suffers ping 100% loss issue.ag71xx issue ?

Reported by: banglang7@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: ag71xx phy ping loss Cc:

Description

My hardware is Atheros DB120 board,I found my board's eth0 interface is abnormal after I changed my phy port.It's more likely a issue about ag71xx driver.
and my ethernet setting at arch/mips/ath79/mach-db120.c is:

ath79_register_mdio(0, ~(BIT(5)));

ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ath79_eth0_data.phy_mask = BIT(5);default is BIT(0)
ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev;
ath79_eth0_pll_data.pll_1000 = 0x06000000;
ath79_eth0_data.duplex = DUPLEX_FULL;
ath79_register_eth(0);

If I modified the th79_eth0_pll_data.pll_1000 to 0x46000000

(set the 1805002c GIGE_QUAD bit),then it can ping but still has 3%-5% or even more ping loss.strange! I realy want to know is there any issue with ag71xx relevant code ?

sectional bootlog is:
Starting kernel ...

......
......

[ 0.650000] libphy: ag71xx_mdio: probed
[ 0.650000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.470000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:05 [uid=004dd072, driver=Generic PHY]

root@OpenWrt:/# ping 192.168.1.99
PING 192.168.1.99 (192.168.1.99): 56 data bytes
C
--- 192.168.1.99 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/#

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

Is there anyone would like to help?

comment:2 Changed 5 years ago by nbd

  • Resolution set to not_a_bug
  • Status changed from new to closed

Why did you modify the PHY mask? Are you using a custom board? This does not look like an OpenWrt bug to me.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.