[FS#1055] Youku YK1: No ethernet devices

LEDE Bugs lede-bugs at lists.infradead.org
Fri Oct 13 13:36:13 PDT 2017


The following task has a new comment added:

FS#1055 - Youku YK1: No ethernet devices
User who did this - Mathias Kresin (mkresin)

----------
I can provide an explanation now.

If you have a look at the switch part of the attached Functional Block Diagram of the mt7620 you can see that the build in switch has 4 Fast-Ethernet and 2 Gigabit Ethernet "ports".

The 4 FE switch ports (port 0-3) are always attached to the 5-Port E[mbedded]PHY. Switch Port 4 can be attached __either__ to the EPHY to have 5 usable RJ45 FE ports __or__ to an external phy (icplus ip1001 for example). Switch Port 5 can be only attached an external PHY.

In the end the following hardware configurations are possible:

- 4x EPHY (FE) + 2x external PHY (can be FE or GE)
- 5x EPHY (FE) + 1x external PHY (can be FE or GE)
- 1x external PHY (can be FE or GE)
- 2x external PHY (can be FE or GE)

I suspect for the YK1 the 2x external PHY hardware config is used and therefore the ephy_pins are not required/can be used for a different purpose (here GPIO).

If so, the default switch config ("0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6 at eth0") looks at least suspicious.

Would it be possible that you take a few pictures of the board and attach the pictures to this report. Even better would be if you create an article at the openwrt wiki for this board. I wasn't able to find any information about this board.

I'm interested in the actual switch config as well. Would you please run 'swconfig list' and 'swconfig dev  show' to check which switch ports get a link if you attach a cable to the RJ45 ports.
----------

One or more files have been attached.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1055#comment3602



More information about the lede-bugs mailing list