Rothirsch Technologies Hintergrund

bpi-m2p

Set up banana-pi-m2-plus with emmc storage and install teamviewer

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

Where you can get it

We sell this board in Europe over Amazon. You can get more information on this site http://bpi.rothirsch.tech/#!bpi-m2p

Download and flash to sdCard

For our tests we'll use the CLI (command line interface) version of Armbian. Download the image from https://www.armbian.com/banana-pi-m2-plus/

wget https://dl.armbian.com/bananapim2plus/Debian_stretch_next.7z

Flash it with 7zip piped to dd

sudo apt update && sudo apt install p7zip

Find your SD card with sudo blkid and unmount it

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

Boot

Insert the sD card into the banana-pi-m2-plus plug in the network cable and a monitor before you start the device.

On your banana-pi-m2-plus login with password '1234' and update the system

apt-get -y update && apt-get -y upgrade

Then install XFCE and dependencies

apt-get -y install xorg lightdm xfce4 tango-icon-theme gnome-icon-theme

Reboot and you will see the gui Next you can install teamviewer

wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb
dpg -i teamviewer-host_armhf.deb
apt-get -f install

Now that everything is installed you can transport the operating system to the emmc storage with armbians tool nand-sata-install. This will take a few minutes.

nand-sata-install

nand-sata-install

Finishing up

As soon as this is finished power off the system and remove the sdCard

Teamviewer on a bpi-m2+

Tests

cat /etc/armbian-release

# PLEASE DO NOT EDIT THIS FILE
BOARD=bananapim2plus
BOARD_NAME="Banana Pi M2+"
BOARDFAMILY=sun8i
VERSION=5.59
LINUXFAMILY=sunxi
BRANCH=next
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=zImage

Output

lscpu

Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model: 5
Model name: ARMv7 Processor rev 5 (v7l)
CPU max MHz: 1104.0000
CPU min MHz: 240.0000
BogoMIPS: 11.42
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

Output

hwinfo --short

cpu:
                       CPU
                       CPU
                       CPU
                       CPU
keyboard:
  /dev/ttyS0 serial console
network:
  eth0 ARM Ethernet 0
  wlan0 Broadcom BCM43430 WLAN card
network interface:
  eth0 Ethernet network interface
  wlan0 WLAN network interface
  lo Loopback network interface
disk:
  /dev/ram2 Disk
  /dev/ram0 Disk
  /dev/zram3 Disk
  /dev/mmcblk1boot0 Disk
  /dev/zram1 Disk
  /dev/mmcblk1 Disk
  /dev/ram3 Disk
  /dev/ram1 Disk
  /dev/zram4 Disk
  /dev/mmcblk1boot1 Disk
  /dev/zram2 Disk
  /dev/zram0 Disk
partition:
  /dev/mmcblk1p1 Partition
usb controller:
                       ARM USB 0
                       ARM USB 0
                       ARM USB 0
                       ARM USB 0
                       ARM USB 0
                       ARM USB 0
                       ARM USB 0
hub:
                       Linux Foundation 2.0 root hub
                       Linux Foundation 1.1 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 1.1 root hub
                       Linux Foundation 1.1 root hub
memory:
                       Main Memory
unknown:
                       PS/2 Controller
                       Broadcom BCM43430 WLAN card

Output

inxi -Fx

System: Host: rtNsy Kernel: 4.14.65-sunxi armv7l (32 bit gcc: 7.2.1) Console: tty 0
           Distro: Debian GNU/Linux 9 (stretch)
Machine: No /sys/class/dmi; using dmidecode: no smbios data available. Old system?
CPU: Quad core ARMv7 rev 5 (v7l) (-MCP-) (ARM)bmips: 210
           clock speeds: max: 1104 MHz 1: 1104 MHz 2: 1104 MHz 3: 1104 MHz 4: 1104 MHz
Graphics: Card: Failed to Detect Video Card!
           Display Server: N/A driver: N/A tty size: 106x64 Advanced Data: N/A for root out of X
Audio: Card H3 Audio Codec driver: H3_Audio_Codec Sound: ALSA v: k4.14.65-sunxi
Network: Card: Failed to Detect Network Card!
Drives: HDD Total Size: NA (-)
           ID-1: /dev/mmcblk1 model: N/A size: 7.8GB
Partition: ID-1: / size: 7.1G used: 967M (15%) fs: ext4 dev: /dev/mmcblk1p1
           ID-2: /var/log size: 49M used: 17M (36%) fs: ext4 dev: /dev/zram0
           ID-3: swap-1 size: 0.13GB used: 0.00GB (0%) fs: swap dev: /dev/zram1
           ID-4: swap-2 size: 0.13GB used: 0.00GB (0%) fs: swap dev: /dev/zram2
           ID-5: swap-3 size: 0.13GB used: 0.00GB (0%) fs: swap dev: /dev/zram3
           ID-6: swap-4 size: 0.13GB used: 0.00GB (0%) fs: swap dev: /dev/zram4
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 104 Uptime: 37 days Memory: 119.5/1000.1MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.5

Output

Banana Pi Invasion