OpenIoTAcademy / psa-boot-beta

MIT License
8 stars 4 forks source link

Initial Bootloader Flow Implementation #16

Open zaya-mc opened 4 years ago

zaya-mc commented 4 years ago

Implement the main bootloader flow.

  1. Check for updates: If no update, skip the upgrade

UPGRADE

  1. Get the download Package
  2. Authenticate the package; if fails, skip the upgrade
  3. Decrypt the image
  4. Store the upgrade package
  1. Get the latest image
  2. Jump to the image