-
Notifications
You must be signed in to change notification settings - Fork 64
/
README
58 lines (40 loc) · 1.7 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
This repository contains the latest LiveSuit binary and supporting
kernel module.
LiveSuit is a tool to flash Images to the NAND of Allwinner devices.
The latest version of this software can be retrieved from:
https://github.com/linux-sunxi/sunxi-livesuit
For more information on this repository or on this utility, check our
wiki at http://linux-sunxi.org/LiveSuit
Installing the kernel module.
-----------------------------
First you need to install dkms on your system.
On a debian or ubuntu this is as simple as (as root):
# apt-get install dkms
You can then descend into the awusb/ directory and just run:
> make
Then copy it over to to your kernel modules:
# cp awusb.ko /lib/modules/`uname -r`/kernel/
Load the module by running:
# modprobe awusb
Running LiveSuit.
-----------------
Just run the top level script:
> ./LiveSuit.sh
This will determine whether your system is x86 or x86-64 and will then
start the right binary.
Flashing your device.
---------------------
Warning: if you attach your FEL enabled device before you start
LiveSuit, then LiveSuit will not detect it. You need to first start the
LiveSuit application.
First, properly power down the device by either pressing and holding the
power button for about 10 seconds, or by cutting all power in case of
development board.
Start LiveSuit and select an image for flashing, if you haven't already
done so.
Then, hold the FEL button, and power up the device. Either by attaching
the power lead, or by pressing the power button for 1-2s and then
pressing and releasing the power button several times in quick
succession. This will have made your device enter FEL mode.
Now attach the USB OTG lead. LiveSuit should now detect your device and
start flashing.