Skip to content

Add wolfBoot firmware update over TLS 1.3 HTTPS to the Versal VMK180 port - #200

Merged
mattia-moffa merged 1 commit into
wolfSSL:masterfrom
dgarske:versal_ota
Nov 27, 2026
Merged

mattia-moffa merged 1 commit into
wolfSSL:masterfrom
dgarske:versal_ota

Conversation

@dgarske

@dgarske dgarske commented Nov 23, 2026

Copy link
Copy Markdown
Member

Adds a network firmware update example to the AMD Versal VMK180 port. The application runs at EL2 under wolfBoot, downloads a new image over TLS 1.3 and writes it to the inactive QSPI slot.

  • src/http/httpc.c: small HTTP GET client, with a unit test
  • Versal: EL2 entry under wolfBoot and an OTA=1 build with HTTPS (ML-KEM hybrid key exchange, mutual authentication) or TFTP transport
  • A new image boots on probation and confirms itself only after it reaches the server again
  • host/: matching HTTPS server and demonstration certificate script
  • wolfboot_enckey.c: demonstration image key provider linked into wolfBoot

Depends on wolfSSL/wolfBoot#999.

Tested on a VMK180: update, tampered image rejected, wrong client certificate not confirmed, unconfirmed image rolled back.

@dgarske dgarske self-assigned this Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

MemBrowse Memory Report · Explore what changed →

amd-versal-ddr

  • DDR: .data +16 B (+0.0%, 2,130,136 B / 16,777,216 B, total: 13% used)

amd-versal-ocm

  • OCM: .data +16 B (+0.0%, 229,592 B / 262,144 B, total: 88% used)

amd-zcu102-ddr

  • DDR: .data +16 B, .text +64 B (+0.0%, 2,130,128 B / 16,777,216 B, total: 13% used)

amd-zcu102-ocm

  • OCM: .data +16 B, .text +64 B (+0.0%, 229,584 B / 262,144 B, total: 88% used)

stm32h563-freertos-https

  • FLASH: .text +344 B (+0.1%, 282,484 B / 2,064,384 B, total: 14% used)

stm32h563-full

  • FLASH: .text +344 B (+0.1%, 353,348 B / 2,064,384 B, total: 17% used)

stm32h563-https

  • FLASH: .text +344 B (+0.1%, 279,564 B / 2,064,384 B, total: 14% used)

stm32h563-tzen-ssh

  • FLASH: .text +352 B (+0.1%, 318,180 B / 654,336 B, total: 49% used)

No memory changes detected for:


Catch memory regressions in CI with MemBrowse. Free for open source.

@mattia-moffa
mattia-moffa merged commit dde3018 into wolfSSL:master Nov 27, 2026
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants