Page 1 of 1

vocore2 ethernet port 2

Posted: Mon Oct 24, 2016 4:49 pm
by schueler-maroldt
Hi Vonger,
my vocore2 is up now.
I have wired it to old hardware with 2 Ethernet, and uart1 uart2.
now i want to check the 2. Ethernet port.
I think there is a problem with pin sharing in "MediaTek MT7688 Datasheet" Page 26.
They do pin-sharing with
SPIS -> MDI_xx_P1
UART2 -> MDI_xx_P2
And you do
SPIS -> MDI_xx_P2
UART2 -> MDI_xx_P1
i think you are right, you have better dokumentation ?

I have extended "mt76x8_pinmux" to switch on the "ephy_p2" in the "1000003C AGPIO_CFG 32 Analog GPIO Configuration" to get it work, you can check it and take to github if you want.
Sorry i cannt upload "mtk-pinmux_1_ramips_24kec.ipk" binary.

if i switch:
"mt76x8_pinmux set ephy_p2 analog"
and put connect ethernet cable, its not stable:
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00

can some one check it for me ?
you can allso switch on Ethernet 0 LED with:
"mt76x8_pinmux set p0led_an p0led_an"

Regards
Joerg

Re: vocore2 ethernet port 2

Posted: Thu Dec 08, 2016 12:25 pm
by samcrawford
Hi,

Did you ever resolve this? I would also like to use the vocore2 with 2 ethernet ports.

Thanks,

Sam

Re: vocore2 ethernet port 2

Posted: Thu Dec 08, 2016 12:52 pm
by samcrawford
Hi,

Did you ever get this working? I would like to do the same

Sam

Re: vocore2 ethernet port 2

Posted: Fri Dec 09, 2016 3:36 pm
by Vonger
Current openwrt pinmux works fine, I am not sure I understand you.
You only need to change the AGPIO to ethernet mode, everything will work.