10 10
balbes150

Armbian for TV box rk3328

Recommended Posts

Following mx10-fast example changed t9 dtb

trip-point-0 temperature to 90000

trip-point-1 temperature to 105000

No discernable difference yet...

 

and gpu-opp-table + dmc-opp-table -> better desktop performance?

 

changed

        opp-1392000000 {
            opp-hz = <0x0 0x52f83c00>;
            opp-microvolt = <1350000>;
            opp-microvolt-L0 = <1350000>;
            opp-microvolt-L1 = <1325000>;
            clock-latency-ns = <0x9c40>;
Now running 1.392 :thumbup: 

Let's see stability...

 

sysbench --test=memory --memory-block-size=1M --memory-total-size=100G --num-threads=1 run

1921.72 MiB/sec compared to 3006.54 MiB/sec on MX10

 

rk3328-t9-fast-gpu-dmc-1.3.dts

Share this post


Link to post
Share on other sites

Hi,  first of all i would like to thank balbes150 and all members who helped on this topic,

i share my experience and hope that could help others,

 

i have an MXR PRO 4gb 32gb emmc (gearbest link) and this box doesn't boot from SD (i tried all the tips given but no way),

the solution to install armbian on this box is to write it directly to the emmc,


1) Put your box in maskrom mode by erasing the flash with AndroidTool or other tool


2) Unpack a rom that is compatible with your box to extract the MiniLoaderAll.bin
    Use AndroidTool or RK3066_IMG_Mod_Tool to unpack on Windows


3) Download and extract Armbian_5.82_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20190427.img from the *img.xz


4) Use rkdeveloptool On linux to flash the emmc (i use Ubuntu 16.04 on a VM)
        Thanks to Gergely from freaktab for the tips(freaktab topic)
        Link to install rkdeveloptool on linux wiki.radxa.com post)

sudo ./rkdeveloptool db images/MiniLoaderAll.bin
sudo ./rkdeveloptool wl 0x0 images/armbian.img
sudo ./rkdeveloptool ul images/MiniLoaderAll.bin
sudo ./rkdeveloptool rd

if you have a Creating Comm Object failed!
execute this command (https://wiki.radxa.com/Rock/flash_the_image#Creating_Comm_Object_failed.21)

echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/51-android.rules

With those manipulations my box boots with armbian ethernet is working, 

but i don't know if the performance could be improved, if someone can give me tips to check if can i improve the performance i am volunteer,
Thanks

Share this post


Link to post
Share on other sites

@balbes150 - do you remember where the mx10-fast dtb is coming from or do you know, what exactly makes it faster? i compared it to the normal mx10 dtb on an mx10 box and it is indeed about 10% faster ... then i compared the two dts files, but the differences are huge and the mx10-fast looks more like a modified evb dts. i'm doing all this to find out, if it is posssible to speed up the t9 box a bit as well - it is with my t9 dtb as fast as the mx10 box with the regular mx10 dtb. comparing all those dts files the only obvious differences which might be relevant for the speed are the ddr timing (which is nearly the same for the mx10-fast as for my t9 dtb, so not much to gain here), the cpu opp tables (also very similar, only the mx10-fast dtb uses higher voltages than the others) and the dmc opp tables (same as for the cpu opp tables). i think that only rasing the voltages doe not speed up anything without raising the clocks too and will just produce more heat - right?

 

in general the mx10-fast dtb is at 1296mhz comparable to an amlogic s905w at 1200mhz (i.e. only a few percent faster), but with the non fast dtbs those rk3328 boxes seem to be about 10% slower than the amlogic ones at the same/similar clock speed and this does not really make too much sense as they are all using a53 cores and their performance scales nearly linearly with clock speed (for instance a raspberry bit 3b at 1.2ghz has nearly exactly the same cpu performance like an amlogic s905w at 1.2ghz).

Share this post


Link to post
Share on other sites
1 hour ago, amirul said:

Wonder if Armbian would run this?

Try it and tell the others :)

 

 

PS I do not have such equipment, I do not know whether it will work or not.

Share this post


Link to post
Share on other sites
1 hour ago, balbes150 said:

Try it and tell the others :)

 

 

PS I do not have such equipment, I do not know whether it will work or not.

I am tempted to, its cheap enough but maybe lets wait for more info on the rk3318

Share this post


Link to post
Share on other sites

here is the latest round of my dtb for t9 and h96max+ rk3328 tv boxes - changes since last version:

  • properly enable dmc (i think this allows better memory timing)
  • raise voltage for the 1.392ghz clock (disabled by default) to the values which worked for @amirul as well
  • raise thermal trip points slightly to 85/95/110 degree celsius
  • add a rk3328-t9-fast.dtb which has the 1.392ghz cpu clock and higher memory clocks enabled (the 1.512ghz cpu clock is still disabled by default as its likely not working or too unstable in most cases)

the cpu performance ist about 5-10% better than my last t9 dtb for the regular t9 dtb and about 10-15% better than my last t9 dtb for the t9-fast dtb and as such the cpu performance is now about even with the mx10 box one ... i noticed that the usb2 port might be a bit unstable at times, so better use the usb3 port - maybe this is a general problem for rk3328 boards ...

 

best wishes - hexdump

rk3328-t9.dts rk3328-t9.dtb rk3328-t9-dtb.diff rk3328-t9-fast.dtb rk3328-t9-fast.dts rk3328-t9-fast-dtb.diff

Share this post


Link to post
Share on other sites
7 hours ago, hexdump said:

here is the latest round of my dtb for t9 and h96max+ rk3328 tv boxes - changes since last version:

  • properly enable dmc (i think this allows better memory timing)
  • raise voltage for the 1.392ghz clock (disabled by default) to the values which worked for @amirul as well
  • raise thermal trip points slightly to 85/95/110 degree celsius
  • add a rk3328-t9-fast.dtb which has the 1.392ghz cpu clock and higher memory clocks enabled (the 1.512ghz cpu clock is still disabled by default as its likely not working or too unstable in most cases)

the cpu performance ist about 5-10% better than my last t9 dtb for the regular t9 dtb and about 10-15% better than my last t9 dtb for the t9-fast dtb and as such the cpu performance is now about even with the mx10 box one ... i noticed that the usb2 port might be a bit unstable at times, so better use the usb3 port - maybe this is a general problem for rk3328 boards ...

 

best wishes - hexdump

rk3328-t9.dts 81.71 kB · 2 downloads rk3328-t9.dtb 68.64 kB · 2 downloads rk3328-t9-dtb.diff 18.09 kB · 2 downloads rk3328-t9-fast.dtb 68.63 kB · 2 downloads rk3328-t9-fast.dts 81.7 kB · 2 downloads rk3328-t9-fast-dtb.diff 18.08 kB · 2 downloads

rk3328-t9 works for me.

rk3328-t9-fast gets random lock-ups :(

Share this post


Link to post
Share on other sites

@amirul - can you please try to set the two entries with status = "okay" in the dmc-opp-table section to status = "disabled" in t9-fast and check if this runs more reliable? the opp-table entry now uses the voltage, which worked for you, so that should not be the problem.

 

best wishes - hexdump

Share this post


Link to post
Share on other sites
8 hours ago, hexdump said:

@amirul - can you please try to set the two entries with status = "okay" in the dmc-opp-table section to status = "disabled" in t9-fast and check if this runs more reliable? the opp-table entry now uses the voltage, which worked for you, so that should not be the problem.

 

best wishes - hexdump

Stable so far. :)

...nope, still locks up after a while

Edited by amirul
update

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
10 10