Cubox: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


[http://www.solid-run.com/cubox Cubox] is a small cube-shaped computer with a variety of supported interfaces based on Marvell Armada 510 SoC (armv7).
[http://www.solid-run.com/cubox Cubox] is a small cube-shaped computer with a variety of supported interfaces based on Marvell Armada 510 SoC (armv7).
It is possible to purchase Cubox from the [http://www.solid-run.com/store manufacturer in Israel] or [http://www.newit.co.uk/shop/ from a British distributor ].
It is possible to purchase Cubox from the [http://www.solid-run.com/store manufacturer in Israel] or [http://www.newit.co.uk/shop/ from the British distributor].
We recommend the Cubox Pro model that features 2GB RAM.
We recommend the Cubox Pro model that features 2GB RAM.


== Why we chose Cubox for our first supported ARM-based desktop distribution ==
== Why we chose Cubox as the target platform for our first supported ARM-based desktop distribution ==


We have chosen Cubox for several reasons:
We have chosen Cubox for several reasons:
* it is a fully-functional system in a box, not a barebone;
* it is a fully-functional ready-assembled system, not just a barebone;
* it is shipped without a locked pre-installed system like most tablets and other ARM-based solutions available on the market;
* it is not shipped with a locked pre-installed OS like most tablets and other ARM-based solutions on the market;
* it is an ARM v7<ref>not to be confused with Cortex models; for example, ARM v8 is a family of 64-bit CPUs that are not yet available on the market</ref> system with hardware support for floating-point operations;
* it is an ARM v7<ref>not to be confused with Cortex models; for example, ARM v8 is a family of 64-bit CPUs that are not yet available on the market</ref> system with support for floating-point arithmetic;
* very few devices of this class have 2GB RAM, which is an important advantage;
* very few devices of this class have 2GB RAM, and it is an important advantage;
* very simple setting up and re-installation of a system: a system image is first copied on a SD card with the dd utility, and the SD card is then inserted into Cubox;
* it is very simple to install and re-install an operating system; it only takes two steps: copy the system image to an SD card with the dd utility and then insert the SD card into Cubox;
* it is built on the platform developed by our partner [http://www.marvell.com/ Marvell], and we are able directly discuss the problems and future plans;
* it is built on the platform developed by our partner [http://www.marvell.com/ Marvell], and we are able to directly discuss the problems and future plans with them;
* developers of Cubox are easily available (see their web forum);
* developers of Cubox are easily accessible (see their web forum);
* even when the cube gets really outdated and not exciting any longer, you can still install XBMC on it and continue to use it as a home multimedia center.
* even when the cube gets really outdated and not very much exciting any longer, you can still install XBMC on it and continue to use it as a home multimedia center.


We are constantly working with a half-dozen of different ARMv7-based platforms from various manufacturers. For example, there are regularly rebuilt images for the popular Nexus 7 platform. For some of them we are preparing to release supported distributions for both servers and desktops <ref>when choosing a platform for such solutions, we consider it crucial to have hardware support for floating-point operations and at least 1 GB of RAM (preferably no less than 2 GB), that is why no ALT Linux distributions are planned for the currently most popular Raspberry Pi system.</ref>.
We are constantly working with a half-dozen of different ARMv7-based platforms from various manufacturers. In particular, we provide regularly rebuilt images for the popular Nexus 7 platform. We plan to release supported server and desktop distributions for some of these devices<ref>when choosing a platform for such solutions, we consider it crucial to have hardware support for floating-point arithmetic and at least 1 GB of RAM (preferably no less than 2 GB), that is why no ALT Linux distributions are planned for the presently most popular Raspberry Pi system.</ref>.


== Installing ALT Linux on SolidRun Cubox ==
== Installing ALT Linux on SolidRun Cubox ==


In order to start the installation, it is sufficient to have a monitor (or a TV-set) with HDMI input and a microSD card of no less than 8 GB in volume and no less than 10 in speed class<ref>the higher, the better; the supplied 4GB class 4 will make the system run very sluggishly</ref>. You will also need Internet access in order to download and record<ref>the last command should be issued by a user with write privileges for the card-reader device; usually the root user has these privileges</ref> a system image on it, for example:
In order to start the installation, it is sufficient to have a monitor (or a TV-set) with HDMI input and a microSD card of no less than 8 GB in volume and no less than 10 in speed class<ref>the higher, the better; the 4GB class 4 supplied with the device will make the system run very sluggishly</ref>. You will also need Internet access in order to download and record<ref>the last command should be issued by a user with write privileges for the card-reader device; usually the root user has these privileges</ref> a system image on it, for example:
  {{cmd|wget -c http://ftp.altlinux.org/pub/distributions/ALTLinux/p7/images/simply/altlinux-7.0.0-simply-cubox-armh.img.gz}}
  {{cmd|wget -c http://ftp.altlinux.org/pub/distributions/ALTLinux/p7/images/simply/altlinux-7.0.0-simply-cubox-armh.img.gz}}
  {{cmd|gunzip altlinux-7.0.0-simply-cubox-armh.img.gz}}
  {{cmd|gunzip altlinux-7.0.0-simply-cubox-armh.img.gz}}
  {{cmd|dd if&#61;altlinux-7.0.0-simply-cubox-armh.img of&#61;/dev/mmcblk0 bs&#61;1M}}
  {{cmd|dd if&#61;altlinux-7.0.0-simply-cubox-armh.img of&#61;/dev/mmcblk0 bs&#61;1M}}


The package selection in this system image mostly corresponds to [[Simply Linux]] Live DVD (XFCE, Firefox, LibreOffice4, Gimp, Parole etc.). After the first boot, the system will offer to perform initial configuration. By default, local network is configured via DHCP, while installation of additional software packages can be performed via the pre-configured apt utility.
The selection of packages in this system image mostly corresponds to [[Simply Linux]] Live DVD (XFCE, Firefox, LibreOffice4, Gimp, Parole etc.). After the first boot, the system will offer to perform initial configuration. By default, local network is configured via DHCP, while installation of additional software packages can be performed via the pre-configured apt utility.


In future, there will be images for Cubox with other desktop environments.
In future, there will be images for Cubox with other desktop environments.


== Functionality ==
== Functionality ==
The base configuration of the Simply Linux distribution for ARM corresponds to the i586/x86_64 version. When using a SD-card the start-up speed for resource-consuming applications (LibreOffice, Firefox, Thunderbird, Gimp, Audacious) will be lower, however, the execution speed, especially on Cubox Pro with 2 GB of memory, is quite satisfactory, as well as playback of local video files with Parole video player. It is possible to increase the start-up speed of applications with an external SATA drive connected via the eSATA socket.
The base configuration of the Simply Linux distribution for ARM corresponds to the i586/x86_64 version. When using an SD card, it may take a while for resource-consuming applications (LibreOffice, Firefox, Thunderbird, Gimp, Audacious) to load. However, once these applications are launched, the execution speed, especially on Cubox Pro with 2 GB of memory, is quite satisfactory, as well as playback of local video files with the Parole video player. It is possible to increase the launch speed of applications with an external SATA drive connected via the eSATA socket.


Known limitations:
Known limitations:
* Lack of CPU support for NEON.
* Lack of CPU support for NEON.
* Hardware-accelerated video playback works on players based on gstreamer-0.10 (parole, kaffeine), but does not work on ffmpeg players.
* Hardware-accelerated video playback works for players based on gstreamer-0.10 (parole, kaffeine), but does not work for ffmpeg players.
* As in almost all ARM systems-on-chip, there is support for OpenGL ES, but not for full OpenGL. Therefore, there are currently no 3D games for Linux, while a version of compiz for OpenGL ES is still under development and cannot be supplied with a supported system.
* As in almost all ARM systems-on-chip, there is support for OpenGL ES, but not for full OpenGL. Therefore, there are currently no 3D games for Linux, while a version of compiz for OpenGL ES is still under development and cannot be supplied with a supported system.
* There is no Adobe Flash Player for Linux on arm v7 hard float. However, it is possible to view YouTube videos with parole having downloaded them {{cmd|youtube-dl}} in the flv format.
* There is no Adobe Flash Player for Linux on arm v7 hard float. However, it is possible to view YouTube videos with Parole having first downloaded them {{cmd|youtube-dl}} in the flv format.
* HTML5 playback in Simply 7.0.0 is not hardware-accelerated (it is expected that this problem should be partially remedied in the new versions of Firefox).
* HTML5 playback in Simply 7.0.0 is not hardware-accelerated (this problem should be partially remedied in the new versions of Firefox).


== Notes ==
== Notes ==

Latest revision as of 13:25, 4 July 2013

What is it?

Cubox is a small cube-shaped computer with a variety of supported interfaces based on Marvell Armada 510 SoC (armv7). It is possible to purchase Cubox from the manufacturer in Israel or from the British distributor. We recommend the Cubox Pro model that features 2GB RAM.

Why we chose Cubox as the target platform for our first supported ARM-based desktop distribution

We have chosen Cubox for several reasons:

  • it is a fully-functional ready-assembled system, not just a barebone;
  • it is not shipped with a locked pre-installed OS like most tablets and other ARM-based solutions on the market;
  • it is an ARM v7[1] system with support for floating-point arithmetic;
  • very few devices of this class have 2GB RAM, and it is an important advantage;
  • it is very simple to install and re-install an operating system; it only takes two steps: copy the system image to an SD card with the dd utility and then insert the SD card into Cubox;
  • it is built on the platform developed by our partner Marvell, and we are able to directly discuss the problems and future plans with them;
  • developers of Cubox are easily accessible (see their web forum);
  • even when the cube gets really outdated and not very much exciting any longer, you can still install XBMC on it and continue to use it as a home multimedia center.

We are constantly working with a half-dozen of different ARMv7-based platforms from various manufacturers. In particular, we provide regularly rebuilt images for the popular Nexus 7 platform. We plan to release supported server and desktop distributions for some of these devices[2].

Installing ALT Linux on SolidRun Cubox

In order to start the installation, it is sufficient to have a monitor (or a TV-set) with HDMI input and a microSD card of no less than 8 GB in volume and no less than 10 in speed class[3]. You will also need Internet access in order to download and record[4] a system image on it, for example:

wget -c http://ftp.altlinux.org/pub/distributions/ALTLinux/p7/images/simply/altlinux-7.0.0-simply-cubox-armh.img.gz
gunzip altlinux-7.0.0-simply-cubox-armh.img.gz
dd if=altlinux-7.0.0-simply-cubox-armh.img of=/dev/mmcblk0 bs=1M

The selection of packages in this system image mostly corresponds to Simply Linux Live DVD (XFCE, Firefox, LibreOffice4, Gimp, Parole etc.). After the first boot, the system will offer to perform initial configuration. By default, local network is configured via DHCP, while installation of additional software packages can be performed via the pre-configured apt utility.

In future, there will be images for Cubox with other desktop environments.

Functionality

The base configuration of the Simply Linux distribution for ARM corresponds to the i586/x86_64 version. When using an SD card, it may take a while for resource-consuming applications (LibreOffice, Firefox, Thunderbird, Gimp, Audacious) to load. However, once these applications are launched, the execution speed, especially on Cubox Pro with 2 GB of memory, is quite satisfactory, as well as playback of local video files with the Parole video player. It is possible to increase the launch speed of applications with an external SATA drive connected via the eSATA socket.

Known limitations:

  • Lack of CPU support for NEON.
  • Hardware-accelerated video playback works for players based on gstreamer-0.10 (parole, kaffeine), but does not work for ffmpeg players.
  • As in almost all ARM systems-on-chip, there is support for OpenGL ES, but not for full OpenGL. Therefore, there are currently no 3D games for Linux, while a version of compiz for OpenGL ES is still under development and cannot be supplied with a supported system.
  • There is no Adobe Flash Player for Linux on arm v7 hard float. However, it is possible to view YouTube videos with Parole having first downloaded them youtube-dl in the flv format.
  • HTML5 playback in Simply 7.0.0 is not hardware-accelerated (this problem should be partially remedied in the new versions of Firefox).

Notes

  1. not to be confused with Cortex models; for example, ARM v8 is a family of 64-bit CPUs that are not yet available on the market
  2. when choosing a platform for such solutions, we consider it crucial to have hardware support for floating-point arithmetic and at least 1 GB of RAM (preferably no less than 2 GB), that is why no ALT Linux distributions are planned for the presently most popular Raspberry Pi system.
  3. the higher, the better; the 4GB class 4 supplied with the device will make the system run very sluggishly
  4. the last command should be issued by a user with write privileges for the card-reader device; usually the root user has these privileges