Rothirsch Technologies Hintergrund


Tests and other stuff on a BananaPi bpi-r2

For any further help, please feel free to use the documentation or the forum on

Download and flash to sdCard

For our tests we’ll use the CLI (command line interface) version of Armbian. Download the image from


Flash it with 7zip piped to dd

sudo apt update && sudo apt install p7zip

Search for your sdCard and unmount all partitions. Maybe blkid helps here.

sudo umount /dev/mmcblk0p*
sudo 7za x Debian_stretch_default.7z -so | sudo dd of=/dev/mmcblk0 bs=4M


After I plugged in the sdCard and the power supply to the board nothing happend in the first place. I realized that you have to push the power button for at least 8 seconds. Count to 10 and you’ll be fine. I think the maintainer implemented this so that hard disks (if used) can start up before the OS boots. The bpi-r2 has 3 small (RGB) LEDs on the board. You’ll see that all LEDs are lighting up and after approx 8 seconds only the green light is on until Armbian starts to boot. Afterwards the red light will switch on and the green light will switch off.

Configure over UART

You can either configure the operating system with UART over USB, see here or

Configure over SSH

you configure it over SSH. Therefore I did a scan on my network with nmap do find the new board

I did a scan on my network with nmap do find the new board

sudo nmap -sn

If you are not sure wich of them are the new one you can scan each of them or try to connect to ssh port 22.

sudo nmap -A
Starting Nmap 7.40 ( ) at 2018-05-14 17:04 CEST
Nmap scan report for
Host is up (0.00021s latency).
Not shown: 999 closed ports
22/tcp open ssh OpenSSH 7.4p1 Debian 10+deb9u2 (protocol 2.0)
| ssh-hostkey:
| 2048 … (RSA)
|_ 256 … (ECDSA)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at .
Nmap done: 1 IP address (1 host up) scanned in 0.82 seconds

So we can connect to the board over SSH port 22. The password is 1234

ssh -p 22 root@
The authenticity of host ‘ (’ can’t be established.
ECDSA key fingerprint is SHA256:…
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘’ (ECDSA) to the list of known hosts.
root@’s password:

Besides that you can see hardware information you have to change your password.

First Start


Unfortunately the board is not official supported by Armbian. This is because the maintainer of the bpi-r2 is not that accurate with information about there products. Nevertheless, the developers at Armbian working hard on getting ARM boards to run. So why not donate to them if you can do something with your board. You can directly donate to them over their site. A second option is, that you buy the bpi-r2 directly over our site!bpi-r2. We will donate an euro to Armbian for each board we sell.

Preparing the system for testing purpose

Before we do a few benchmarks we upgrade the system first.

apt update && apt -y upgrade

Executing sysbench

sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!

Maximum prime number checked in CPU test: 20000

Test execution summary:
  total time: 419.5821s
  total number of events: 10000
  total time taken by event execution: 419.5696
  per-request statistics:
      min: 41.92ms
      avg: 41.96ms
      max: 143.04ms
      approx. 95 percentile: 41.98ms

Threads fairness:
  events (avg/stddev): 10000.0000/0.00
  execution time (avg/stddev): 419.5696/0.00


7z to dd


bpi-r2 over UART

This site represents a simple test for UART function on a bpi-r2.

For the test I used

  • bpi-r2 v1.1 and 1.2
  • Betemcu: BTE13-007 USB2TTL Adapter
  • Armbian as operating system


Some sites report that a wrong connection to the PINs could destroy the board. So please be careful.


The TX and RX PINs are crossed on my configuration. So I have to plug in the TX Pin on the USB connector to RX on the Banana Pi board and vice versa.

USB to TTL for UART connections


How to connect

Plug in the 3 PINs on the Banana Pi and connect it with your PC or Notebook. On this device open a terminal and run

screen /dev/ttyUSB0 115200

Now you can start the Banana Pi and the control it over your host.

Banana Pi Invasion