CuBox-i support in Debian

This page exists to collate information about the status of support in Debian for the CuBox-i family of devices by SolidRun (CuBox-i1, CuBox-i2, CuBox-i2Ultra, CuBox-i4Pro).

General information

The CuBox-i devices are a series of small-footprint, always-on computers based on the FreeScale i.MX6 chipset.

Bootloader support

The CuBox-i uses U-Boot as a bootloader. As of 2014-03-09, upstream provides a git tree based on U-Boot 2013.10. A port of upstream U-Boot support to 2014.01 (the version in jessie/sid) is available here and was included in the Debian package u-boot 2014.04-1 (see: 741127).

The CuBox-i U-Boot uses SPL (allowing the same U-Boot image to be used across multiple models), and should be installed to the SD card using the layout described here. Note that this version of U-Boot will also support reading the second-stage bootloader from a FAT filesystem on the first partition of the device; however, since U-Boot also reads its environment from an offset of 384K on the SD card, there is 342K of reserved space at the front of the disk which will be otherwise unused. It is therefore recommended to install U-Boot to the embedded space at the front of the disk, and not to set up a dedicated boot partition on the SD card.

Kernel support

The CuBox-i should have basic support with the armmp linux kernel (3.14+) in Debian Jessie, including serial console, usb, ethernet, mmc and ir receiver. The 3.15.1-1~exp1+ kernel in experimental also includes support for framebuffer video over HDMI. To enable additional features, you may need to explore one of the following options:

Installing Debian

Starting from Debian 8.0, the cubox-i and hummingboard are supported through the official debian installer. Be prepared to attach a serial console to your cubox-i/hummingboard, because the installer does not output messages on the HDMI interface.

In the default configuration after rebooting from the installer the serial console is not(!) enabled. To enable execute

 echo 'T0:23:respawn:/sbin/getty -L ttymxc0 115200 vt100' >> /etc/inittab

Further info