Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Contiki-NG OAP Engine - Work-in-Progress #623
This is work in progress towards a Contiki-NG cross-platform OAP engine.
The design has the following components:
The easiest way to start is to cd into
Tested on launchpad/cc2650 only and still quite rough, but I thought I'd throw it out here anyway.
Bunch of things we need to do before this can be considered seriously:
MCUboot compliance sounds like a good idea. As far as I can see they use double-buffering, swapping images using internal flash only. Have you seen it / heard about it used with ext flash?
They support signature verification which is a very desirable feature
@glaucopgomes we discussed that a few days ago. The intention is to merge it into develop in the near future and document it as "experimental". I'll need to rabase this before we can do that of course.
The image manipulation on flash fundamentally works and rolling it out will speed-up discovery of bugs and give opportunities for improvements.
What we do not have is network transport. It makes sense for the first such transport to be lwm2m since it already provides a standard endpoint. Naturally this can also be done using a multitude of different methods.
If I understand, the bootloader code is located in the address range from 0x00000 to 0x02000. Are all other functions called by the bootloader (contiki functions, ti lib functions ...) also located in this range? If so, our firmware also executes the methods of these libs in this same memory region or it has these same libs replicated in the range from 0x02000 to 0x1FF9C
Also, there is some errors building the example:
This is the errors when I run make in the example root dir:
acesse@acesse-550XBE-350XBE:~/Acesse/bl/contiki-ng/examples/oap$ make TARGET=cc26x0-cc13x0 BOARD=launchpad/cc1310
And this is the error running make inside the bootloader subdirectory:
acesse@acesse-550XBE-350XBE:~/Acesse/bl/contiki-ng/examples/oap/bootloader$ make TARGET=cc26x0-cc13x0 BOARD=launchpad/cc1310
And running from golden-image subdirectory:
acesse@acesse-550XBE-350XBE:~/Acesse/bl/contiki-ng/examples/oap/golden-image$ make TARGET=cc26x0-cc13x0 BOARD=launchpad/cc1310