Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

New to the forum

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45

New to the forum

Posted at 7/6/2015 08:27:40      View:10077 | Replies:16        Print     [Copy Link] 1#

Hello guys,

I like your site i see that you try and develop new things around android.
I am sad to say that i didn't know the firefly platform earlier and now i am stuck now with another RK3288 platform.

My question to you now is if you are willing to try and help me tweak android even though i run on a different device .

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

I understand that i must edit my resource file and modify the tx / rx delay.

Can you be so kind and to help me out with the procedure to modify and flash the new resource file on my android ?

Thanks a lot
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/6/2015 18:11:07      2#

Thanks for your quick reply,

I can provide you with all the details you need.

i have this box :

http://www.ebay.com/itm/11156699 ... =STRK%3AMEBIDX%3AIT
http://www.aliexpress.com/item/B ... -2K/2021695712.html

eBluetimes Qpro

Here you can even see the PCB inside the casing :

http://freaktab.com/forum/tv-pla ... RK3288-boxes/page1=

The LAN interface is pre-built on the board, I have asked the manufacturer and they only direct me to new firmware images that don't solve the problem.

Also the newer images suggested by the manufacturer have the SPDIF pass-thru broken so i am stuck to an older version where  the sound works properly.

My Firmware is this one:

2015.2.7 QproPlus New software.zip
https://www.sendspace.com/file/mrv2vb

According to what i have found online i should extract the img file find a resource file and a .dts file and change the rx / tx delay there.
but so far i am unable to extract the img file and locate the file that i need to amend.

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

If with you help i manage to perform the changes can i just flash the the files i change or i should flash the whole box and lose all the data on it  (XBMC Games etc ) ?

The Flashing procedure is exactly as you describe it on your link:
http://wiki.t-firefly.com/index.php/Firefly-RK3288/Flash_image/en

That's what i used to test newer images, but now i need something more, i need to edit the firmware i know its working properly on my box and apply the TCP/IP  rx / tx fix

I would really appreciate all the help you can give me, slow LAN and WiFi is the only downside on my android box and if you help me fix that i would be more than happy.

Best Regards
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/6/2015 20:50:57      3#

The file on sendspace if you unzip it has the drivers for the PC, the flashing tool, instructions and the image file: BluetimesQpro-plus-rk3288-_AP6330_public_20150207.img

I don't know how to extract img file to get to the files inside and sadly i don't have the kernel sources

Maybe you can download my firmware from sendspace and have a look ?
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/7/2015 16:23:24      4#

Any hints on how i can continue will be highly appreciated
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/8/2015 17:22:17      5#
Hi,

Thanks for the instructions. The wiki was easy enough to follow

here is my resource.img:

http://wikisend.com/download/207998/resource.img
http://www.filedropper.com/resource_1
http://s000.tinyupload.com/index.php?file_id=41678291015919859085

So whats the next step how do i edit the resource file ?

I get the following error:

sudo mount -o loop resource.img /mnt/resource

NTFS signature is missing.
Failed to mount '/dev/loop0': Invalid argument
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
root@HP-ProBook-4320s:/home/support/img/update/Image#


fdisk says the image is not valid

fdisk -l resource.img[

Disk resource.img: 0 MB, 116736 bytes
255 heads, 63 sectors/track, 0 cylinders, total 228 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk resource.img doesn't contain a valid partition table

Also can not unpack boot.img

afptool -unpack boot.img boot
Invalid header magic
UnPack failed

Best Regards
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/8/2015 17:58:39      6#

I was able to extract resource.img with ResTool.exe

Here is the file:

http://wikisend.com/download/794552/rk-kernel.dtb

How do i edit that now ?
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/8/2015 19:12:36      7#
Last edited by biomecanoid In 7/8/2015 19:43 Editor

I decompiled the dtb file to dts

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


the rx - tx delay is as follows:

tx_delay = <0x30>;
rx_delay = <0x20>;

What should i change the values to ?
should i just change the rx_delay to 10 ?

can i also add a mac address under tx - rx delay like this ? :
mac-address = [3e0c7948d74e];    #Mac address is 3e:0c:79:48:d7:4e
Reply

Use props Report

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
45
Posted at 7/8/2015 20:35:28      8#
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

45

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

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

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      10#

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

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