Burn SPI boot firmware
The Dragon Q6A comes with SPI boot firmware pre-installed. Under normal circumstances, there is no need to re-flash the boot firmware. However, if the system fails to boot properly, you can try re-flashing the SPI boot firmware.
The primary function of the SPI boot firmware (BootROM + bootloader) is to initialize hardware in stages (CPU → memory → storage) and ultimately load the operating system kernel from the storage device. :: :
When the device cannot boot normally, you can enter EDL mode and then use the EDL tool to flash the SPI boot firmware.
Go to the Resource Download page, download the edl-ng
compressed package and unzip it, then select the corresponding version based on your system platform to download the SPI firmware.
- Windows
- Linux
Firmware burning
-
Enter the following command to burn
.\edl-ng.exe --memory=spinor --loader C:\path\to\prog_firehose_ddr.elf rawprogram C:\path\to\rawprogram0.xml C:\path\to\patch0.xml
FAQ
- If prompted Unable to loda DLL 'libusb-1.0'
Install vc_redist
Add the Linux version of the edl-ng
tool to the system environment variables so that you can use the edl-ng
command directly from any terminal.
- View the path
You can open a terminal in the folder where the edl-ng
tool is located, use the realpath
command to view the full path of edl-ng
in the current folder, and then create a soft link for edl-ng
.
realpath edl-ng
Terminal output example:
/home/user/edl-ng-dist/linux-x64/edl-ng
- Create soft links
sudo ln -s [edl-ng path] /usr/local/bin/edl-ng
# Example
sudo ln -s /home/user/edl-ng-dist/linux-x64/edl-ng /usr/local/bin/edl-ng
Parameter description:
-
[edl-ng path]
: Needs to be changed to the full path of your ownedl-ng
tool -
Verification
You can open a terminal at any location and use the edl-ng --version
command to view the version information.
edl-ng --version
If the terminal prints the version information, it means that the edl-ng
tool has successfully set the soft link.
- Burn SPI boot firmware
Go to the Resource Summary Download page, download the spi firmware
file, then unzip it into the directory where the prog_firehose_ddr.elf
file is located and open the terminal. Use the edl-ng
command to erase the SPI boot firmware.
sudo edl-ng --memory=spinor rawprogram rawprogram0.xml patch0.xml --loader=prog_firehose_ddr.elf