esp-idf/components/bootloader_support
Ivan Grokhotkov 96d0f7f5e2 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-19 14:44:55 +08:00
..
include bootloader app_update: Refactoring otadata part 2018-12-05 11:20:03 +08:00
include_bootloader bootloader: account for load address when mapping cache pages 2019-01-19 14:44:55 +08:00
src bootloader: account for load address when mapping cache pages 2019-01-19 14:44:55 +08:00
test
CMakeLists.txt CMake : Secure Boot support added 2018-11-06 17:09:55 +05:30
Makefile.projbuild
README.rst
component.mk

README.rst

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.)