Sunxi-tools: Windows [updated]
: The primary tool used to script and interact with Allwinner devices in FEL mode (a low-level bootrom recovery mode over USB). It allows you to read/write memory, load U-Boot into RAM, and flash storage.
Compiling from source on Windows requires a complex MinGW toolchain. Fortunately, the open-source community maintains updated, pre-compiled Windows binaries.
to change CPU voltages, DRAM timings, or HDMI settings without re-imaging the entire system. NAND Partitioning sunxi-nand-part
: For sunxi-fel to communicate with a device in FEL mode, a specific USB driver must be installed. The Zadig USB tool is widely used to install the WinUSB or libusb-win32 driver for the Allwinner device. sunxi-tools windows
There are three primary methods to run sunxi-tools on Windows, ranging from native compilation to virtualization. Method 1: Pre-compiled Binaries (Fastest)
This guide provides a comprehensive walkthrough of using sunxi-tools on Windows. You will learn how to compile the tools, set up the necessary USB drivers, and execute critical commands like sunxi-fel directly from the Windows command line or PowerShell.
to load SPL (Secondary Program Loader), read/write memory, or flash SPI storage. sunxi-fexc (fex2bin / bin2fex) : The primary tool used to script and
sunxi-fel.exe version
: Compilers for .fex files (Allwinner’s legacy hardware configuration format).
sunxi-fel.exe ver
You have two main options to get the tools on Windows. The first is the simplest.
the project file with Code::Blocks or use the command line with MinGW.
This is brilliant for testing:
This article provides a complete guide on how to obtain, install, and use sunxi-tools on Windows 10 and 11 to flash firmware, dump NAND, and interact with the processor. What are Sunxi-Tools?
