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).
The CuBox-i devices are a series of small-footprint, always-on computers based on the FreeScale i.MX6 chipset.
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.
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:
Apply the enablement patches to your linux source.
Build a kernel from the SolidRun 3.10 stable kernel branch.
Use a pre-built binary kernel image from SolidRun, available here. (Note: these kernels are based on a Linux 3.0 Android BSP.)
?CuBox-i. The most straightforward way to install Debian on the ?CuBox-i is by using debootstrap. Since qemu has full userspace support for the ARM architecture, it's possible to cross-debootstrap your disk entirely from a Debian host system of another architecture. The qemu-debootstrap command automates this process, and gives you a fully configured root filesystem as output.There is no official Debian install media for the
Assuming that your SD card is available on your host system as /dev/sdb, and you've created a single partition to install to (remembering that the partition should start at sector 1024):
mkfs.ext4 /dev/sdb1 mount /dev/sdb1 /mnt apt-get install qemu-user-static debootstrap qemu-debootstrap --foreign --arch=armhf sid /mnt http://http.debian.net/debian chroot /mnt passwd root echo 'T0:23:respawn:/sbin/getty -L ttymxc0 115200 vt100' >> /mnt/etc/inittab umount /mnt