LiveSuit

LiveSuit is developed by Allwinner as an installation application for computer systems (Linux, Windows, Mac) to flash the NAND for Allwinner chips.

You could also look at the Installing to NAND tutorial to flash and manage NAND using opensource tools.

Download

 * Windows version LiveSuit
 * Please note that PhoenixSuit is actually LiveSuit2.0

Flash
To flash A10 devices with LiveSuit, first you need to let the device go to FEL mode.

Execute LiveSuit.exe and click SelectImg button to select the LiveSuit images you have. Connect your devices to PC with a USB cable. If Windows ask you to install driver, select the driver in the LiveSuit program UsbDriver folder.

Requirements
Note: LiveSuit.run installs a dynamic kernel module, you will need to install DKMS in order to use this driver. It is an Allwinner USB driver that talks to the board for flashing. sudo apt-get install dkms

From allwinner-pack-tools
mkdir cubie; cd cubie git clone https://github.com/matson-hall/allwinner-pack-tools.git cd allwinner-pack-tools git checkout cubieboard cp tools/Livesuit-linux.zip cd unzip Livesuit-linux.zip cd LiveSuit_For_Linux64 chmod +x LiveSuit.run ./LiveSuit.run

From LiveSuit/PhoenixSuit

 * Note : See also the cubieboard.org dedicated page for updates : http://docs.cubieboard.org/downloads

There are 2 version, LiveSuit and PhoenixSuit, LiveSuit exists in 32bits (x86) and 64bits (AMD64 or x86_64) flavors. For example :
 * http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux32.zip (LiveSuit v3.0.6, 32 bits version)
 * http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux64.zip (LiveSuit v3.0.6, 64 bits version)

Get the last version from here : http://dl.cubieboard.org/software/tools/livesuit/

unzip it...:

wget http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux32.zip unzip LiveSuitV306_For_Linux32.zip cd LiveSuit_For_Linux32/
 * For 32 bits version:

wget http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux64.zip unzip LiveSuitV306_For_Linux64.zip cd LiveSuit_For_Linux64/
 * For 64 bits version:

...and install it: bash LiveSuit.run

This will create, install and load the DKMS module, and will install the LiveSuit software in ~/Bin/LiveSuit
 * Note : on Debian based distributions, a debian package for the DKMS module, " ", is placed in ~/Bin directory.

If everything was OK during installation phase, to launch the software, type (should be started as root else /dev/aw_efex1 can't be used) : sudo ~/Bin/LiveSuit/LiveSuit.sh

About the DKMS module
The DKMS module is called awusb, it can be loaded at anytime by typing : modprobe awusb Or unloaded with : rmmod awusb

Too many devices error
If you try to flash a USB 2.0 Device (such as Cubietruck) from a recent Ubuntu on an USB 3.0 Port, Chances are your device is not flashed as it is recognized by both xhci_hcd and ehci_hcd kernel modules. Try deactivating xhci_hcd (it needs to be blacklisted if it is in the kernel, as on Ubuntu 14.04), or, easier if available, deactivate USB 3.0 in your BIOS.

Unsupported distribution notes
If you get a "Linux distribution does not supported!!!" you're probably running Debian or Arch. You can extract it manually as such: tail -n +60 LiveSuit.run > LiveSuite.tar.bz2

As expected, the LiveSuit.run is a 60 lines shellscript followed by an tar.bz2 archive. In the tarball there are two things: the livesuite itself and a special USB driver in the form of either an RPM or a DEB package. rpmunpack or dpkg -x somepackage.deb can be used to extract the package.

Next, change into the extracted source to /usr/src/awdev-0.1 and type make (use sudo if 'permission denied' error is shown). You might need some developer libraries (libusb-dev ...). If there are errors, (I had some) they need to be fixed. For one, err has finally died! (according to [gkh on g+].). For it is fixed upstream somewhere over on [github].

Load the module with sudo insmod awusb.ko

Run (possibly with sudo) LiveSuit.sh

Let your device go to FEL mode, then connect.

Download
http://dl.cubieboard.org/software/tools/livesuit/LiveSuit_ForMac.zip

Installation and usage
This zip archive contain a pdf explaining procedure (in english and chinese) and another zip for the software itself.