It’s been quite a while before I write down this similar blog as my previous Single Board Computer blogs. Banana Pi Pro is a SBC with AllWinner A20 ARM CPU, which is also just of card size (Cited from LeMaker Official website).
PART A: Install Ubuntu Desktop Built By Armbian onto Banana Pi Pro
1. Download Armbian Ubuntu Desktop for Banana Pi Pro
We FIRST go visiting the website https://www.armbian.com/banana-pi-pro/ and click Armbian Bionic icon, a file named Armbian_5.59_Bananapipro_Ubuntu_bionic_next_4.14.65.7z will be automatically downloaded.
2. Install Armbian Ubuntu Desktop for Banana Pi Pro
After the extracted image file is prepared, it’s the time to install the Armbian Ubuntu Desktop onto our TF card. We FIRST format the TF card:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
$ sudo umount /dev/mmcblk0p1 [sudo] password for jiapei: $ sudo mkfs.ext4 /dev/mmcblk0 mke2fs 1.44.1 (24-Mar-2018) Found a dos partition table in /dev/mmcblk0 Proceed anyway? (y,N) y Discarding device blocks: done Creating filesystem with 7791744 4k blocks and 1949696 inodes Filesystem UUID: 4e7bb315-0db1-4b62-a9d5-40c0ba78c7f0 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000
Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done
Afterwards, use dd to install the downloaded Armbian Ubuntu Desktop image.
1 2 3 4 5
$ cd Armbian_5.59_Bananapipro_Ubuntu_bionic_next_4.14.65/ $ sudo dd bs=4M if=Armbian_5.59_Bananapipro_Ubuntu_bionic_next_4.14.65.img of=/dev/mmcblk0 conv=fsync 211+0 records in 211+0 records out 884998144 bytes (885 MB, 844 MiB) copied, 123.525 s, 7.2 MB/s
PART B: Boot Into Armbian, Network Configuration, Locale Configuration and Armbian Upgrading
NOTE: Whenever you met some unsolvable issue after you boot into Armbian, please use the command armbianmonitor -U to log the issue.
1. Boot Into Armbian
We now unplug the TF card from the host and put it into the Banana Pi Pro board, Armbian Ubuntu Desktop boots successfully. The default username and password are respectively: root and 1234.
1 2 3 4 5 6 7 8 9 10
Ubuntu 18.04.1 LTS bananapipro tty1
bananapipro login: root password: You are required to change your password immediately (root enforced) Changing password for root. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: ...
And, for the FIRST boot, we’ll be asked to create a NEW user besides root:
Creating a new user account. Press <Ctrl-C> to abort
Please provide a username (eg. your forename): bananapipro Trying to add user bananapipro Adding user 'bananapipro' ... Adding new group 'bananapipro' (1000) ... Adding new user 'bananapipro' (1000) with group 'bananapipro' ... Creating home directory '/home/bananapipro' ... Copying files from '/etc/ske1' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for orangepiplus2 Eter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Y
Dear bananapipro, your account bananapipro has been created and is sudo enabled. Please use this account for your daily work from now on. ...
Then, Banana Pi Pro now boots into text mode with account root.
1
root@bananapipro:~$
We may now re-login with the newly created account bananapipro:
bananapipro@bananapipro:~$ sudo vim /etc/network/interfaces source /etc/network/interfaces.d/* # Network is managed by Network manager auto lo iface lo inet loopback
Afterwards, a reboot (meanwhile, you may have to set up your own router for a fixed IP) will bring your Banana Pi Pro a fixed IP address. Here in my case: 192.168.0.82.
bananapipro@bananapipro:~$ sudo dpkg-reconfigure tzdata [sudo] password for bananapipro: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US.UTF-8", LC_ALL = (unset), LC_MEASUREMENT = "en_CA.UTF-8", LC_PAPER = "en_CA.UTF-8", LC_MONETARY = "en_CA.UTF-8", LC_NAME = "en_CA.UTF-8", LC_ADDRESS = "en_CA.UTF-8", LC_NUMERIC = "en_CA.UTF-8", LC_MESSAGES = "en_US.UTF-8", LC_TELEPHONE = "en_CA.UTF-8", LC_IDENTIFICATION = "en_CA.UTF-8", LC_TIME = "en_CA.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Current default time zone: 'America/Vancouver' Local time is now: Tue Sep 4 15:33:36 PDT 2018. Universal Time is now: Tue Sep 4 22:33:36 UTC 2018.
During the above process, you’ll set the following 2 pages correspondingly:
If we logout and login Banana Pi Pro again, we’ll see the timezone has been successfully reset.
Welcome to ARMBIAN 5.59 stable Ubuntu 18.04.1 LTS 4.14.65-sunxi System load: 0.16 0.20 0.18 Up time: 53 min Memory usage: 6 % of 992MB IP: 192.168.0.82 CPU temp: 46°C Usage of /: 3% of 29G
Last login: Tue Sep 4 14:58:03 2018 from 192.168.0.60