Modify

Opened 23 months ago

Last modified 18 months ago

#22135 new defect

Unifi AP AC LR No ethernet on trunk [and solution]

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Trunk
Keywords: mii ag71xx ubiquiti unifiac Cc: blogic

Description

The unifiac port targets this device, but flashing that image will require a serial console to access. The root issue is that the mii_bus part of the ag71xx_platform_data is not populated by dev_eth.c.

The symptoms of the bug:
[ 0.680522] libphy: ag71xx_mdio: probed
[ 0.684622] ag71xx ag71xx.0: no MII bus device specified
[ 0.690117] ag71xx: probe of ag71xx.0 failed with error -22

After dirty patch below:

[ 0.663845] libphy: ag71xx_mdio: probed
[ 1.335853] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd074, driver=Atheros 8031/8033 ethernet]
[ 1.347180] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII

The attached patch fixes it, but obviously breaks everything else, so a more openwrt specific fix could be derived from it.

Attachments (1)

unifiac-ac-lr-eth.patch (1.7 KB) - added by anonymous 23 months ago.
Fixes ethernet on UAC AP LR

Download all attachments as: .zip

Change History (6)

Changed 23 months ago by anonymous

Fixes ethernet on UAC AP LR

comment:1 Changed 21 months ago by jannisch

I can confirm this issue.

comment:2 Changed 21 months ago by p.wassi

This should already be resolved in r49277.
I have some users which already reported back, that LR
worked fine with trunk.

comment:3 Changed 21 months ago by anonymous

You are right. I did not expect that it was configured as a router on the only ehternet port. After I was unable to find the device on my network I thought this issue applies.
Will add a note on the wiki.

comment:4 Changed 20 months ago by anonymous

Original ticket creator; it looks like r49277 does resolve this correctly.

comment:5 Changed 18 months ago by carloseduardobsi

it problem doesn't resolve yet

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.