Skip to content

Vorago demo: Test-app support for wolfCrypt test/bench#683

Merged
danielinux merged 4 commits intowolfSSL:masterfrom
dgarske:vorago_demo
Mar 3, 2026
Merged

Vorago demo: Test-app support for wolfCrypt test/bench#683
danielinux merged 4 commits intowolfSSL:masterfrom
dgarske:vorago_demo

Conversation

@dgarske
Copy link
Copy Markdown
Contributor

@dgarske dgarske commented Feb 10, 2026

Fix for tools/scripts/va416x0/build_test.sh portability (MacOS)
Added option to support wolfCrypt test/benchmark in test-app
Add some checking if partition size is too large

@dgarske dgarske self-assigned this Feb 10, 2026
@dgarske dgarske force-pushed the vorago_demo branch 3 times, most recently from b1c0e3b to a2d630f Compare February 10, 2026 20:40
@dgarske dgarske marked this pull request as ready for review February 11, 2026 01:28
@dgarske dgarske requested a review from danielinux February 11, 2026 01:28
@dgarske dgarske assigned danielinux and unassigned dgarske Feb 11, 2026
danielinux
danielinux previously approved these changes Feb 24, 2026
@danielinux danielinux assigned dgarske and unassigned danielinux Feb 24, 2026
Copilot AI review requested due to automatic review settings February 24, 2026 22:21
@dgarske dgarske assigned danielinux and wolfSSL-Bot and unassigned dgarske Feb 24, 2026
@dgarske dgarske requested review from Copilot and removed request for Copilot February 24, 2026 22:21
@dgarske dgarske self-assigned this Feb 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the Vorago VA416x0 platform support by improving script portability for macOS, adding wolfCrypt test/benchmark capabilities to the test application, and implementing partition size validation.

Changes:

  • Fixed JLinkExe detection for macOS compatibility in the build script
  • Added wolfCrypt test and benchmark support to test-app with necessary infrastructure
  • Implemented partition size checking to prevent oversized images

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tools/test.mk Updated ML_DSA size limit for test
tools/scripts/va416x0/build_test.sh Added macOS JLinkExe detection and partition size validation
tools/keytools/sign.py Added partition size overflow checking
tools/keytools/sign.c Added partition size overflow checking
test-app/wolfcrypt_support.c New file providing time and RNG functions for wolfCrypt
test-app/syscalls.c New file providing newlib syscall stubs for embedded systems
test-app/app_va416x0.c Added wolfCrypt test/benchmark integration
test-app/Makefile Added build support for wolfCrypt test/benchmark
test-app/ARM-va416x0.ld Increased heap and stack sizes
src/update_flash.c Fixed MAX_UPDATE_SIZE calculation to include header size
include/user_settings.h Added wolfCrypt test/benchmark configuration options
config/examples/vorago_va416x0.config Updated partition layout and optimization settings
Makefile Added WOLFBOOT_PARTITION_SIZE to sign tool environment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 8 comments.

Comments suppressed due to low confidence (1)

tools/keytools/sign.py:97

  • Inside make_header(), assignments to WOLFBOOT_PARTITION_SIZE / WOLFBOOT_SECTOR_SIZE create locals unless declared global, so the later size check will still see the module-level values (currently 0) and never run. Declare these as global in the function (or refactor to pass them through) so the partition-size guard actually takes effect.
def make_header(image_file, fw_version, extra_fields=[]):

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dgarske dgarske requested a review from Copilot February 26, 2026 21:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@collin-peterson-apex
Copy link
Copy Markdown

Hello, do these fixes apply to all va416xx boards, or just the va416x0?

@dgarske dgarske assigned wolfSSL-Bot and unassigned dgarske Feb 27, 2026
@dgarske dgarske requested a review from danielinux February 27, 2026 19:30
danielinux
danielinux previously approved these changes Feb 27, 2026
Added option to support wolfCrypt test/benchmark in test-app
Add some checking if partition size is too large
Copilot AI review requested due to automatic review settings February 27, 2026 20:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings February 27, 2026 21:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dgarske dgarske assigned dgarske and unassigned danielinux and wolfSSL-Bot Feb 27, 2026
@dgarske dgarske requested a review from danielinux March 2, 2026 16:17
@dgarske dgarske assigned danielinux and wolfSSL-Bot and unassigned dgarske Mar 2, 2026
Copilot AI review requested due to automatic review settings March 2, 2026 21:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dgarske dgarske removed their assignment Mar 2, 2026
@dgarske dgarske requested a review from danielinux March 2, 2026 22:15
@danielinux danielinux merged commit 2277dfa into wolfSSL:master Mar 3, 2026
410 of 412 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.

5 participants