OVMS3-idf/components/bootloader_support
Ivan Grokhotkov b6113eb73b bootloader: account for load address when mapping cache pages
Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.

Reported in https://esp32.com/viewtopic.php?f=13&t=6952.
2019-01-23 17:13:30 +08:00
..
include bootloader: verify that loaded image does not overlap bootloader code 2018-10-30 17:35:23 +08:00
include_priv bootloader: account for load address when mapping cache pages 2019-01-23 17:13:30 +08:00
src bootloader: account for load address when mapping cache pages 2019-01-23 17:13:30 +08:00
test bootloader: verify that loaded image does not overlap bootloader code 2018-10-30 17:35:23 +08:00
component.mk Secure boot: Option for app & partition table signing to happen outside build system 2016-12-19 13:12:05 +11: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.)