esp-idf/components/bootloader_support
Mahavir Jain f047237aa5 fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:16:56 +02:00
..
bootloader_flash bugfix(spi_flash): Fix build error when octal flash is enabled, 2023-12-22 14:11:28 +08:00
include fix(ota): additional checks for secure version in anti-rollback case 2024-02-15 15:10:28 +02:00
private_include compiler: replaced noreturn by __noreturn__ in header files 2023-05-18 12:49:40 +08:00
src fix(bootloader_support): check the secure version only for app image 2024-02-20 11:16:56 +02:00
test_apps esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around 2023-06-26 18:12:30 +08:00
.build-test-rules.yml esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around 2023-06-26 18:12:30 +08:00
CMakeLists.txt build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES 2023-05-10 09:53:55 +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.)