Rothirsch Technologies Hintergrund

Banana Pi

On this site you will get a few insights on the process of installing and managing different Banana Pi models.

Flash it

It's quite easy to flash an image to a sdCard and boot up a SBC for the first time and yet there are so many problems users have with it. Therefore you can find a litte information and helpful commands here...

dd to the sd

First of all, you have to download an image from the official banana pi google cloud.

In this tutorial we use an image for the bpi-m3. Follow these steps:

flash to sd

Download: https://drive.google.com/open?id=1B2HQBmCJroaS-i6oa8kG85r_n0_DQgxo

Open a terminal and change to the download directory where you have downloaded the zip file into

# For example
cd ~/Downloads

Insert sdCard to your card reader and search it

blkid

In my case the sdCard is named as /dev/mmcblk0 and there are 2 partitions on it /dev/mmcblk0p1, /dev/mmcblk0p2. The name comes from the card reader installed in my notebook. There are also card readers that are plugged into an USB port. These ones are mostly named sd[a-z].

The image comes in a zip archive so we have to unzip and flash the image to the card. But before, we have to unmount all partitions on it.

# unmount all partitions
sudo umount /dev/mmcblk0*
sudo unzip -p 2018-01-15-ubuntu-16.04-server-v1.0-bpi-m3-sd-emmc.img.zip | dd bs=4M of=/dev/mmcblk0

Wait for it

There is no output that informs you about how long the process needs. So wait even if it needs a long time.

At the end you get a message like this

0+75281 records in
0+75281 records out
7650410496 bytes (7.7 GB, 7.1 GiB) copied, 762.362 s, 10.0 MB/s

Boot

So unplug the card from your card reader and plug it into your device and boot.

Flash to emmc

You can also flash the image to the emmc storage with the same steps. If you boot from your sdCard your root disk is /dev/mmcblk0 and the emmc storage is /dev/mmcblk1. So download the image to your sdCard and flash it to the integrated storage device. If you haven't enough space on your sdCard you could use samba to store it on a remote machine.

Banana Pi Invasion