Giter VIP home page Giter VIP logo

Comments (2)

KunYi avatar KunYi commented on July 30, 2024 2

I have some experience
this is my import manifest file

{
  "updateId": {
    "provider": "UWINGS",
    "name": "raspberrypi3b",
    "version": "0.0.2"
  },
  "updateType": "microsoft/swupdate:1",
  "installedCriteria": "0.0.2",
  "compatibility": [
    {
      "deviceManufacturer": "UWINGS",
      "deviceModel": "RefDevice"
    },
    {
      "deviceManufacturer": "ADUTeam",
      "deviceModel": "RefDevice"
    }
  ],
  "files": [
    {
      "filename": "adu-update-image-raspberrypi3.swu",
      "sizeInBytes": 98631168,
      "hashes": {
        "sha256": "SV5bYr+EVPUt2yT47/XaXbrYG2cp30+p5lTWKJ7JihI="
      }
    }
  ],
  "createdDateTime": "2021-03-24T05:07:58.2211123Z",
  "manifestVersion": "2.0"
}

if you want generation your import manifest files run the below commands
you can modify DeviceManafactuer/DeviceModel/ for your device
but need match parameter aduc_manufacturer/aduc_model in adu-conf.txt
change Provider/Name/Version to your want show on Azure IoTHub Portal

and InstalledCriteria need match your update image crteria file
currently to check /etc/adu-version of MSFT images

Import-Module ./AduUpdate.psm1
$compat1 = New-AduUpdateCompatibility -DeviceManufacturer 'UWINGS' -DeviceModel 'RefDevice'
$compat2 = New-AduUpdateCompatibility -DeviceManufacturer 'ADUTeam' -DeviceModel 'RefDevice'

$importManifest = New-AduImportManifest -Provider 'UWINGS' -Name 'raspberrypi3b' -Version '0.0.2' `
                                        -UpdateType 'microsoft/swupdate:1' -InstalledCriteria '0.0.2' `
                                        -Compatibility $compat1,$compat2 -Files 'adu-update-image-raspberrypi3.swu'

$importManifest | Out-File '.\rpi3b-importManifest.json' -Encoding UTF8

there have my own image and update logs

from iot-hub-device-update.

matsujirushi avatar matsujirushi commented on July 30, 2024

Hi @KunYi ,
Thanks for information.
I could upload.
image

from iot-hub-device-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.