Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 20 of 20) sorted by relevance

/hal_espressif-latest/components/bootloader_support/src/
Dbootloader_utility.c131 esp_err_t bootloader_common_get_partition_description(const esp_partition_pos_t *partition, esp_app… in bootloader_common_get_partition_description() argument
133 if (partition == NULL || app_desc == NULL || partition->offset == 0) { in bootloader_common_get_partition_description()
139 const uint8_t *image = bootloader_mmap(partition->offset, mmap_size); in bootloader_common_get_partition_description()
141 … ESP_LOGE(TAG, "bootloader_mmap(0x%"PRIx32", 0x%"PRIx32") failed", partition->offset, mmap_size); in bootloader_common_get_partition_description()
180 const esp_partition_info_t *partition = &partitions[i]; in bootloader_utility_load_partition_table() local
181 ESP_LOGD(TAG, "load partition table entry 0x%x", (intptr_t)partition); in bootloader_utility_load_partition_table()
182 ESP_LOGD(TAG, "type=%x subtype=%x", partition->type, partition->subtype); in bootloader_utility_load_partition_table()
186 switch (partition->type) { in bootloader_utility_load_partition_table()
188 switch (partition->subtype) { in bootloader_utility_load_partition_table()
190 bs->factory = partition->pos; in bootloader_utility_load_partition_table()
[all …]
Dbootloader_common_loader.c186 return &bootloader_common_get_rtc_retain_mem()->partition; in bootloader_common_get_rtc_retain_mem_partition()
191 void bootloader_common_update_rtc_retain_mem(esp_partition_pos_t* partition, bool reboot_counter) in bootloader_common_update_rtc_retain_mem() argument
205 if (partition != NULL) { in bootloader_common_update_rtc_retain_mem()
206 rtc_retain_mem->partition.offset = partition->offset; in bootloader_common_update_rtc_retain_mem()
207 rtc_retain_mem->partition.size = partition->size; in bootloader_common_update_rtc_retain_mem()
/hal_espressif-latest/components/spi_flash/sim/stubs/app_update/
Desp_ota_eps.c15 const esp_partition_t* partition = esp_partition_find_first(ESP_PARTITION_TYPE_APP, in esp_ota_get_running_partition() local
18 assert(partition != NULL); in esp_ota_get_running_partition()
20 return partition; in esp_ota_get_running_partition()
/hal_espressif-latest/components/bootloader_support/src/flash_encryption/
Dflash_encrypt.c45 static esp_err_t encrypt_partition(int index, const esp_partition_info_t *partition);
392 static esp_err_t encrypt_partition(int index, const esp_partition_info_t *partition) in encrypt_partition() argument
395 bool should_encrypt = (partition->flags & PART_FLAG_ENCRYPTED); in encrypt_partition()
396 uint32_t size = partition->pos.size; in encrypt_partition()
398 if (partition->type == PART_TYPE_APP) { in encrypt_partition()
402 &partition->pos, in encrypt_partition()
411 } else if ((partition->type == PART_TYPE_DATA && partition->subtype == PART_SUBTYPE_DATA_OTA) in encrypt_partition()
412 … || (partition->type == PART_TYPE_DATA && partition->subtype == PART_SUBTYPE_DATA_NVS_KEYS)) { in encrypt_partition()
421 …ESP_LOGI(TAG, "Encrypting partition %d at offset 0x%x (length 0x%x)...", index, partition->pos.off… in encrypt_partition()
423 err = esp_flash_encrypt_region(partition->pos.offset, size); in encrypt_partition()
/hal_espressif-latest/components/esp_phy/src/
Dphy_init.c599 const esp_partition_t* partition = esp_partition_find_first( in esp_phy_get_init_data()
601 if (partition == NULL) { in esp_phy_get_init_data()
605 … ESP_LOGD(TAG, "loading PHY init data from partition at offset 0x%" PRIx32 "", partition->address); in esp_phy_get_init_data()
614 esp_err_t err = esp_partition_read(partition, 0, init_data_store, init_data_store_length); in esp_phy_get_init_data()
649 err = esp_partition_write(partition, 0, init_data_store, init_data_store_length); in esp_phy_get_init_data()
858 static esp_err_t phy_get_multiple_init_data(const esp_partition_t* partition, in phy_get_multiple_init_data() argument
872 …err = esp_partition_read(partition, init_data_store_length, init_data_control_info, sizeof(phy_con… in phy_get_multiple_init_data()
903 err = esp_partition_read(partition, init_data_store_length + sizeof(phy_control_info_data_t), in phy_get_multiple_init_data()
945 const esp_partition_t* partition = NULL; in esp_phy_update_init_data() local
956 const esp_partition_t* partition = esp_partition_find_first( in esp_phy_update_init_data()
[all …]
/hal_espressif-latest/components/esp_phy/
DKconfig19 bool "Use a partition to store PHY init data"
23 If enabled, PHY init data will be loaded from a partition.
24 When using a custom partition table, make sure that PHY data
25 partition is included (type: 'data', subtype: 'phy').
26 With default partition tables, this is done automatically.
27 If PHY init data is stored in a partition, it has to be flashed there,
DCMakeLists.txt89 …partition_table_get_partition_info(phy_partition_offset "--partition-type data --partition-subtype…
/hal_espressif-latest/components/bootloader_support/include/
Dbootloader_common.h202 void bootloader_common_update_rtc_retain_mem(esp_partition_pos_t* partition, bool reboot_counter);
Desp_image_format.h49 …esp_partition_pos_t partition; /*!< Partition of application which worked before goes to the deep… member
/hal_espressif-latest/components/bootloader/
DKconfig.projbuild153 - boot from "factory" partition.
183 bool "Clear OTA data on factory reset (select factory partition)"
186 …The device will boot from "factory" partition (or OTA slot 0 if no factory partition is present) a…
198 Make sure that the name specified in the partition table and here are the same.
202 bool "GPIO triggers boot from test app partition"
206 Allows to run the test app from "TEST" partition.
207 …A boot from "test" partition will occur if there is a GPIO input pulled low while device starts up.
211 int "Number of the GPIO input to boot TEST partition"
242 before a factory reset or test partition boot (as applicable) is performed.
285 … Pay attention to options such as reset to factory, trigger test partition and encryption on boot
[all …]
/hal_espressif-latest/components/efuse/
DKconfig37 should have the `efuse` partition. partition.csv: "efuse_em, data, efuse, , 0x2000,"
/hal_espressif-latest/components/spi_flash/sim/
DMakefile.files6 ../esp_partition/partition.c \
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dflashing-firmware.rst33 The same applies to the bootloader and the partition table.
50 …ER_OFFSET} build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x1000…
75 …ER_OFFSET} build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x1000…
Dbasic-commands.rst254 …lash.bin --flash_mode dio --flash_size 4MB 0x1000 bootloader.bin 0x8000 partition-table.bin 0x1000…
286 …lash.hex --flash_mode dio --flash_size 4MB 0x1000 bootloader.bin 0x8000 partition-table.bin 0x1000…
325 …lash.uf2 --flash_mode dio --flash_size 4MB 0x1000 bootloader.bin 0x8000 partition-table.bin 0x1000…
Dflash-modes.rst120 …The ESP-IDF flashes a partition table to the flash at offset 0x8000. All of the partitions in this…
/hal_espressif-latest/components/bt/controller/esp32c2/
DKconfig.in320 int "size of ble controller log partition(Multiples of 4K)"
324 The size of ble controller log partition shall be a multiples of 4K.
325 The name of log partition shall be "bt_ctrl_log".
326 The partition type shall be ESP_PARTITION_TYPE_DATA.
327 The partition sub_type shall be ESP_PARTITION_SUBTYPE_ANY.
/hal_espressif-latest/components/bt/controller/esp32c6/
DKconfig.in354 int "size of ble controller log partition(Multiples of 4K)"
358 The size of ble controller log partition shall be a multiples of 4K.
359 The name of log partition shall be "bt_ctrl_log".
360 The partition type shall be ESP_PARTITION_TYPE_DATA.
361 The partition sub_type shall be ESP_PARTITION_SUBTYPE_ANY.
/hal_espressif-latest/components/bt/controller/esp32h2/
DKconfig.in345 int "size of ble controller log partition(Multiples of 4K)"
349 The size of ble controller log partition shall be a multiples of 4K.
350 The name of log partition shall be "bt_ctrl_log".
351 The partition type shall be ESP_PARTITION_TYPE_DATA.
352 The partition sub_type shall be ESP_PARTITION_SUBTYPE_ANY.
/hal_espressif-latest/components/spi_flash/
DKconfig199 of flash (covering the bootloader and partition table) or that
200 overlap the app partition that contains the running app.
381 bool "Enable encrypted partition read/write operations"
384 This option enables flash read/write operations to encrypted partition/s. This option
/hal_espressif-latest/components/bt/esp_ble_mesh/
DKconfig.in449 bool "Use a specific NVS partition for BLE Mesh"
452 When selected, the mesh stack will use a specified NVS partition instead of
453 default NVS partition. Note that the specified partition must be registered
454 with NVS using nvs_flash_init_partition() API, and the partition must exists
460 string "Name of the NVS partition for BLE Mesh"
464 This value defines the name of the specified NVS partition used by the