Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zephyr: serial recovery: Missing required hash field in state of images response #1581

Closed
nordicjm opened this issue Jan 24, 2023 · 1 comment · Fixed by #1644
Closed

zephyr: serial recovery: Missing required hash field in state of images response #1581

nordicjm opened this issue Jan 24, 2023 · 1 comment · Fixed by #1644

Comments

@nordicjm
Copy link
Collaborator

nordicjm commented Jan 24, 2023

On https://docs.zephyrproject.org/latest/services/device_mgmt/smp_groups/smp_group_1.html it states that for the "get image state" response, hash is a required field, however in mcuboot with serial recovery, this field is in fact not sent, therefore either the field should be sent or the documentation needs to be updated to specify that it is not a required field in the response.

This issue has been opened in zephyr also: zephyrproject-rtos/zephyr#54064

@pepe2k
Copy link
Contributor

pepe2k commented Jan 26, 2023

@nordicjm I have a hacky patch with support for including hash in my local tree (see: https://pastebin.com/EGFdUA7L). To apply it cleanly, include this first: #1507

Cheers,
Piotr

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 a pull request may close this issue.

2 participants