IoT Platform supports firmware updates. You only need to upload new firmware files to the console, and update notifications are pushed to your devices. Then, you can perform online device updates.

When configuring Link IoT Edge to enable a firmware update, you must note the following limits.

Prerequisites

  1. The required software package of Link IoT Edge Standard Edition is downloaded to a local disk. For more information about download URLs, see Download URLs.
    In this example, the software package of Link IoT Edge Standard Edition 2.7.0 for the X86-64 operating system is downloaded. The name of package is link-iot-edge-x86-64-v2.7.0.tar.gz.
    Note Only Link IoT Edge Standard Edition 2.7.0 and later versions support firmware updates.
  2. Go to the directory of the downloaded software package, and run the following commands to generate a config.json file.
    In this example, go to the directory of the link-iot-edge-x86-64-v2.7.0.tar.gz file in the X86-64 system, and run the following commands:
    echo '{"ApiVersion":"1.0","Type":"LinkEdge"}' > config.json
    tar -czf upgrade-package.tar.gz config.json link-iot-edge-x86-64-v2.7.0.tar.gz
  3. Upload the generated upgrade-package.tar.gz file to the IoT Platform console. Choose Maintenance > Firmware Update.

Device-side requirements for package installation

  • The remaining storage space of the /linkedge/run/binary-ota/ directory is no less than the total size of the self-contained Link IoT Edge software package and the files that are extracted from the package. For more information about the size of each self-contained Link IoT Edge software package, see Download URLs.
  • The remaining storage space of the /linkedge/gateway/build/ directory is no less than the size of the files that are extracted from the package.

Parameter configurations in the console

  • Add firmware
    Table 1. Parameters
    Parameter Description
    Firmware Version You can only enter a version number that is equal to or greater than 2.7.0. For more information about Link IoT Edge versions, see Download URLs.
    Signature Algorithm You can only select MD5.
  • Validate firmware or batch update firmware
    Table 2. Parameters
    Parameter Description
    Type You can only select Full.