Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic

New to the forum

115

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
115
Posted at 7/8/2015 20:12:51     
biomecanoid Posted at 7/8/2015 19:12
I decompiled the dtb file to dts

http://wikisend.com/download/520154/devicetree.dts.txt

Hi, great you may try to change the rx_delay to 0x10 leaving the tx_delay as it is - see this patch: http://lists.infradead.org/piper ... January/002282.html

Regarding the MAC address I am not entirely sure your syntax will work - I do it like this:

  1. mac-address = [ 00 e0 ee 02 05 2e ];
Copy the code


Likely white spaces won't matter really, but up to you!

I do suggest that you first try to solve your LAN speed issues, then work on the MAC ADDR at a second stage once the rest of the problems are gone - just my 2 cents!
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/8/2015 20:35:28     
Last edited by biomecanoid In 7/8/2015 20:53 Editor

Hi,

OK you have been right so far so i will trust you.

I will edit the file and then repack it

Now can i just flash/update ONLY the resource.img on my box without leaving everything else on my box untouched
( i have lots of program and games so it will be quite a feat to install everything again )

Since i want to try and be prepared for the worse case scenario, what will i do if i update the resource.img on my box and then it doesn't work/boot properly ?  i just flash the original resource.img ?

What would be the an acceptable speed to get from the Ethernet of the RK3288 box ?
I believe if i am reading this right that in this link:

https://bitbucket.org/T-Firefly/ ... 09b6e49325613e137ed

it says the opposite remove the 10 and replace it with a 20


Thanks
Reply

Use props Report

115

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
115
Posted at 7/9/2015 07:23:35     
Last edited by return0 In 7/9/2015 07:42 Editor
biomecanoid Posted at 7/8/2015 20:35
Hi,

OK you have been right so far so i will trust you.

Hi, yes you can flash only the resource.img file using the Rockchip tools - keep a backup of the original file, which as you figured will be handy in case something goes wrong (simply re-flash it).

The userdata partition is not erased unless you do it manually so your data will remain safe!

Your DTS already matches the patch you want to apply:

  1.         eth@ff290000 {
  2.                 compatible = "rockchip,rk3288-gmac";
  3.                 reg = <0xff290000 0x10000>;
  4.                 interrupts = <0x0 0x1b 0x4>;
  5.                 interrupt-names = "macirq";
  6.                 clocks = <0x67 0x79 0x0 0x79 0x1 0x79 0x2 0x79 0x3 0x7b 0x0 0x7b 0x1>;
  7.                 clock-names = "clk_mac", "mac_clk_rx", "mac_clk_tx", "clk_mac_ref", "clk_mac_refout", "aclk_mac", "pclk_mac";
  8.                 phy-mode = "rgmii";
  9.                 pinctrl-names = "default";
  10.                 pinctrl-0 = <0xe6 0xe7 0xe8 0xe9>;
  11.                 reset-gpio = <0x5 0x8 0x1>;
  12.                 clock_in_out = "input";
  13.                 tx_delay = <0x30>;
  14.                 rx_delay = <0x20>;
  15.         };
Copy the code


So if that's the fix (https://bitbucket.org/T-Firefly/ ... 09b6e49325613e137ed) then you actually don't need to do anything.

Can I ask how you came to the conclusion that your ethernet is slow? Are you 100% confident that it's not a problem in your LAN?

You mentioned:

My only problem is the very slow LAN and WiFi which is on a 10mbps level with trasfer so low as 1MB/s

LAN and WiFi are two completely differnet things in terms of hardware architecture - I struggle to believe that both have exactly the same issue unless the problem is within your network or the OS.

Also for the record, 1MB/s (megabyte, not megabit in this case) is actually not a bad speed at all if you're talking about a download from the Internet.

As you can see, WiFi has its own individual DTS node which would not be affected by whatever you change in the ethernet node:

  1.         wireless-wlan {
  2.                 compatible = "wlan-platdata";
  3.                 wifi_chip_type = "bcmwifi";
  4.                 sdio_vref = <0x708>;
  5.                 power_pmu_regulator = "act_ldo3";
  6.                 power_pmu_enable_level = <0x1>;
  7.                 vref_pmu_regulator = "act_ldo3";
  8.                 vref_pmu_enable_level = <0x1>;
  9.                 WIFI,poweren_gpio = <0x5 0x1c 0x0>;
  10.                 WIFI,host_wake_irq = <0x5 0x1e 0x0>;
  11.                 status = "okay";
  12.         };
Copy the code

What is the WiFi connection speed that you see when connected to your usual access point? What about ethernet?

Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/9/2015 15:38:33     

Also for the record, 1MB/s (megabyte, not megabit in this case) is actually not a bad speed at all if you're talking about a download from the Internet.

* This is Lan traffic off my NAS other computers have around 10-12 MB/s
From what i have seen the problem is in the negotiation, when i leave the bluetimes and my switch in the default settings everything is slow ( Tested several switches too ), when i force the ethernet port that the Bluetimes is connected to negotiate only @ 100mbps the speed jumps from 1MB/s to 7 MB/s.  So i am running this fix for  now

An old Acer Aspire one laptop works faster on the same cable the bluetimes is connected.

What is the WiFi connection speed that you see when connected to your usual access point? What about ethernet?

If i remember correctly the mikrotik access point states speeds of 65mbps but the actually speed on the WiFi coping a file from the NAS is 1MB/s

So if that's the fix (https://bitbucket.org/T-Firefly/ ... 09b6e49325613e137ed) then you actually don't need to do anything.



* How can we be sure what the fix is ?

Can I ask how you came to the conclusion that your ethernet is slow? Are you 100% confident that it's not a problem in your LAN?


*  The movies that stutter in the Bluetimes over wired ethernet play fine on my Smart TV over WiFi but the TV doesn't play back all the formats doesn't reproduce some movies with 5.1 surround audio, saying "File is unsupported", but what ever video is supported plays perfectly far better than in android.




Sadly yesterday i uploaded some new movies on my NAS and tried to update the XBMC library on the Bluetimes and it refused to connect to the internet, after trying several times it turned off never to turn on again, it blew its PSU ( 5v 3A ). So now i need a new psu and i hope the media player is not effected.


I suspect that the load on the PSU was too highy since i had a mouse, gamepad and 2.5 HD connected on the USB ports.




Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/9/2015 22:37:26     

I am thinking of buying this PSU for my android:

http://www.meanwell.com/mw_search/sd-25/sd-25-spec.pdf

SD-25A-5      5v  -  5A

What do you think ? i believe its future proof too, it will be compatible with any future android right ? all android boxes run on 5v correct ?

Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/14/2015 20:04:45     
??
Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 7/2/2016 10:54:16     
head soccer 2  is second generation two player game ofhead soccer    games serie! Funny sports heads soccer games are here for kids entertainment  head soccer unblocked and  soccer heads or  big head basketball  or big head soccer , big head football . Big Head Soccer championship is well known online soccer game , you can play big head basketball or Head Soccer also     Big Head Football  . Good  news for football games lovers! Another legendary football game which name is Big Head Football  with many interesting games   head soccer   and Big head soccer or big head basketball . Now choose big head basketball    . You can play free  head soccer   and Big head soccer . Big Head Football  is also good chose!
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list