OVMS3-idf/components/bootloader_support
Tim Nordell 43393cf4d1 bootloader: Support for skipping validation upon wake from deep sleep
This saves time when waking up from deep sleep, but potentially decreases
the security of the system.  If the application able to modify itself
(especially areas that are loaded into RAM) in flash while running
without crashing or is modifies the cached bits of information about
what was last booted from the bootloader, this could cause security
issues if the user does a "deep sleep reset" since the full validation
is skipped.

Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
..
include bootloader: Support for skipping validation upon wake from deep sleep 2019-08-21 11:44:37 +00:00
include_bootloader tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
src bootloader: Support for skipping validation upon wake from deep sleep 2019-08-21 11:44:37 +00:00
test components: use new component registration api 2019-06-21 19:53:29 +08:00
CMakeLists.txt bugfix(flash): add flash config in app startup 2019-07-18 14:40:59 +08:00
component.mk make bootloader_support depend on IDF_TARGET 2019-04-16 17:37:56 +08:00
Makefile.projbuild Secure boot: Correctly re-sign if signing key changes, better error if missing 2016-12-01 23:49:12 -08:00
README.rst Refactor existing bootloader common functionality into bootloader_support component 2016-11-02 17:58:41 +11:00

Bootloader Support Component
============================

Overview
--------

"Bootloader support" contains APIs which are used by the bootloader but are also needed for the main app.

Code in this component needs to be aware of being executed in a bootloader environment (no RTOS available, BOOTLOADER_BUILD macro set) or in an esp-idf app environment (RTOS running, need locking support.)