Poor wired network speed with Android

I received my Firefly RK3288 a few days ago and have been running XBMC in Android. When connected through a wired LAN cable to my home network, streaming playback is often halting for “Buffering…X%”. Disconnecting the cable, running wifi instead gives better, albeit not perfect, performance. Today I measured the network speed on the four different variants and the results were as follows:

                Wifi                Wired

Android 40-50 Mbps 2-3 Mbps

Lubuntu 40-50 Mbps 40-50 Mbps

For some reason the wired LAN connection doesn’t work properly under Android, while I get not problem under Lubuntu. Hence, it doesn’t look as if it is hardware related.

Any ideas?

Thanks,

Tomas

Hi Tomas ,

I got exactly the same problem here under android AND linux. here are my statements . Network transfert is ugly when speed is 1000 FULL Negociated or Fixed.

If you force 100/Full on your interface (i dont know how to make it on Android) iperf indicated about 90MB.

I dont know if it’s hardware side or kernel side but the problem is here with all linux/android (even self compile) image i tried. I tried with an other giga switch , problem is the same.

I dont know if Firefly staff is around but i never receive “Real” answer for my problem

Pacopad

Our team is working on this problem.

Happy to hear that team is on the way : )

Best regards

Pacopad

find out a way to solve this problem.

only debug rx_delay can solve. Only for 1000Speed

kernel/arch/arm/boot/dts/firefly-rk3288.dts

&gmac {
//      pmu_regulator = "act_ldo5";
//      pmu_enable_level = <1>; //1->HIGH, 0->LOW
//      power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
        reset-gpio = <&gpio4 GPIO_B0 GPIO_ACTIVE_LOW>;
        phy-mode = "rgmii";
        clock_in_out = "input";
        tx_delay = <0x30>;
        rx_delay = <0x16>;

I try to modify rx_delay = <0x16> , the speed finally get well . of course , I try 0x14 or 0x18.

Both of we can modify rx_delay to try to fix this problem.

Hi ,

i’ll try that ASAP?

Thank you for posting

Pacopad

I tried modified parameter, But it is not working on Ubuntu with modified 0x16 rx_delay. It works only for minutes with eth0 gigabit interface, and it stops network functionality. It is very unstable on Ubuntu.?

Thank you Leungtek, you are a chief

[ 4] local 192.168.1.1 port 49954 connected with 192.168.1.73 port 5001

[ ID] Interval Transfer Bandwidth

[ 4] 0.0- 2.0 sec 178 MBytes 748 Mbits/sec

[ 4] 2.0- 4.0 sec 176 MBytes 737 Mbits/sec

[ 4] 4.0- 6.0 sec 174 MBytes 731 Mbits/sec

[ 4] 6.0- 8.0 sec 179 MBytes 751 Mbits/sec

[ 4] 8.0-10.0 sec 183 MBytes 769 Mbits/sec

Seems to work well with Android

Pacopad

I tried on Unbuntu with this delay but I stops network functionality. Do you have any problem with 0x16 rx_delay? Could you let me know to how to fix a slow problem on Unbuntu?

@leungtek: As I am not a developer,?I kind of meant some further instructions on where/how to find and modify the file referred to.?

Thank you.

@leungtek: As I am not a developer,?I kind of meant some further instructions on where/how to find and modify the file referred to.

modify this file? (kernel/arch/arm/boot/dts/firefly-rk3288.dts)

&gmac {/pmu_regulator = "act_ldo5";/pmu_enable_level = <1>; /1->HIGH, 0->LOW/power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;reset-gpio = <&gpio4 GPIO_B0 GPIO_ACTIVE_LOW>;phy-mode = "rgmii";clock_in_out = "input";tx_delay = <0x30>;rx_delay = <0x16>; /modify here . or modify larger

you can scan WIKI-FIREFLY .

Sorry for being lazy. I will check out the wiki.

I’m in awe of your article, thank you for sharing! We’re providing Test C_ABAPD_2507 dates at no cost, packed with rich material to support your learning.

Your article has left me in awe, thank you for sharing such a gem! Upgrade your IT knowledge with free Latest 1z0-1057-25 exam forum. Wishing you all the best!

I’m deeply moved by this article, thank you for sharing it! Exam DEP-2025 collection pdf has fantastic materials, and it’s offered to you free of charge.