Cubietruck

A20 allwinner BT GbE legacy mainline WIFI
ServerDesktopQuick startKnown issuesNightly releasesKernels
Optimal for multimedia and desktop usage scenarios.
Optimal for desktop and server usage. See status matrix for detailed comparison.
  • PWM ready on pin PB2 (legacy)
  • bluetooth working with on-board device. Enabled by default on both kernels.
  • total memory is 2000Mb (disabled all memory reservations for GPU on CLI images)
  • due to bad PCB placement, there is some crosstalk between Wifi and VGA in certain videomodes
  • make sure you power the board via power connector otherwise your USB port won’t be powered
  • Our OS images are only for A20 based Cubietruck and do not work on H8 based so called Cubietruck Plus (we don't support CT+ anytime soon due too some design flaws like no real SATA and thermal problems)
Legacy 3.4.113
Optimal for multimedia and desktop usage scenarios.
Mainline 4.9.7
Optimal for desktop and server usage. See status matrix for detailed comparison.
  • PWM ready on pin PB2 (legacy)
  • bluetooth working with on-board device. Enabled by default on both kernels.
  • total memory is 2000Mb (disabled all memory reservations for GPU on CLI images)
  • due to bad PCB placement, there is some crosstalk between Wifi and VGA in certain videomodes
  • make sure you power the board via power connector otherwise your USB port won’t be powered
  • Our OS images are only for A20 based Cubietruck and do not work on H8 based so called Cubietruck Plus (we don't support CT+ anytime soon due too some design flaws like no real SATA and thermal problems)

Preparation

Make sure you have a good & reliable SD card and a proper power supply. Archives can be uncompressed with 7-Zip on Windows, Keka on OS X and 7z on Linux (apt-get install p7zip-full). RAW images can be written with Etcher (all OS).

How to boot?

Insert SD card into a slot and power the board. First boot takes around 3 minutes then it might reboot and you will need to wait another one minute to login. This delay is because system creates 128Mb emergency SWAP and expand SD card to it's full capacity. Worst case scenario boot (with DHCP) takes up to 35 seconds.

How to login?

Login as root on HDMI / serial console or via SSH and use password 1234. You will be prompted to change this password at first login. Next you will be asked to create a normal user account that is sudo enabled (beware of default QWERTY keyboard settings at this stage).

How to connect to your router via WIFI?

Required condition: a board with onboard or supported 3rd party wireless adapter on USB

nmtui-connect YOUR_ROUTER_SSID

Legacy kernel (default branches)

  • unstable Bluetooth stack

Mainline kernel (next/dev branches)

  • No Mali drivers
  • No hardware accelerated video decoding
  • Different GPIO numbering compared to the legacy kernel
  • schedutil CPU governor may cause clicks and pops on audio output - change to ondemand to work around this issue

Board: Lamobo R1

  • b53 switch driver in mainline kernel uses DSA interface for configuration instead of swconfig tool. Please check this issue for details
  • underpower issues are possible when using hard drive, HDMI and wireless together. Connecting a battery may help
  • Gigabit Ethernet transfer rate is around 300Mbit
Nightly 4.10.0
Warning: nightly downloads are automated untested builds and no end user support is provided for them!
Updating from nightly repository?

sed -i "s/apt/beta/" /etc/apt/sources.list.d/armbian.list
apt-get update
apt-get upgrade
When bug is found?

Warning: you are entering developers area and things can be completely broken. Don’t use this in production.
default, vendor provided / legacy (3.4.x – 4.4.x)
To make sure you won’t run into conflicts within newly installed packages, remove them all before upgrade:

 aptitude remove ~nlinux-dtb ~nlinux-u-boot ~nlinux-image ~nlinux-headers 
aptitude remove ~nlinux-firmware ~narmbian-firmware ~nlinux-$(lsb_release -cs)-root

Proceed with install:

apt-get install linux-image-sun7i linux-headers-sun7i 
apt-get install linux-u-boot-cubietruck-default linux-$(lsb_release -cs)-root-cubietruck 
apt-get install armbian-firmware sunxi-tools swconfig a10disp
reboot
next – mainline (@kernel.org (4.x)
To make sure you won’t run into conflicts within newly installed packages, remove them all before upgrade:

 aptitude remove ~nlinux-dtb ~nlinux-u-boot ~nlinux-image ~nlinux-headers 
aptitude remove ~nlinux-firmware ~narmbian-firmware ~nlinux-$(lsb_release -cs)-root

Proceed with install:

apt-get install linux-image-next-sunxi linux-dtb-next-sunxi linux-headers-next-sunxi 
apt-get install linux-u-boot-cubietruck-next linux-$(lsb_release -cs)-root-next-cubietruck 
apt-get install armbian-firmware sunxi-tools swconfig a10disp
reboot
dev – developement (4.x)
To make sure you won’t run into conflicts within newly installed packages, remove them all before upgrade:

 aptitude remove ~nlinux-dtb ~nlinux-u-boot ~nlinux-image ~nlinux-headers 
aptitude remove ~nlinux-firmware ~narmbian-firmware ~nlinux-$(lsb_release -cs)-root

Proceed with install:

apt-get install linux-image-dev-sunxi linux-dtb-dev-sunxi linux-headers-dev-sunxi 
apt-get install linux-u-boot-cubietruck-dev linux-$(lsb_release -cs)-root-dev-cubietruck 
apt-get install armbian-firmware sunxi-tools swconfig a10disp
reboot