Home
last modified time | relevance | path

Searched refs:bootloader (Results 1 – 25 of 66) sorted by relevance

123

/hal_espressif-latest/components/bootloader/
DCMakeLists.txt3 # Do not generate flash file when building bootloader or is in early expansion of the build
8 add_dependencies(bootloader partition_table_bin)
10 # When secure boot is enabled, do not flash bootloader along with invocation of `idf.py flash`
15 esptool_py_custom_target(bootloader-flash bootloader "bootloader")
16 esptool_py_flash_target_image(bootloader-flash bootloader
18 "${BOOTLOADER_BUILD_DIR}/bootloader.bin")
22 esptool_py_flash_target_image(flash bootloader
24 "${BOOTLOADER_BUILD_DIR}/bootloader.bin")
Dproject_include.cmake3 # Do not generate flash file when building bootloader
8 # Glue to build the bootloader subproject binary as an external
13 set(BOOTLOADER_BUILD_DIR "${build_dir}/bootloader")
14 set(BOOTLOADER_ELF_FILE "${BOOTLOADER_BUILD_DIR}/bootloader.elf")
17 "${BOOTLOADER_BUILD_DIR}/bootloader.bin"
18 "${BOOTLOADER_BUILD_DIR}/bootloader.map"
28 # Regardless, pass the main project's keys (signing/verification) to the bootloader subproject
43 fail_at_build_time(bootloader "Invalid bootloader target: bad sdkconfig?")
49 "${BOOTLOADER_BUILD_DIR}/bootloader-reflash-digest.bin"
50 "${BOOTLOADER_BUILD_DIR}/secure-bootloader-key-192.bin"
[all …]
DKconfig.projbuild8 Offset address that 2nd bootloader will be flashed to.
9 The value is determined by the ROM bootloader.
17 for the bootloader.
40 Specify how much output to see in bootloader logs.
98 … This will force 2nd bootloader to be loaded by DOUT mode, and will restore Dummy Cycle setting by
132 or MTDI bootstrapping pin), bootloader will change LDO settings to
259 …NOTE: Tracks the execution time starts from the bootloader code - re-set timeout, while selecting …
293 …After updating the app, the bootloader runs a new app with the "ESP_OTA_IMG_PENDING_VERIFY" state …
314 The security version is set in the bootloader, version is recorded in the eFuse field
318 Bootloader: When bootloader selects an app to boot, an app is selected that has
[all …]
/hal_espressif-latest/components/bootloader/subproject/
DCMakeLists.txt18 # A number of these components are implemented as config-only when built in the bootloader
20 bootloader
58 project(bootloader) project
85 "bootloader-reflash-digest.bin"
89 "secure-bootloader-key-${key_digest_len}.bin"
104 "No pre-generated key for a reflashable secure bootloader is available, "
119 -o "${bootloader_digest_bin}" "${CMAKE_BINARY_DIR}/bootloader.bin"
140 set(bootloader_unsigned_bin "bootloader-unsigned.bin")
163 add_custom_command(TARGET bootloader.elf POST_BUILD
167 "Bootloader built. Secure boot enabled, so bootloader not flashed automatically."
[all …]
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/
Dboot-mode-selection.rst16 …is done for you and ``esptool`` can automatically reset the board into bootloader mode. For other …
21 …pins must be in a known state for either normal (flash boot) or serial bootloader operation. Most …
33 …When the ESP8266 goes into serial bootloader mode, the Boot ROM switches GPIO2 to an output and th…
38 …The ESP8266 will enter the serial bootloader when GPIO0 is held low on reset. Otherwise it will ru…
43 | Low/GND | ROM serial bootloader for esptool |
58 …t-in USB/Serial, ``esptool.py`` can automatically reset the board into bootloader mode. For other …
66 …The {IDF_TARGET_NAME} will enter the serial bootloader when {IDF_TARGET_STRAP_BOOT_GPIO} is held l…
75 - ROM serial bootloader for esptool
88 …t also be either left unconnected/floating, or driven Low, in order to enter the serial bootloader.
92 …AP_BOOT_2_GPIO} must also be driven High, in order to enter the serial bootloader reliably. The st…
[all …]
Dfirmware-image-format.rst17 This is technical documentation for the firmware image format used by the ROM bootloader. These are…
113 …. These bytes are only overridden if this is a bootloader image (an image written to a correct boo…
129 …| 0 | WP pin when SPI pins set via efuse (read by ROM bootloader) …
131 …| 1-3 | Drive settings for the SPI flash pins (read by ROM bootloader) …
/hal_espressif-latest/tools/esptool_py/test/
Dtest_merge_bin.py134 bootloader = read_image("bootloader_esp32.bin")
140 assert merged[0x1010 : 0x1000 + len(bootloader)] == bootloader[0x10:]
144 bootloader_hdr = bootloader[:0x10]
153 self.assertAllFF(merged[0x1000 + len(bootloader) : 0x10000])
166 bootloader = read_image("bootloader_esp32.bin")
168 assert bootloader == merged[: len(bootloader)]
170 self.assertAllFF(merged[0x1000 + len(bootloader) : 0xF000])
176 bootloader = read_image("bootloader_esp32c3.bin")
179 assert bootloader == merged[: len(bootloader)]
180 self.assertAllFF(merged[len(bootloader) :])
[all …]
/hal_espressif-latest/components/bootloader/subproject/main/
DCMakeLists.txt2 REQUIRES bootloader bootloader_support)
5 set(scripts "ld/${target}/bootloader.ld")
7 list(APPEND scripts "ld/${target}/bootloader.rom.ld")
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dentering-bootloader.rst1 .. _entering-the-bootloader:
6 Espressif chips have to be reset in a certain way in order to launch the serial bootloader, only th…
8 …ool can :ref:`automatically trigger a reset into the serial bootloader <automatic-bootloader>` - i…
10 For everyone else, three things must happen to enter the serial bootloader (firmware download mode)…
Dflasher-stub.rst6 ``esptool.py`` is a serial flasher utility. It communicates with the ROM bootloader in `Espressif S…
8 The ROM bootloader is burned into the ESP chip during manufacturing and cannot be updated. A new ve…
10 ``esptool.py`` works around the limitations imposed by a fixed ROM bootloader by implementing a fla…
12 … first uploads the flasher stub, which basically replaces the original bootloader. All following o…
17 The flasher stub behaves the same as the original bootloader, but uses more heavily optimized UART …
24 …ub`` argument. All operations will then be handled by the original ROM bootloader. See the related…
Dserial-connection.rst6 The ROM serial bootloader of Espressif chips uses a 3.3V UART serial connection. Many development b…
29 When communicating with the {IDF_TARGET_NAME} ROM serial bootloader, the following serial port sett…
53 …Baud rate {IDF_TARGET_BAUD_RATE} is what the {IDF_TARGET_NAME} bootloader uses. The apps on top of…
Dbasic-commands.rst45 …esptool.py --port /dev/ttyUSB0 write_flash --flash_mode qio --flash_size 32m 0x0 bootloader.bin 0x…
67 …Flashing into the bootloader region (``0x0`` -> ``0x8000``) is disabled by default if active `Secu…
68 …This is a safety measure to prevent accidentally overwriting the secure bootloader, which **can ul…
78 …Overwriting the encrypted firmware (bootloader, application, etc.) without the ``--encrypt`` optio…
82 …Overwriting the encrypted firmware (bootloader, application, etc.) without the ``--encrypt`` optio…
151 …This is a safety measure to prevent accidentally deleting the secure bootloader or encrypted data,…
203bootloader stub such as `rboot <https://github.com/raburton/rboot>`__ or the Espressif bootloader
220 …This option makes only the RAM segments visible to the ROM bootloader placing them at the beginnin…
221 …asic hardware initialization and the flash mapping for code execution after ROM bootloader boot it.
242bootloader and a valid `ESP-IDF bootloader header <https://docs.espressif.com/projects/esp-idf/en/…
[all …]
Dadvanced-options.rst13 By default, esptool tries to hard reset the chip into bootloader mode before it starts and hard res…
18 The ``--before`` argument allows you to specify whether the chip needs resetting into bootloader mo…
22 … RTS serial control lines (see :ref:`entering-the-bootloader`) to try to reset the chip into bootl…
24 …command. This is useful if your chip is already running the :ref:`stub bootloader <stub>` and you …
35 … the user firmware, but any subsequent reset will return to the serial bootloader. This was the re…
36 * ``--after no_reset`` leaves the chip in the serial bootloader, no reset is performed.
37 * ``--after no_reset_stub`` leaves the chip in the stub bootloader, no reset is performed.
Dflashing-firmware.rst33 The same applies to the bootloader and the partition table.
50 …size detect --flash_freq 40m {IDF_TARGET_BOOTLOADER_OFFSET} build/bootloader/bootloader.bin 0x8000…
75 …size detect --flash_freq 40m {IDF_TARGET_BOOTLOADER_OFFSET} build/bootloader/bootloader.bin 0x8000…
/hal_espressif-latest/components/bootloader_support/
DREADME.rst7 "Bootloader support" contains APIs which are used by the bootloader but are also needed for the mai…
9 Code in this component needs to be aware of being executed in a bootloader environment (no RTOS ava…
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/inc/
Dsummary_ESP32.rst35 …DISABLE_DL_CACHE (BLOCK0): Disable flash cache in UART bootloader
65 …ABS_DONE_0 (BLOCK0): Secure boot V1 is enabled for bootloader image …
66 …ABS_DONE_1 (BLOCK0): Secure boot V2 is enabled for bootloader image …
67 …DISABLE_DL_ENCRYPT (BLOCK0): Disable flash encryption in UART bootloader
68 …DISABLE_DL_DECRYPT (BLOCK0): Disable flash decryption in UART bootloader
/hal_espressif-latest/tools/esptool_py/docs/en/
Dtroubleshooting.rst15 If you see errors like "Failed to connect" then your chip is probably not entering the bootloader p…
61 It is possible to have a power supply that supplies enough current for the serial bootloader stage …
71 …6_RTOS_SDK>`_ uses a small firmware bootloader program. The hardware bootloader in ROM loads this …
72 …are bootloader image (with a filename like ``boot_v1.x.bin``) has to be flashed at offset {IDF_TAR…
78 …sp-idf>`_ and uses a small firmware bootloader program. The hardware bootloader in ROM loads this …
79 …On {IDF_TARGET_NAME}, the bootloader image should be flashed by ESP-IDF at offset {IDF_TARGET_BOOT…
86 Compared to the ROM bootloader that esptool talks to, a running firmware uses more of the chip's pi…
116 …If that happens, try to :ref:`manually enter the download mode <manual-bootloader>` and then use t…
161 … this, try resetting into the download mode manually. See :ref:`manual-bootloader` for instruction…
170 …t), or try resetting into the download mode manually. See :ref:`manual-bootloader` for instruction…
[all …]
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32c2/
Dbootloader.ld6 /** Simplified memory map for the bootloader.
7 * Make sure the bootloader can load into main memory without overwriting itself.
14 * The 2nd stage bootloader can take space up to the end of ROM shared
21 /* We consider 0x3fcdcb70 to be the last usable address for 2nd stage bootloader stack overhead, dr…
27 bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startu…
218 * Appendix: Memory Usage of ROM bootloader
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32c3/
Dbootloader.ld6 /** Simplified memory map for the bootloader.
7 * Make sure the bootloader can load into main memory without overwriting itself.
14 * The 2nd stage bootloader can take space up to the end of ROM shared
21 /* We consider 0x3fcdc710 to be the last usable address for 2nd stage bootloader stack overhead, dr…
27 bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startu…
219 * Appendix: Memory Usage of ROM bootloader
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32c6/
Dbootloader.ld6 /** Simplified memory map for the bootloader.
7 * Make sure the bootloader can load into main memory without overwriting itself.
14 * The 2nd stage bootloader can take space up to the end of ROM shared
18 /* We consider 0x4087c610 to be the last usable address for 2nd stage bootloader stack overhead, dr…
24 bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startu…
216 * Appendix: Memory Usage of ROM bootloader
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32h2/
Dbootloader.ld6 /** Simplified memory map for the bootloader.
7 * Make sure the bootloader can load into main memory without overwriting itself.
15 * The 2nd stage bootloader can take space up to the end of ROM shared
19 /* We consider 0x3fcdc710 to be the last usable address for 2nd stage bootloader stack overhead, dr…
25 bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startu…
216 * Appendix: Memory Usage of ROM bootloader
/hal_espressif-latest/tools/esptool_py/flasher_stub/
DREADME.md5 * Add features that the Espressif chips bootloader ROMs do not have.
7 * Add features to the ESP8266 bootloader ROM which are only in the ROM of newer chips.
11 * Work around bugs in the ESP8266 ROM bootloader.
/hal_espressif-latest/tools/esptool_py/esptool/
Dutil.py178 def __init__(self, bootloader, func): argument
182 % (bootloader.CHIP_NAME, func.__name__),
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32/
Dbootloader.ld7 Linker file used to link the bootloader.
11 /* Simplified memory map for the bootloader
13 The main purpose is to make sure the bootloader can load into main memory
23 This leads to idf_monitor decoding ROM bootloader "entry 0x40080xxx"
27 /* 64k at the end of DRAM, after ROM bootloader stack */
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32s3/
Dbootloader.ld6 /** Simplified memory map for the bootloader.
7 * Make sure the bootloader can load into main memory without overwriting itself.
15 * The 2nd stage bootloader can take space up to the end of ROM shared
22 /* We consider 0x3fce9700 to be the last usable address for 2nd stage bootloader stack overhead, dr…
28 bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startu…
238 * Appendix: Memory Usage of ROM bootloader

123