LiveSuit

From linux-sunxi.org
(Redirected from LiveSuite)
Jump to: navigation, search

LiveSuit is developed by Allwinner as a installation application for Microsoft Windows to flash the NAND for Allwinner chips.

Contents

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.

Linux

Download

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 <destination>
cd <destination>
unzip Livesuit-linux.zip
cd LiveSuit_For_Linux64
chmod +x LiveSuit.run
./LiveSuit.run

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

Unsupported distribution notes

If you get a "Linux distribution <distro> 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.

See Also

Personal tools
Namespaces

Variants
Actions
Navigation
Tools