From UpWiki
Jump to: navigation, search

Install Ubuntu for UP, UP2, UP Core


  • an UP, UP2 or UP Core board
  • an USB stick with at least 8Gb of space
  • keyboard, mouse, a screen and an internet connection


  • Download Ubuntu 16.04 ISO from the Ubuntu download page (works with desktop and server edition)
  • Burn the downloaded image on a USB stick. We suggest to use etcher for doing that. You can download it from
  • Insert the USB installer disk in a empty USB port and proceed with a normal Ubuntu installation.
    • While installing, do not select the option "automatic updates"

Install Ubuntu kernel for UP from PPA

After the reboot you need to add our repository:

sudo add-apt-repository ppa:ubilinux/up

Update the repository list

sudo apt update

Remove all the generic installed kernel

sudo apt-get autoremove --purge 'linux-.*generic'

Install our kernel:

sudo apt-get install linux-image-generic-hwe-16.04-upboard

Install the updates (please make sure to not upgrade the system to Ubuntu 18.04):

sudo apt dist-upgrade -y
sudo reboot


sudo reboot

After the reboot you can verify that the kernel is indeed installed by typing

$ uname -a
Linux upsquared-UP-APL01 4.10.0-42-generic #5000~upboard11-Ubuntu SMP Mon Jun 25 15:58:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Install the firmware driver for up core wifi chip

To enable the up core wifi chip on ubuntu after adding our ppa and installing the up kernel as stated in the previous section, install the package

sudo apt install firmware-ampak-ap6214a

Install Intel graphic driver

Follow the instruction on the Intel graphics update tool page


You can also install Intel graphics firmware from


Enable the HAT functionality from userspace

To be able to use the GPIO, PWM, SPI, I2C and uart functionality with a normal user we created a ubuntu package that set the correct permission.

NOTE: this could create security problem, do only if you know what are you doing

After adding our PPA you can install it with:

sudo apt install upboard-extras

after that you need to add the user that need to access the HAT functionality to the corresponding groups:

for example this command permit to the current user to access to the gpio functionality

sudo usermod -a -G gpio ${USER}


sudo usermod -a -G leds ${USER}


sudo usermod -a -G spi ${USER}


sudo usermod -a -G i2c ${USER}


sudo usermod -a -G dialout ${USER}

to apply the permission changes after issuing the previous command a reboot is needed

sudo reboot

Instruction for Legacy Ubuntu Version (only for up board)

Ubuntu 14.04 LTS (Trusty Tahr)

sudo add-apt-repository ppa:ubilinux/up
  • Update the package database:
sudo apt update
  • Install the upboard kernel package
sudo apt install linux-upboard-lts-xenial
  • Remove the other kernel images
sudo apt-get autoremove --purge 'linux-.*generic'