First hours with the UP board, an Atom computer with a raspberry pi form factor.
OS selection
Ubilinux 3.0RC3
A Desktop distro, based on Debian 8 Jessie.
Debian 8 Jessie NetInstall
Standard Debian distro, with no support for the eMMC. Only works with an external HHD. 🙁
Ubuntu 14.04 Server (Chosen)
It has drivers support by PPA.
Ubuntu 14.04 Server Installation
Drivers
I don’t know if the newest version 16.04 LTS is working, on the official guide they recommend the 14.04. After the installation we need to install the drivers for the specific UP hardware via PPA:
1 2 3 |
sudo add-apt-repository ppa:ubilinux/up sudo apt-get update sudo apt-get install linux-upboard |
After installation reboot the system.
Network configuration
The UP board will act as a server, so the network configuration must be static to open ports. Edit /etc/network/interfaces
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto p4p1 iface p4p1 inet static address X.X.X.Z netmask 255.255.255.0 gateway X.X.X.1 dns-nameservers 8.8.8.8 #Google |
Reboot and disconnect the HDMI cable.
Java 8 installation
Ubuntu has any Java version installed, which is great to do a clean installation. This step is easy with the PPA installation by WebUpd8.
1 2 3 |
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer |
Check that the installation was ok with “java -version”, the output should be (or something similar):
1 2 3 |
java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) |
The JAVA_HOME should be configured by the oracle-java8-installer packet.
Compilers
gcc, make and other support to program arm-based microcontrollers
1 2 3 |
sudo apt-get install build-essential sudo apt-get install gcc-arm-none-eabi sudo apt-get install openocd |
Git
git is not included by default
1 |
sudo apt-get install git |
Observed bugs/problems/issues
- The screen never reacts after turns black
- Some USB devices require a reboot to work properly