Re: mcumgr: How to calculate hash of image under Linux #nrf52840
Marti Bolivar <marti@...>
toggle quoted messageShow quoted text
It doesn't have to be TLV index 0. You need to use the "type" in each type/length/value (TLV) datum to find the hash TLV in the image binary.
I don't use mcumgr very much, just mcuboot, so I can't help you much with the "image list" output. I suggest you investigate your binary images - e.g. using the script I sent or some other means as you prefer - to compare values in the mcumgr output with what's in your image.
Hope this helps,
On Mon, Mar 4, 2019, 3:49 AM Phil Hipp <finke@...> wrote: