Cubieboard 2 comes with AllWinnerTech SOC A20，ARM® Cortex™-A7 Dual-Core ARM® Mali400 MP2 Complies with OpenGL ES 2.0/1.1
- 1GB DDR3 @480M
- 3.4GB internal NAND flash, up to 64GB on SD slot, up to 2T on 2.5 SATA disk
- 5VDC input 2A or USB otg input
- 1x 10/100 ethernet, support usb wifi
- 2x USB 2.0 HOST, 1x mini USB 2.0 OTG, 1x micro sd
- 1x HDMI 1080P display output
- 1x IR, 1x line in, 1x line out
- 96 extend pin interface, including I2C, SPI, RGB/LVDS, CSI/TS, FM-IN, ADC, CVBS, VGA, SPDIF-OUT, R-TP, and more
MuBox on Cubieboard 2
Some features in MuBox is tuned for Cubieboard2:
- Using 3.4.67 kernel from linux-sunxi
- MPD binds to a single core while leaving another core for interrupts, etc.
Please note that MuBox only supports Cubieboard2. You are on your own if you uses Cubieboard.
1. You need a Linux machine (could be x86, ARM based or any architecture)
2. a uSD card and a compatible card reader
uSD card creation by script
Download the installation script to your Linux machine, insert uSD card to card reader attached to your Linux machine, login as root, and run
# ./install-mubox-cubieboard2.sh /dev/sdX
where /dev/sdX is your SD card device. If you are unsure, type "cat /proc/partitions" to list all available disk devices and partitions. The script will format your card, download and install rootfs, install kernel and bootloader, etc.
After the installation completes, eject the card, re-insert the card to Cubieboard2 and power-up the board. Be sure to read our getting started guide in cookbook section if you use MuBox for the first time!
uSD card creation manually
If you feel uncomfortable to the above script, you can create the SD card manually. At first, you need to create the partition on a SD card. Replace sdX in the following instructions with the device name for the SD cards.
- Login as root
- Clean-up the card:
dd if=/dev/zero of=/dev/sdX bs=1024 seek=544 count=128 dd if=/dev/zero of=/dev/sdX bs=1M count=1
- Start fdisk to partition the SD card:
fdisk -u /dev/sdX
- At fdisk prompt:
- Type o. This will clear out any partitions on the drive.
- Type n to create new partition, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then press ENTER to accept the default last sector.
- Write the partition table and exit by typing w.
- Create ext4 filesystem, set no mount checking, assign volume label and disable journal.
mkfs.ext4 /dev/sdX1 tune2fs -i 0 -c 0 /dev/sdX1 -L voyage-mubox -O ^has_journal mount /dev/sdX1 /tmp/cf
- Download and extract root file system on-the-fly:
curl http://mirror.voyage.hk/download/voyage-mubox/voyage-mubox-current.tar.xz | tar --numeric-owner -Jxf - -C /tmp/cf
- Download and install bootloader:
curl http://mirror.voyage.hk/download/voyage-mubox/cubieboard2/boot-cubieboard2-latest.tar.xz| tar --numeric-owner -Jxf - -C /tmp/cf dd if=/tmp/cf/boot/sunxi-spl.bin of=/dev/sdX bs=1024 seek=8 dd if=/tmp/cf/boot/u-boot.bin of=/dev/sdX bs=1024 seek=32
- Download and install kernel and modules:
curl http://mirror.voyage.hk/download/voyage-mubox/cubieboard2/kernel-cubieboard2-latest.tar.xz | tar --numeric-owner -Jxf - -C /tmp/cf sync umount /tmp/cf sync