Technical data
CPU: Allwinner A20 (ARM Cortex-A7 dual-core, 1GHz, Mali400MP2 GPU)
RAM: 2GB
Storage: 1 microSD card slot, 1x SATA II
1x GigaBit LAN
1x WiFi b/g/n
1x Bluetooth
2x USB 2.0
1x OTG micro USB
Sunxi Project has more usable documentation than the manufacturer's site:
[]http://sunxi.org/Cubietech_Cubietruck/
Cubietruck is not officially supported by IPFire, but works, up until core 158, using 3rd party UBoot loader. Don't upgrade beyond core 158, because the following are not working:
USB host controller and hence USB-Ethernet dongles
broadcom WiFi
How to install IPFire on microSD card for Cubietruck
Download the latest armv5tel IPFire image, unpack the Image to a MicroSD Card:
xzcat ipfire-2.21.2gb-ext4.armv5tel-full-core122.img.xz > /dev/mmcblk?
# (or /dev/sd? depends on you cardreader)
Download a working UBoot file, for Cubietruck, from Archlinuxarm:
wget http://os.archlinuxarm.org/os/sunxi/boot/cubietruck/u-boot-sunxi-with-spl.bin
dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk? bs=1K seek=8
Mount the boot filesystem (1 Partition) and edit uENV.txt
:
DTBSUNXI=sun7i-a20-cubietruck.dtb
and set SERIAL-CONSOLE to OFF if you want to use HDMI/KEYBOARD instead of serial console.
Prepare the serial console
The serial console mode requires an USB-GPIO-Adaptor, which is available on the internet or at your local electronics store.
Then connect the following pins, as labelled on Cubietruck, to the adequate input/output plugs at the adaptor:
Pin at the Cubietruck | To be plugged in for function |
---|---|
GND | GND (black) |
NC | don't connect |
RX | TX (green) |
TX | RX (white) |
After switching on the Cubietruck, it can be accessed by using a serial connection (baud: 115200) to it.
How to install IPFire on SATA device for Cubietruck
Note that a microSD card will still be required to boot Cubietruck
Unpack the armv5tel image to microSD card, then configure, as described above.
Unpack the same image to the SATA device.
Deconfigure 1 partition on the SATA device, by reformatting it
mkfs.vfat /dev/sda1
Deconfigure 3 partition on the microSD card, by changing its UUID
tune2fs -U random /dev/mmcblk0p3
Install microSD card and SATA device to Cubietruck, power up and configure IPFire.
After IPFire has been installed, the deconfigured partitions may be utilised as ExtraHD