CDT is a set of platform-specific configuration files used during flashing to configure hardware parameters on the Dragonwing IQ-X EVK.
To perform CDT flashing:
Download the IQ-X.1.4-EVK-CDT.tar.gz file from JFrog.
Unzip the boot binaries.
Put the device in EDL mode.
Verify whether the device has entered EDL mode:
$ lsusb
Sample output
Bus 002 Device 014: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
Navigate to the CDT workspace directory.
Erase CDT
<qdl_tool_path>/qdl --storage spinor xbl_s_devprg_ns.melf rawprogram0_WIPE_PARTITIONS.xml
<qdl_tool_path>/qdl --storage spinor xbl_s_devprg_ns.melf rawprogram0_BLANK_GPT.xml
Flash CDT:
<qdl_tool_path>/qdl --storage spinor xbl_s_devprg_ns.melf rawprogram0.xml patch0.xml
Sample Output
waiting for programmer...
flashed "cdt" successfully
flashed "recoveryinfo" successfully
flashed "PrimaryGPT" successfully
flashed "BackupGPT" successfully
11 patches applied
UFS provisioning divides storage into logical unit numbers (LUNs) for better organization and performance.
To provision the UFS, do the following:
Download the provision file:
wget https://artifacts.codelinaro.org/ui/native/codelinaro-le/Qualcomm_Linux/X1E80100/provision.zip
unzip provision.zip
Provision UFS:
<qdl_tool_path>/qdl --storage ufs xbl_s_devprg_ns.melf <Provision file>
Example
<qdl_tool_path>/qdl --storage ufs xbl_s_devprg_ns.melf provision_default.xml
Sample output
UFS provisioning succeeded
ADB (Android Debug Bridge) enables communication with the device.
Enable ADB on the device
Boot and log in.
Enable USB debugging:
touch /etc/usb-debugging-enabled
Start ADB:
Option 1: Reboot
Option 2:
systemctl start android-tools-adbd
Note
ADB persists across reboots.
Install ADB
Run:
sudo apt install git android-tools-adb android-tools-fastboot wget
Verify:
adb --version
Sample output
Android Debug Bridge version 1.0.39
Connect
Connect device:
adb devices
Start shell:
adb shell
Run:
adb shell reboot edl
Install QUD to detect the device.
Clone repository:
sudo apt install git
sudo git clone https://github.com/quic/quic-usb-drivers.git
cd quic-usb-drivers
Set permissions:
sudo chmod +x QcDevDriver.sh
Install:
sudo ./QcDevDriver.sh install
Verify:
lsusb
Note
Stop ModemManager before flashing.
Stop:
sudo systemctl stop ModemManager
Restart after flashing if needed.
If flashing fails:
Power off device
Disconnect device
Restart host