Re: Zephyr DFU protocol


David Brown
 

On Tue, Aug 29, 2017 at 09:14:31AM +0000, Cufi, Carles wrote:

While having one single protocol would definitely be a boon, I am not
sure LWM2M will fit the bill in terms of RAM and ROM requirements,
and we still need something for the UART recovery mode in the
bootloader, which will probably end up being the Newt Manager
Protocol since I don't think we can fit LWM2M into a bootloader.
Given that there are other parties that have an interest in lwm2m, I
think we should put our focus into supporting newtmgr for upgrades.
The other protocols (lwm2m, and USB DFU) will probably be implemented
as there is need for them.

What would be nice would be to take the target-side newtmgr code, and
make it into its own project. We would need to refactor and abstract
the operating system interfaces so that we can use the same codebase
for multiple platforms. This would be similar to how mcuboot is now
its own project that works on Zephyr and Mynewt (and soon RIOT).

David

Join devel@lists.zephyrproject.org to automatically receive all group messages.