4 4
mboehmer

Rock PI 4

Recommended Posts

2 hours ago, pbies said:

I am asking if these OSes images are 64-bit!

Armbian images are always native kernel along with all packages, so if CPU is 64 bits, all the OS is 64 bits !

The only thing that could be different, and this is up to the user to install it, is when people wish to run specific "armhf" application on a "aarch64" board when such application doesn't exist in 64bits, they need to install proper 32bits libraries, as mentioned in :

 

 

Share this post


Link to post
Share on other sites

@martinayotte I am not asking about Armbian. I am asking about the mentioned OSes.

 

I have Armbian on armv7l and it is 32-bit. At least provided binaries are 32-bit.

 

I ask about bitness of the provided OSes for Rock Pi 4.

 

There is no Armbian for this board.

Share this post


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

@martinayotte I am not asking about Armbian. I am asking about the mentioned OSes.

  

I have Armbian on armv7l and it is 32-bit. At least provided binaries are 32-bit.

 

I ask about bitness of the provided OSes for Rock Pi 4.

 

There is no Armbian for this board.

 

The radxa people is working on Armbian support for this board. I think it will be soon to have Armbian on ROCK Pi 4.

Share this post


Link to post
Share on other sites

My Rock Pi 4B arrived today. I'm impressed by it. Very well designed.
Only bad point I've found until now is that the power LED is too bright.
Everything I've tested until now seems to work. On-board audio is no problem and very stable voltage on the USB ports. Some things the M4 does a bit less.

For who's interested here's my data until now.

Debian armhf
------------
Chromium+Firefox not working. Install Vivaldi browser :
wget https://downloads.vivaldi.com/stable/vivaldi-stable_1.13.1008.34-1_armhf.deb
sudo apt install gdebi
Open gdebi package installer, click open, go to Home folder and choose the vivaldi-stable....
Click install

Youtube playback 
----------------
Vivaldi : Best on 1080p 50% lost frames
          
No zram-config/zram-tools in repo's : Manual configuration should work

Temperatures
------------
No fan idle        : 50°C
No fan max load    : 90°C throttle
With fan idle      : 37°C
With fan max load  : 76°C

Power consumption
-----------------
Idle with fan                            : 0.26A @ 9.14V = 2.3W
Maxed out with fan                       : 1A @ 9.11V = 9.11W

Very stable 5V on USB. With 1A load on USB + maxed out CPU + 5V fan it remains stable at 5V


Blender BMW 1080p
-----------------
armhf Debian       : 1h58m04s


SBC-Bench
---------

No fan   - small heatsink : http://ix.io/1uP8
With fan - small heatsink : http://ix.io/1uPr


+ Raspi compatible MIPI CSI/DSI
+ M.2 slot for NVME SATA
+ USB3 ports each have a seperate controller

- Too bright power LED/Check if it can be accessed
- High throttle temp 90°C
- SD-card sticks out a lot

Difference with Model A
-----------------------
Model A : No WIFI
          No PoE
		  
Difference with NanoPi M4
-------------------------
RockPi 4  : Has M.2 slot
            USB3 ports have seperate controllers
            CSI/DSI are RPI compatible
            LPDDR4
            Powered with USB Type C PD 2.0, 9V/2A, 12V/2A, 15V/2A, 20V/2A
NanoPi M4 : Has a better stock heatsink(there are bigger heatsinks for the RPI4B)
            CSI/DSI are proprietary
            DDR3 
            Powered with 5V


 

Share this post


Link to post
Share on other sites

cpuinfo:

processor	: 0
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

lscpu:

Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              6
On-line CPU(s) list: 0-5
Thread(s) per core:  1
Core(s) per socket:  3
Socket(s):           2
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1800.0000
CPU min MHz:         408.0000
BogoMIPS:            48.00
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32

uname -a:

Linux rock 4.4.154-ge0ce80a-dirty #6 SMP Fri Nov 23 16:58:02 CST 2018 aarch64 aarch64 aarch64 GNU/Linux

dmesg attached.

dmesg.txt

Share this post


Link to post
Share on other sites

No heatsink, no fan.

 

$ stress-ng --cpu 1 --cpu-method matrixprod --metrics-brief -t 60
stress-ng: info:  [1125] successful run completed in 60.22s (1 min, 0.22 secs)
stress-ng: info:  [1125] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [1125]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [1125] cpu                 253     60.22     60.19      0.00         4.20         4.20
$ stress-ng --cpu 6 --cpu-method matrixprod --metrics-brief -t 60
stress-ng: info:  [1147] successful run completed in 60.30s (1 min, 0.30 secs)
stress-ng: info:  [1147] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [1147]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [1147] cpu                 793     60.20    359.21      0.08        13.17         2.21
$ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=1 --max-time=60 run
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Prime numbers limit: 20000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:   701.24

General statistics:
    total time:                          60.0014s
    total number of events:              42084

Latency (ms):
         min:                                  1.42
         avg:                                  1.42
         max:                                  6.72
         95th percentile:                      1.42
         sum:                              59964.36

Threads fairness:
    events (avg/stddev):           42084.0000/0.00
    execution time (avg/stddev):   59.9644/0.00
$ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=6 --max-time=60 run
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 6
Initializing random number generator from current time


Prime numbers limit: 20000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:  2237.70

General statistics:
    total time:                          60.0024s
    total number of events:              134280

Latency (ms):
         min:                                  1.42
         avg:                                  2.68
         max:                                 22.67
         95th percentile:                      3.62
         sum:                             359842.66

Threads fairness:
    events (avg/stddev):           22380.0000/8091.23
    execution time (avg/stddev):   59.9738/0.01
$ 7z b
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=pl_PL.UTF-8,Utf16=on,HugeFiles=on,64 bits,6 CPUs LE)

LE
CPU Freq:  1064   979   894  1260  1651  1792  1792  1792  1792

RAM size:    3812 MB,  # CPU hardware threads:   6
RAM usage:   1323 MB,  # Benchmark threads:      6

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       4218   478    858   4104  |      92601   523   1509   7897
23:       4035   494    833   4112  |      87611   544   1394   7581
24:       3793   516    791   4079  |      84930   564   1323   7455
25:       3592   530    774   4102  |      81479   586   1237   7251
----------------------------------  | ------------------------------
Avr:             504    814   4099  |              554   1365   7546
Tot:             529   1090   5823

7z b: 1.609 more total MIPS than RPi 3B+ with fan.

Share this post


Link to post
Share on other sites
3 hours ago, pbies said:

No heatsink, no fan.

Don't use it without a heatsink/fan. The throttling isn't set right in any of the OS'es. It only throttles the big cores, and so the temperature keeps rising.
Here my temps with a heatsink
 

Debian armhf
 No fan idle        : 50°C
 No fan max load    : 85°C throttle keeps rising to +90°C
 With fan idle      : 37°C
 With fan max load  : 77°C
Ubuntu arm64
 No fan idle        : 56°C
 No fan max load    : 85°C throttle keeps rising to 95°C 
 With fan idle      : 38°C
 With fan max load  : 83°C

I bet without a heatsink it will rise quicker and higher. Maybe to +100°C.
I told them, and they're working on it, I don't think it's fixed yet. Just wanted to let you know before you cook it.

Here you see what happens.
 

System health while running 7-zip multi core benchmark:

Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   Temp
14:38:16: 1416/1416MHz  4.78  16%   0%  15%   0%   0%   0%  86.9°C
14:38:40: 1200/1416MHz  5.34  80%   1%  79%   0%   0%   0%  89.4°C
14:39:00: 1008/1416MHz  5.70  90%   1%  88%   0%   0%   0%  90.0°C
14:39:22: 1008/1416MHz  6.01  85%   2%  83%   0%   0%   0%  90.0°C
14:39:43: 1008/1416MHz  5.66  80%   1%  79%   0%   0%   0%  89.4°C
14:40:03: 1008/1416MHz  5.83  88%   1%  87%   0%   0%   0%  91.1°C
14:40:23: 1008/1416MHz  5.72  87%   1%  86%   0%   0%   0%  91.7°C
14:40:44: 1008/1416MHz  5.54  85%   1%  83%   0%   0%   0%  90.6°C
14:41:04: 1200/1416MHz  5.45  80%   1%  78%   0%   0%   0%  90.0°C
14:41:25: 1008/1416MHz  5.74  89%   1%  88%   0%   0%   0%  92.2°C
14:41:46:  816/1416MHz  5.95  87%   1%  85%   0%   0%   0%  92.2°C
14:42:07: 1008/1416MHz  6.38  84%   1%  83%   0%   0%   0%  92.2°C

System health while running cpuminer:

Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   Temp
14:42:24: 1800/1416MHz  6.02  23%   0%  22%   0%   0%   0%  91.1°C
14:42:48:  816/1416MHz  6.01  99%   0%  99%   0%   0%   0%  93.3°C
14:43:13:  816/1416MHz  6.06 100%   0%  99%   0%   0%   0%  93.9°C
14:43:38:  600/1416MHz  6.12 100%   0%  99%   0%   0%   0%  93.9°C
14:44:04:  600/1416MHz  6.21 100%   0%  99%   0%   0%   0%  93.9°C
14:44:29:  600/1416MHz  6.20 100%   0%  99%   0%   0%   0%  93.9°C
14:44:54:  600/1416MHz  6.31 100%   0%  99%   0%   0%   0%  94.4°C
14:45:18:  600/1416MHz  6.26 100%   0%  99%   0%   0%   0%  94.4°C

 

Share this post


Link to post
Share on other sites

 But it is an awesome board tho. I love it even more than my NanoPi M4. I'm testing images for them now, RecalBox is awesome.
I made a video about it, but I've got to wait to release until they'll release the image.

They seem to put a lot of energy in software. So there it beats all the others. And it's Raspberry compatible with a lot of things. So it could become a very well selled board.

Share this post


Link to post
Share on other sites
3 hours ago, pbies said:

@Dante4 unfortunately there are some countries which they are not shipping to. Poland is one of them.

 

Well, to be precise to whole EU (UK is not part of EU for them now). For EU there are special distributors, but that such pain to deal with them (one require special account to be able to order and other cost just huge), so maybe it will be simplier (and cheapier) to use some trustworthy man-in-the-middle outside of EU. 

Share this post


Link to post
Share on other sites

I just did the most recent apt upgrade/update and I noticed a change in htop. Before it would report CPU temp and core frequencies. Both of those are gone now. Does anyone know if this is a change with htop or rockpi firmware? I thought that was nice info to have in htop.

Share this post


Link to post
Share on other sites

Hi guys,

 

I bought this sbc a few days ago and I love it! I will be a server and a controler for my hydroponic system, once :D

I am using Armbian system provided by radxa, not the nightly build downloaded from armbian directly, with mainline kernel 4.4. But the gpu performance seems to be quite slow. The whole ui and web browsing has a low fps. I've triet to build panfrost driver for mali gpu but it didn't help. Do you guys use some other gpu driver or are you ok with the performance?

Share this post


Link to post
Share on other sites
36 minutes ago, Ľubo Jurčišin said:

Do you guys use some other gpu driver or are you ok with the performance?

This is what we use. It is meant to be applied on an Armbian Bionic Default image:

 

Share this post


Link to post
Share on other sites

Thanks, 

I will try it.

I've tried Armbian Bionic (same as Armbian Stretch) nightly builds before, but I had no Wifi and max resolution was 1920x1080 (I have 2k monitor). Plus I did not see mali0 under /dev. 

So I thought there's missing mali driver.

 

I am new in linux so sorry for noob questions...

 

EDIT: 

On 2/22/2019 at 11:32 PM, JMCC said:

This is what we use. It is meant to be applied on an Armbian Bionic Default image:

 

JMCC, what did you mean Armbian Bionic Default image? 

I've found only nightly builds working with kernel 4.2, updating kernel to 4.4 caused boot failure.

On the https://dl.armbian.com/rockpi-4b/,  in the "Archive" folder I found 5.75 versions of Armbian with 4.4.174 kernels, but no boot again. Just red led blinking...

 

So I did not find a way how to get armbian bionic working with 4.4 kernel.

What am I missing?

Edited by Ľubo Jurčišin

Share this post


Link to post
Share on other sites

rockpi 4 ARMBIAN 5.74.190202 nightly Debian  GNU/Linux 9 (stretch) 4.20.0-rockchip64

could someone help me to take uart0, 1, 3.
uart2 works , pin 8, 10

 

root@rockpi:~# ls /dev/ttyS*
/dev/ttyS0  /dev/ttyS1  /dev/ttyS2  /dev/ttyS3

i dont need serial console

 

step by step and simply

Share this post


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

step by step and simply

 

You need to install DT compiler from : http://ftp.debian.org/debian/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-3_arm64.deb

 

Backup /boot/dtb/rockchip/rk3399-rockpi4b.dtb into /boot/dtb/rockchip/rk3399-rockpi4b.dtb-ORIG

 

Decompile the DTB into DTS :

dtc -@ -I dtb -O dts -o rk3399-rockpi4b.dts-4.20.0 /boot/dtb/rockchip/rk3399-rockpi4b.dtb

Edit the file rk3399-rockpi4b.dts-4.20.0 by changing all the serial node from "disabled" to "okay", then recompile DTB :

dtc -@ -I dts -O dtb -o /boot/dtb/rockchip/rk3399-rockpi4b.dtb rk3399-rockpi4b.dts-4.20.0

 

Share this post


Link to post
Share on other sites

Thank you very much for script, /dev/ttyS1 and /dev/ttyS2 also, two other not work

I'm trying them again but two uarts is fine

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
4 4