# Up-board

The up-board is a Intel based SOC.

## Installation

The up-board features a UEFI only setup (no BIOS emulation). You may experience issues trying to use a GPT partition scheme, if that's the case use MBR and install GRUB to use as a bootloader.

Note: The installation disk for the up-board is `/dev/mmcblk0`.

## Sound

As of August 2016, the mainline kernel does not support sound through HDMI for cherry trail based devices like the up-board. There are plans on adding support to the mainline kernel as noted here, but in the mean time if you wish to have sound you will need to patch your kernel. The package linux-ctAUR is available on the AUR, or alternatively you can follow the instructions below to generate and apply the patch yourself.

### Compilation

Without any optimisations, compilation on the up-board takes around 5-6 hours. Setting your `MAKEFLAGS` beforehand will drastically improve the compilation time. If you're using the ABS the makepkg page has information on how to set the variable in there.

#### Manual

- Download a copy of the patched kernel from here and the latest kernel sources from http://www.kernel.org.

- Once you've extracted the archive, you will need to remove the inline reference in one of the header files. You can do this with sed like so:

    $ sed -i 's/inline//g' sound-byt-cht-hdmi-v4.7/sound/hdmi_audio/intel_mid_hdmi_audio.h

- Next you'll need to create a patch for the 2 folders that have been changed, `sound/` and `drivers/gpu/drm/i915`:

    $ diff -ENwbur {linux-4.7.2,sound-byt-cht-hdmi-v4.7}/drivers/gpu/drm/i915 >> cherry.patch
    $ diff -ENwbur {linux-4.7.2,sound-byt-cht-hdmi-v4.7}/sound >> cherry.patch

- Once the patch has been created you can move it into the kernel sources directory and run:

    $ patch -p1 < cherry.patch

- Lastly, you'll need to make sure that `CONFIG_SUPPORT_HDMI=y` option is in the `.config`.

#### Arch Build System

If you wish to build the kernel using the ABS, follow the steps provided in Kernels/Arch Build System. Remember to add the patch to the prepare function and run updpkgsums to update the checksum for the changed config file.

Category:

- Other hardware