Lines Matching +full:- +full:bootloader
3 * SPDX-License-Identifier: Apache-2.0
19 #define SRAM2_USER_DRAM_SIZE (SRAM2_SIZE - CONFIG_ESP32S3_DATA_CACHE_SIZE)
21 /** Simplified memory map for the bootloader.
22 * Make sure the bootloader can load into main memory without overwriting itself.
24 * ESP32-S3 ROM static data usage is as follows:
25 * - 0x3fcd7e00 - 0x3fce9704: Shared buffers, used in UART/USB/SPI download mode only
26 * - 0x3fce9710 - 0x3fceb710: PRO CPU stack, can be reclaimed as heap after RTOS startup
27 * - 0x3fceb710 - 0x3fced710: APP CPU stack, can be reclaimed as heap after RTOS startup
28 * - 0x3fced710 - 0x3fcf0000: ROM .bss and .data (not easily reclaimable)
30 * The 2nd stage bootloader can take space up to the end of ROM shared
48 /* For safety margin between bootloader data section and startup stacks */
57 #define BOOTLOADER_USER_DRAM_END (DRAM_BUFFERS_START - BOOTLOADER_STACK_OVERHEAD)
61 (BOOTLOADER_USER_DRAM_END - BOOTLOADER_IRAM_LOADER_SEG_LEN + IRAM_DRAM_OFFSET)
62 #define BOOTLOADER_IRAM_SEG_START (BOOTLOADER_IRAM_LOADER_SEG_START - BOOTLOADER_IRAM_SEG_LEN)
63 #define BOOTLOADER_DRAM_SEG_END (BOOTLOADER_IRAM_SEG_START - IRAM_DRAM_OFFSET)
64 #define BOOTLOADER_DRAM_SEG_START (BOOTLOADER_DRAM_SEG_END - BOOTLOADER_DRAM_SEG_LEN)
67 * This address is where 2nd stage bootloader starts allocating memory,
69 * When there is no 2nd stage bootloader the bootstrapping is done
70 * by the so-called SIMPLE_BOOT.
76 #define USER_DRAM_END (BOOTLOADER_IRAM_LOADER_SEG_START - IRAM_DRAM_OFFSET)