CuBox

Named by combining the words 'Cube' and 'Box' and while being less than 2 cubic inches in size, the platform can stream and decode 1080p content, with desktop class interfaces. The device is based on the Marvell Armada 510 SoC: a high-performance, highly integrated, low-power system-on-chip (SoC) with an ARM v6/v7-compliant superscalar processor core, hardware graphics processing unit, video decoding acceleration hardware and a broad range of peripherals.

In addition to the specifications listed to the side, the CuBox provides:

  • HDMI with CEC support at 1080p60
  • Marvell vMeta video decoder
  • IRDA port to support remote controls
  • Optical SPDIF audio output
  • 1.5/3gbps eSATA port
  • Integrated pl2303 serial debug via micro-USB

SD Card/USB Drive Creation

  1. For the root filesystem you can choose to use either a SD card or a USB drive. Replace instances of /dev/sdx1 with the appropriate device name registered on your system.
  2. Partition the target media with a single partition.
  3. Format the first partition as ext3:
    mkfs.ext3 /dev/sdx1
  4. Download the root filesystem tarball and extract it (as root) to the ext3 partition on either the SD card or the USB drive. It is important to do this as root, as special files need to be created as part of the filesystem that can only be created by root.
    mkdir /arch mount /dev/sdx1 /arch bsdtar -xpf ArchLinuxARM-cubox-latest.tar.gz -C /arch
  5. The boot.scr in /boot/ should work for single partition ext3, and will work for sd card, USB, or sata:
  6. If a USB installation fails to boot, put a micro sd card in slot (formatted ext2 or fat) with just the boot.scr file:
  7. Unmount the drive, insert into the CuBox, and power it on.

Creating a custom boot.scr

  1. Create a file called bootcmd, and place U-Boot commands in there like a script file. For example:
    setenv bootargs 'console=ttyS0,115200n8 vmalloc=384M root=/dev/mmcblk0p1 video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0' ext2load mmc 0:1 0x00200000 /boot/uImage bootm
  2. Use mkimage to create the boot.scr file if customisation needed. For example:
    mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "My boot script" -d bootcmd boot.scr
  3. Copy the resulting boot.scr to the /boot directory on your SD card or USB drive



Please note: The rootfs for the CuBoxhas been converted to systemd. There is no more /etc/rc.d or /etc/rc.conf. Please read up on systemd.

Architecture

ARMv7l PJ4

Processor

Marvell Armada 510 800MHz

RAM

1024MB

SD

Micro SD

USB

2

SATA

1

Ethernet

Gigabit