- Table of contents
The CuBox-i is one of the smallest ready to go computers. No need to buy or create or build your own casing. In the initial order the power adapter and an SD with an OS are included. Plug it to the network, create a SD card with the required OS (there are several ones) and put it in the CuBox-i and off you go.
The CuBox is based on the Freescale i.MX6 portfolio, with solo, dual or quad core 1.0-1.2 GHz ARM Cortex A9 core(s). It has additional hardware to support Full HD VPU (1080p decode), 3D (Vivante GC880), 2D GPU (Vivante GC320), IPU and security.Latest versions in my environment:
- Ubuntu 14.04 up-to-date up to 1-Aug-2015
- Gambas 3.7
- DomotiGa 1.0.021
There are 4 types ranging from €80-€150.
For the available types have a look at the SolidRun supplier page
This page is based on the CuBox-i4Pro based on the ARM 'i.MX6 Quad' with 2GB of memory.
Have a look at the SolidRun partners page to see of you can order it locally in your country.
When you order the device you can choose OpenELEC/XBMC or Android 4.4 (KitKat).
The supplier created an 'Ignition' installer to help in selecting and downloading an OS and put it on a SD card. I did not test this yet but this may greatly simplify the creation of the OS installation.
For my project i started with a prepared Ubuntu image described in the forum under Perfect Ubuntu 14.04 on Cubox-i4ProIn the forums there are descriptions on many more OS-es like:
- Debian Wheezy
Connecting to the CuBox-i4Pro¶
- To access locally:
- Connect it to a HDMI screen and plug-in an USB mouse/keyboard set (e.g. Logitech Wireless Touch Keyboard K400).
- To access remotely:
- Plug it in your network and access via SSH.
- My personal setup:
- The CuBox-i4Pro is connected to my TV because in the future I want to install Kodi (new name for XMBC) on this little box too.
- It is connected to my network with a fixed IP address.
- Did setup DomotiGa as DomotiGaServer and client, but both on the system itself.
- On my Windows system I installed MobaXterm which gives me SSH but also automatically X over SSH. So now I can display applications including DomotiGa on my Windows screen.
- Installed DomotiYii on the system so i can access the web UI from my mobile devices.
- As described above I started with an Ubuntu pre-imaged SD.
- Used an 8GB SD card.
- Used one of the last versions mentioned in all those pages.
- After burning the image to the MicroSD don't forget to resize the partition to make it use more (all) of the MicroSD size.
- Updated the OS and software several times until all was done. But i stayed on 14.04 until now because this is the Ubuntu LTS version. And I'm still keeping it up-to-date.
- Apache2 en lightd are already in the pre-image used above.
- Installed phpmyadmin for administrative purposes.
- Made a separate user for DomotiGa.
- Followed the standard DomotiGa installation page.
- Added ntp, (ssh is in the above image), RRDTool, Gambas from PPA (current 3.6.2).
- And mysql-client, (mysql-server in above image).
- openzwave download, build.
- openzwave build wrapper for DomotiGa.
- I remember something about mcrypt.so being in the wrong place. Found a solution quickly, i think it was a symbolic link. But this shouldn't be a problem to fix if you run into it.
At first the graphs did not show, locally or remotely, in the standard DomotiGa UI. But that was because of the Apache version used. See the Apache paragraph on the RRDTool to check if this is valid for your situation and how to solve that.DomotiYii:
- Followed the standard installation.
Some other tips¶
- Implemented the supplied server startup script so DomotiGa starts automatically after reboot.
- Although the system still had 1.5GB of free memory I implemented the disable InnoDB steps which in my case made the mysqld process go from a 325MG to a 60MB footprint.
- SolidRun website
- SolidRun forums
- "My initial description and the community support on this subject in the forum: see