Skip to main content

Flashing SOM-SMARC-Dragonwing-IQ8 (F86)

note

The SOM-SMARC-Dragonwing-IQ8 (F86) is currently in prototype / early-access phase. Standard pre-built Clea OS releases are not yet publicly distributed for this module. The BSP release archive containing both the main OS image and the real-time SAIL firmware is provided directly by SECO. Contact your SECO technical or sales representative for access to the software package.

Overview​

The SOM-SMARC-Dragonwing-IQ8 (F86) is powered by the Qualcomm® Dragonwing™ IQ8 (QCS8275) processor and features a dual-subsystem architecture:

  1. SAIL (Real-Time Subsystem BSP): Safety and real-time firmware that runs on the dedicated real-time processor cores and is flashed into the onboard SPI NOR flash (spinor).
  2. Main Application BSP: The Linux operating system and application environment (kernel, device tree, rootfs, multimedia frameworks) flashed into the onboard UFS storage (ufs).

Both components are included in the BSP release package and must be flashed sequentially using the Qualcomm® Device Loader (QDL) utility over a USB connection while the board is in Serial Downloader (EDL) Mode.


Prepare Host PC​

A host computer running Linux (Ubuntu 20.04/22.04 LTS or newer recommended) or Windows (10/11) is required.

caution

A physical Linux host is strongly recommended. Using a virtual machine (VM) is not recommended because USB passthrough latency can cause the Qualcomm Device Loader connection to drop during the flashing sequence.

Download Qualcomm® Device Loader (QDL)​

The QDL utility is required to communicate with the Qualcomm® SoC over USB in Serial Downloader mode.

QDL Version Compatibility

For the SOM-SMARC-Dragonwing-IQ8 (F86), make sure to use a Qualcomm® Device Loader (QDL) version ≥ 2.8 (version 2.8 or newer). Older versions (< 2.8) are not supported and may cause flashing failures on this platform.

  1. Download the tool from the Qualcomm® Software Center (select version 2.8 or newer).
  2. Unpack the downloaded archive (for Linux: QDL_X.X_Linux_x64.zip, for Windows: the corresponding .zip).
  3. On Linux, grant execution permissions to the binary:
    chmod a+x qdl
    (On Windows, the executable is qdl.exe. You can replace qdl or ./qdl with qdl.exe in the commands below).

Prepare Working Directory and Image Archive​

  1. Create a dedicated workspace directory on your host PC and copy the qdl executable into it (or ensure qdl is accessible in your system PATH):

    mkdir f86-flash
    cd f86-flash
  2. Place the BSP release archive received from SECO (e.g. qcom-multimedia-image-seco-iq-8275-f86.tgz) in this directory.

  3. Unpack the image archive:

    tar -zxvf qcom-multimedia-image-seco-iq-8275-f86.tgz
  4. Verify the extracted directory structure. Inside the image directory (e.g., qcom-multimedia-image-seco-iq-8275-f86/), you will find the main BSP files and a sail_nor/ subdirectory:

    qcom-multimedia-image-seco-iq-8275-f86/
    ├── prog_firehose_ddr.elf # DDR firehose programmer for UFS BSP
    ├── rawprogram*.xml # Raw partition descriptors for UFS
    ├── patch*.xml # Partition patch scripts for UFS
    ├── ... # Partition binaries (boot, rootfs, system images)
    └── sail_nor/ # Real-time subsystem (SAIL) directory
    ├── prog_firehose_ddr.elf # DDR firehose programmer for SPI NOR
    ├── rawprogram0.xml # Raw partition descriptor for SPI NOR
    ├── patch0.xml # Partition patch script for SPI NOR
    └── ... # SAIL real-time firmware binaries

Enter Serial Downloader Mode​

To flash the device, it must be forced to boot into Serial Downloader (EDL) Mode by asserting the FORCE_RECOV# signal on the carrier board before powering on.

Follow the instructions corresponding to your carrier board:

The Carrier-SMARC-E71 is the reference 3.5" carrier board for SMARC 2.1.1 modules.

  1. Ensure the board is powered off.

  2. Set the configuration switches SW1 and dual DIP switch SW2 as illustrated below:

    Carrier-SMARC-E71 Switch Configuration

  3. Move switch 2 of dual DIP switch SW2 to the ON position to enable the FORCE_RECOV# signal.

  4. Connect a USB Type-A to Micro-USB (or Micro-AB) cable between connector J8 (USB OTG Micro-AB) on the Carrier-SMARC-E71 and a USB port on your Host PC.

  5. Connect the power supply (9V–24V DC) to the power connector and power on the carrier board.

  6. On a Linux host, verify the device is detected in EDL mode by running lsusb. You should see an entry for Qualcomm (e.g., Qualcomm, Inc. Gobi Wireless Modem / QDL with ID 05c6:9008).

For additional carrier details, refer to the Carrier-SMARC-E71 Manual.


Flashing the Device​

important

You must flash both the real-time firmware (SAIL) and the main BSP. Both are required for proper operation.

Step 1: Flash SAIL (Real-Time Subsystem)​

The SAIL firmware must be flashed to the onboard SPI NOR flash storage (spinor).

  1. Navigate to the sail_nor directory inside the extracted image folder:

    cd qcom-multimedia-image-seco-iq-8275-f86/sail_nor
  2. Run the qdl command with the --storage spinor option:

    qdl --storage spinor prog_firehose_ddr.elf rawprogram0.xml patch0.xml

    (If qdl is located in your parent working directory and not in system PATH, specify the path, e.g. ../../qdl --storage spinor prog_firehose_ddr.elf rawprogram0.xml patch0.xml).

  3. Wait for the command to finish. Upon success, the terminal will return without errors.

Step 2: Flash the Main Application BSP​

The main BSP containing the Linux kernel, bootloader, device tree, and root filesystem must be flashed to the onboard UFS storage (ufs).

  1. Return to the root directory of the image package:

    cd ..

    (Ensure you are in the directory containing prog_firehose_ddr.elf, rawprogram*.xml, and patch*.xml for the main BSP).

  2. Run the qdl command with the --storage ufs option:

    qdl --storage ufs prog_firehose_ddr.elf rawprogram*.xml patch*.xml
  3. The tool will program the partitions one by one:

    waiting for programmer...
    flashed "sys_boot" successfully
    flashed "bootfs" successfully
    flashed "rootfs" successfully
    ...
    patches applied
    partition 1 is now bootable

Once partition 1 is now bootable is displayed, the flashing process is complete.


Post-Flashing and Booting​

  1. Power off the carrier board or disconnect the power supply.
  2. Return the recovery switch to normal operating mode:
    • Carrier-SMARC-E71: Move switch 2 of dual DIP switch SW2 back to the OFF position.
    • Carrier-SMARC-B79: Move switch 2 of dual DIP switch SW13 back to the OFF position.
  3. Disconnect the USB flashing cable from J8 (or CN30).
  4. Connect required peripherals (HDMI display, keyboard, mouse, Ethernet cable, and debug serial cable if monitoring UART console output).
  5. Power on the device.

The board will now boot into the freshly installed Linux BSP.