Sunxitools Windows Portable Guide
sunxi-fel.exe spiflash-write 0 u-boot-sunxi-with-spl.bin
: The core tool for communicating with the SoC while it is in FEL mode (bootloader mode) via USB. It allows flashing directly to RAM or NAND/eMMC, dumping NAND contents, and more.
: Since the tools are portable, they do not include automatic drivers. Use Zadig to install the WinUSB or libusb-win32 driver for your Allwinner device while it is in FEL mode.
The most common tools included in these portable packages are:
SunxiTools is an open-source command-line toolset developed by the Linux-Sunxi community, specifically designed for working with Allwinner processors (including sun4i, sun5i, sun7i, sun8i, and others). These tools provide developers and enthusiasts with powerful capabilities to handle device firmware, GPIO configuration, NAND partitioning, and other core functions that are essential for embedded systems development. sunxitools windows portable
The version brings this power to your desktop without the need for complex installations or large framework dependencies.
Select as the driver on the right-hand side and click Install Driver . Practical Uses: What Can You Do with Portable Sunxi-Tools?
FEL mode is not automatic. You need to force it:
What (e.g., H3, H6, A20) you are working with. sunxi-fel
Checksum verification: Always verify the SHA-256 hash of your downloaded archive against community posts.
To boot a device without a working SD card, you can load U-Boot directly into RAM: sunxi-fel uboot u-boot-sunxi-with-spl.bin Use code with caution. 3. Dumping Flash Memory sunxi-fel read 0x00000000 0x10000000 dump.bin Use code with caution. 4. Converting FEX to BIN fex2bin script.fex script.bin Use code with caution. Troubleshooting
: Used to read and analyze information from the bootloader header. Portable Version Advantages
: Converts .fex configuration files into binary .bin format. Use Zadig to install the WinUSB or libusb-win32
This returns the SPL (Secondary Program Loader) version and other device identifiers.
Getting your Windows machine ready for FEL mode takes just a few steps. Here is how to create a robust portable setup: Step 1: Download the Portable Package
: Use commands like sunxi-fel.exe version to verify the connection.
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)
of sunxi-tools for Windows. Let me know what you are currently trying to build or fix! Share public link