sunxi-tools on Windows
sunxi-tools is a collection of utilities for Allwinner (sunxi) SoC devices—useful for reading/writing flash, creating images, and working with boot headers (e.g., nand-part, sunxi-fel, nand-sata-install). Official development is Linux-focused; Windows support requires workarounds.
3.3 Pre-built Binaries with WinUSB Driver
- Zadig Tool: Install WinUSB/libusbK driver for the Allwinner device in FEL mode.
- Executables: Some community members provide pre-compiled
sunxi-fel.exe(e.g., from Linux cross-compiled with MinGW-w64 and libusb). - Example Usage:
sunxi-fel.exe ver sunxi-fel.exe spl u-boot-sunxi-with-spl.bin
The Short Answer: You have three solid options.
library to handle memory management, which is missing in native Windows C. 3. Common Utilities & Commands Once installed, run these from a command prompt or via Common Use Case Command Example Low-level USB boot and flashing sunxi-fel -l (list devices) Convert binary scripts to text ( fexc -I bin -O fex script.bin script.fex Wrapper for to decompile bin2fex.bat Wrapper for to compile fex2bin.bat Important Troubleshooting Note If you compile yourself, you must add the flag to the function in
- Run Ubuntu in VirtualBox/VMware, enable USB passthrough to access devices, then build/run sunxi-tools as above.