Windows Portable: Sunxitools
驱动安装完毕后,打开 Git Bash 终端,导航至存放 sunxi-fel.exe 的目录,即可开始实战。
Download and open , a popular open-source USB driver installation utility. In Zadig, navigate to Options > List All Devices .
Before performing major firmware alterations, it is wise to extract a raw binary backup of the device's boot flash. To read the first 16 Megabytes of flash memory and save it onto your Windows PC, use: sunxi-fel.exe spiflash-read 0 0x1000000 backup_firmware.bin Use code with caution. 3. Modifying Hardware Profiles ( .fex editing)
: The most powerful tool in the set. It communicates with the device's BootROM (FEL mode) via USB to boot the system, upload files to RAM, or program SPI flash. fexc (bin2fex / fex2bin) : Converts between the binary ( ) and text (
Open Windows Device Manager, uninstall the device, and re-apply WinUSB via Zadig. Missing .dll errors on launch The portable folder structure was broken. sunxitools windows portable
Run:
sunxi-fel.exe spiflash-write 0 u-boot-sunxi-with-spl.bin
Select your Allwinner device from the dropdown menu (it typically appears as Unknown Device , AW-USB, or Onda Suite ).
Everything you need runs directly from a single folder. You can keep it on a USB stick or easily delete it when you are done. To read the first 16 Megabytes of flash
To test if your portable environment and driver are working harmoniously, execute: sunxi-fel.exe version Use code with caution.
The standard toolkit is natively built for Linux. However, the variant compiles these essential tools into standalone binaries ( .exe ) optimized for Windows environments. Because it is "portable," it runs instantly without writing to the Windows registry or requiring administrative installation privileges. Core Utilities Inside the Toolkit
While these tools were originally designed for Linux, "portable" Windows builds allow you to perform low-level operations like flashing firmware or editing hardware descriptions directly from your PC without a full Linux installation. What are Sunxi-Tools?
of sunxi-tools for Windows. Let me know what you are currently trying to build or fix! Share public link It communicates with the device's BootROM (FEL mode)
简单来说, sunxi-fel 的作用相当于其他 ARM 平台的 JTAG 或 DFU 模式,但使用起来更简便。开发者无需昂贵的仿真器,仅需一根 USB 线即可向设备 RAM 加载程序或直接烧录到 Flash 中。
Originally a command-line utility for Linux, SunxiTools is a collection of tools designed to interact with Allwinner SoC devices. It allows you to do things that the official manufacturer tools often make difficult, such as:
AWUSBFEX soc=00001663(A64) ... version=0001
Acquire a pre-compiled Windows binary zip package of sunxi-tools from a trusted open-source repository or cross-compiled GitHub release. Extract the folder (containing sunxi-fel.exe , DLL dependencies, etc.) to a location of your choice, such as C:\sunxitools\ or directly onto a USB flash drive. Step 2: Configure the Portable USB Driver