nvlsianpu commented on issue #46: Zephyr support
URL: https://github.com/apache/mynewt-mcumgr/pull/46#issuecomment-562709323
I had tested this extensivelly with
https://github.com/zephyrproject-rtos/zephyr/pull/20584
Looks like BLE transport works well.
Unfortunately shell transport
nvlsianpu commented on issue #46: Zephyr support
URL: https://github.com/apache/mynewt-mcumgr/pull/46#issuecomment-561100140
@mlaz
I believe you mix `image trailer` with `image header + image metadata`
Signing operation adds to the executable binary the image header with
required
nvlsianpu commented on issue #46: Zephyr support
URL: https://github.com/apache/mynewt-mcumgr/pull/46#issuecomment-558218646
^^ @mlaz In zephy this is ensured here:
https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/dfu/img_util/flash_img.c#L205-L213
nvlsianpu commented on issue #46: Zephyr support
URL: https://github.com/apache/mynewt-mcumgr/pull/46#issuecomment-558159198
I saw in the code `that img_mgmt_impl_erase_if_needed()` is used for lazy
erase, but couldn't found place where erase of image status is ensured (it land
in the