Skip to main content

Using a TF Card to Flash the M2WE System

Important Warning
  • The FLY-FAST system does not support migration to M2WE via this method!
  • This operation will flash a completely new system image to the M2WE, not a system migration, and will erase all data on the device.

Preparation

Before starting, ensure you have the following items ready:

  1. M2WE: The product requiring the image to be flashed.
  2. TF Card: Capacity not less than 16GB, a high-speed card is recommended.
  3. FLY Host Computer: A host computer capable of installing the M2WE.
  4. System Image: A pre-downloaded system image file specifically for the M2WE.
  5. Network Cable (Recommended): For connecting the host computer to the router to ensure a stable network connection.
  6. SSH Tool: MobaXterm, used to connect to the host computer and execute commands.

Operation Steps

Step 1: Download the System Image

  1. Visit the official FLYOS download page:
    • Click to enter the system download page
  2. Click the Download File button on the page.
    Loading...
  3. In the pop-up Select Download File interface:
    • Select the system version corresponding to your host computer from the Chip Type dropdown menu.
    Loading...
  4. Choose to download the image file in 7Z (compressed archive) or EXE (Windows installer) format based on your usage habits.
  5. After downloading, extract the archive to obtain the final .img format image file.

Step 2: Connect via SSH and Upload the Image

  1. Connect the host computer to the router using a network cable.
  2. Open MobaXterm or another SSH tool and connect to your host computer over the network.
  3. Drag and drop the system image file prepared in Step 1 (e.g., FlyOS-Fast-H618-v1.3.2.img) directly into the /data/ directory in MobaXterm's file browser window, and wait for the file upload to complete.
    Loading...

Step 3: Identify the TF Card Device

  1. Execute the following command in the SSH terminal to view all storage devices:
    lsblk
    Loading...
  2. Locate the device name corresponding to the M2WE based on its capacity (usually 14G-16G); the default is /dev/mmcblk1. Ensure the device name is correct, as selecting the wrong one may lead to data loss.

Step 4: Execute the Flashing Process

  1. Execute the following command to start flashing (ensure you replace the image filename and device name in the command with the ones you are actually using):
    dd if=/data/YourSystemImageFilename.img of=/dev/YourTFCardDeviceName bs=4M status=progress
    Example:
    dd if=/data/FlyOS-Fast-H618-v1.3.2.img of=/dev/mmcblk1 bs=4M status=progress
    Loading...
  2. Wait patiently for the flashing process to complete until the terminal indicates it is finished and returns to the command prompt. Progress information will be displayed during the process.
    Loading...

Step 5: Complete the Setup

  1. After flashing is complete, execute the shutdown command to safely power off the host computer:
    poweroff
  2. Remove the TF card from the host computer.
  3. Power cycle the device to start the new system.
Loading...