sunxi-tools
Contents |
Prerequisites
- libusb-1.0 (e.g. on a debian system do a apt-get install libusb-1.0-0-dev)
- pkg-config
Building
If not stated otherwise:
make
Tools
bin2fex
compatibility shortcut to call 'fexc' to decompile a script.bin blob back into '.fex' format used by allwinner's SDK to configure the boards
fex2bin
compatibility shortcut to call 'fexc' to compile '.fex' file into the binary form used by the sun4i kernel
fexc
base program of the two aforementioned
bootinfo
Dump information from Allwinner boot files (boot0/boot1)
--type=sd include SD boot info
--type=nand include NAND boot info (not implemented)
fel
script interface for talking to the FEL USB handler built in to the CPU. You activate FEL mode by pushing the usboot/recovery button at poweron.
fel-gpio
Simple wrapper around fel-pio and fel to allos GPIO manipulations via FEL
fel-pio.bin
ARM native helper for fel-gpio
fel-boot
fel-pio
phoenix-info
gives information about a phoenix SD image created by the phoenixcard utility and optionally extracts the embedded boot code & firmware file from their hidden partitions. Not usable for LiveSuit images.
pio
Manipulate PIO register dumps
nand-part
nand-part is a tool to repartition the internal NAND on sunxi devices. It should be (cross-)compiled for the device's architecture, and it requires the device to have a special kernel patch (already included in our kernel tree) to expose the full NAND as a block device.
Links
External links
- git repository
- Miniand's online fexc
- fexc for Windows: [1] or [2]