Qualcomm Dragonwing EVK Flashing Image
Appearance
Table of Contents
[Sticky]
Qualcomm Dragonwing EVK Flashing Image
Setting up the board in EDL Mode
- Turn on the S2-3 DIP switch by pushing it up
- Connect the board to a 12 V power supply
- Connect the board to the host computer through a USB Type-C connector
-
Verify if the board enter EDL mode successfully with the
lsusbcommand. You should see a similar output to the following:Bus 002 Device 014: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Update the UDEV rules.
- Got to the
udevconfiguration directory:cd /etc/udev/rules.d
- Verify the contents in the directory:
- If the
51-qcom-usb.rulesdoes not exist, create it:sudo vi 51-qcom-usb.rules
- Add thhe following contents:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0664", GROUP="plugdev" - If it does exist, check the content to see if it matches with the previous line:
cat 51-qcom-usb.rules
- If the
- Restart the
udevservice:sudo systemctl restart udev
Install QDL Tools
- Use the QDL tool to flash images into the board:
- Download the QDL tool and unzip the contents.
mv ~/Downloads/QDL_2.7_Linux_x64.zip . unzip QDL_2.7_Linux_x64.zip
- Give executable permission:
chmod +x $WORK_DIR/dw-ubuntu-images/QDL_2.5_Linux_x64
- Download the QDL tool and unzip the contents.
- Set the
$qdl_tool_pathvariable:export qdl_tool_path=$WORK_DIR/dw-ubuntu-images/QDL_2.5_Linux_x64/
Flash binaries
- Perform UFS provisioning on the board:
- Download the provision folder by running:
wget https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/QCS9100/provision.zip unzip provision.zip
- Move the
provision_1_2.xmlfile from the unzipped directory to the$WORK_DIR/dw-ubuntu-images/QLI.1.7-Ver.1.1-ubuntu-QCS9100-nhlos-bins/directory:mv provision_1_2.xml ./QLI.1.7-Ver.1.1-ubuntu-QCS9100-nhlos-bins/
- Provision UFS by running the following command from the unzipped provision directory:
cd QLI.1.7-Ver.1.1-ubuntu-QCS9100-nhlos-bins/ $qdl_tool_path/qdl --storage ufs prog_firehose_ddr.elf provision_1_2.xml
- Download the provision folder by running:
- Perform CDT Flashing:
- Download the CDT binary by running:
wget https://artifacts.codelinaro.org/artifactory/codelinaro-le/Qualcomm_Linux/QCS9100/cdt/rb8_core_kit.zip unzip rb8_core_kit.zip
- Flash the CDT by running the following command from the unzipped CDT directory:
$qdl_tool_path/qdl prog_firehose_ddr.elf rawprogram3.xml patch3.xml
- Download the CDT binary by running:
- Flash the Ubuntu software images:
- Go to
$WORK_DIR/dw-ubuntu-images/QLI.1.7-Ver.1.1-ubuntu-QCS9100-nhlos-bins/sail_norand flash RTSS:$qdl_tool_path/qdl --storage spinor prog_firehose_ddr.elf rawprogram0.xml patch0.xml
- Go to
$WORK_DIR/dw-ubuntu-images/QLI.1.7-Ver.1.1-ubuntu-QCS9100-nhlos-bins/and flash Ubuntu:$qdl_tool_path/qdl --storage ufs prog_firehose_ddr.elf rawprogram*.xml patch*.xml
- Go to
Remember to take the device out of EDL mode and restart it.
It is recommended to connect the flashing USB-C cable directly to the host computer. Hubs and adapters might lead to issues when flashing.