Skip to content

fix(kdrv): Refuse an update that is not the project running - #112

Merged
jbenedictocenteno merged 1 commit into
developfrom
fix/os-update-guard
Nov 13, 2026
Merged

jbenedictocenteno merged 1 commit into
developfrom
fix/os-update-guard

Conversation

@jbenedictocenteno

Copy link
Copy Markdown
Contributor

Description of Change

install dst=os took any image built for the chip. An app's image went into the slot, booted in the OS's place and stayed until the next reset. The slot's end now reads the description of what was written and refuses a project other than the one running: >err code=5 msg=install.

Test Scenarios

  • tools/host_tests.sh and tools/check_layers.sh, green at this branch.
  • DVT board e8:f6:0a:e7:6c:01: an app sent as an update is refused and the running slot does not change; real updates into ota_0 and ota_1 pass, as does one cut half way (14 checks).

Related links

None.

install dst=os took any image built for the chip. An app's image went
into the slot, booted in the OS's place and stayed until the next
reset. The slot's end now reads the description of what was written
and refuses a project other than the one running.
@jbenedictocenteno
jbenedictocenteno merged commit 6c0a139 into develop Nov 13, 2026
1 of 7 checks passed
@jbenedictocenteno
jbenedictocenteno deleted the fix/os-update-guard branch November 13, 2026 10:08
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.

1 participant