Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-08-02 Thread crow
Hi Jerome, On Wed, Jul 26, 2017 at 9:32 PM, Jerome Brunet wrote: > On Tue, 2017-07-25 at 18:56 +0200, crow wrote: >> Hi, >> Today I did test on ArchLinuxArm the Kernel v4.13-rc2. On downloading >> the linux git source the network will eventually get stalled. Here are >> the information >> >> Over

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-07-26 Thread Jerome Brunet
On Tue, 2017-07-25 at 18:56 +0200, crow wrote: > Hi, > Today I did test on ArchLinuxArm the Kernel v4.13-rc2. On downloading > the linux git source the network will eventually get stalled. Here are > the information > > Over SSH (network works). > > [root@alarm ~]# uname -a > Linux alarm 4.13.0-r

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-07-26 Thread Jerome Brunet
On Sun, 2017-06-11 at 08:31 +0200, crow wrote: > Hi Andrew, > > On Sat, Jun 10, 2017 at 5:27 PM, Andrew Lunn wrote: > > > Also what Martin Blumenstingl wrote is following which is also crucial > > > for fixing the issue: > > > Amlogic has given their ethernet PHY driver some updates [2], it now >

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-07-25 Thread crow
Hi, Today I did test on ArchLinuxArm the Kernel v4.13-rc2. On downloading the linux git source the network will eventually get stalled. Here are the information Over SSH (network works). [root@alarm ~]# uname -a Linux alarm 4.13.0-rc2-1-ARCH #1 SMP Mon Jul 24 20:02:50 MDT 2017 aarch64 GNU/Linux [

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-27 Thread crow
Hi, There are other user reporting same issue while using mainline kernel but using Ubuntu, so this is for sure not Distribution related. For me see the [0]. I hope someone would get time after 4.12 release to try fix this issue. Regards, [0] http://forum.khadas.com/t/ubuntu-server-rom-linux-mai

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-15 Thread crow
Hi, On Sun, Jun 11, 2017 at 7:03 PM, crow wrote: > Hi Andrew, > > On Sun, Jun 11, 2017 at 5:21 PM, Andrew Lunn wrote: >>> Thank your for the suggestion, and thanks Martin to explaining me over >>> IRC what actually I should do. >>> >>> I recompiled mainline kernel 4.12-rc4 with the Amlogic drive

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-11 Thread crow
Hi Andrew, On Sun, Jun 11, 2017 at 5:21 PM, Andrew Lunn wrote: >> Thank your for the suggestion, and thanks Martin to explaining me over >> IRC what actually I should do. >> >> I recompiled mainline kernel 4.12-rc4 with the Amlogic driver: >> replaced drivers/net/phy/meson-gxl.c with >> https://g

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-11 Thread Andrew Lunn
> Thank your for the suggestion, and thanks Martin to explaining me over > IRC what actually I should do. > > I recompiled mainline kernel 4.12-rc4 with the Amlogic driver: > replaced drivers/net/phy/meson-gxl.c with > https://github.com/khadas/linux/blob/ubuntu-4.9/drivers/amlogic/ethernet/phy/am

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-11 Thread crow
Hi Andrew On Sat, Jun 10, 2017 at 5:27 PM, Andrew Lunn wrote: >> Also what Martin Blumenstingl wrote is following which is also crucial >> for fixing the issue: >> Amlogic has given their ethernet PHY driver some updates [2], it now >> includes wake-on-lan, and they now have an internal_phy_read_

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-10 Thread crow
Hi Andrew, On Sat, Jun 10, 2017 at 5:27 PM, Andrew Lunn wrote: >> Also what Martin Blumenstingl wrote is following which is also crucial >> for fixing the issue: >> Amlogic has given their ethernet PHY driver some updates [2], it now >> includes wake-on-lan, and they now have an internal_phy_read

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-10 Thread Andrew Lunn
> Also what Martin Blumenstingl wrote is following which is also crucial > for fixing the issue: > Amlogic has given their ethernet PHY driver some updates [2], it now > includes wake-on-lan, and they now have an internal_phy_read_status > which uses reset_internal_phy if there's a link and some er

Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-10 Thread crow
Hi, On Thu, Jun 8, 2017 at 7:30 PM, crow wrote: > Hi, > I have here two problems with Khadas VIM Pro device and Ethernet. > > 1) sometimes with the Kernel Linux 4.12-rc4 the Ethernet link is Up > but only 10Mbps. > Don't work (either SSH to device nor over serial console to ping out) > meson8b-dw

ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic

2017-06-08 Thread crow
Hi, I have here two problems with Khadas VIM Pro device and Ethernet. 1) sometimes with the Kernel Linux 4.12-rc4 the Ethernet link is Up but only 10Mbps. Don't work (either SSH to device nor over serial console to ping out) meson8b-dwmac c941.ethernet eth0: Link is Up - 10Mbps/Half - flow con