Skip to content

Last sector of the firmware in boot partition gets corrupted in wolfBoot_swap_and_final_erase #589

@reza-hdd

Description

@reza-hdd

Scenario:
Boot partition: INTERNAL
Update partition: EXTERNAL
Swap Partition: EXTERNAL

When Firmware is large enough to consume all the allocated boot partition sectors, in the the final swap and erase operations (wolfBoot_swap_and_final_erase) the last sector of FW in Boot partition, which is used as a temporary sector for a copy operation, gets corrupted after being copied in external Swap partition and copied back. It looks like the contents are copied to the external Swap partition without being encrypted, but get decrypted when it is read back.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions