Lines Matching refs:offset
107 if (ota_info->offset == 0) { in read_otadata()
117 ESP_LOGD(TAG, "OTA data offset 0x%"PRIx32, ota_info->offset); in read_otadata()
118 ota_select_map = bootloader_mmap(ota_info->offset, ota_info->size); in read_otadata()
120 …ESP_LOGE(TAG, "bootloader_mmap(0x%"PRIx32", 0x%"PRIx32") failed", ota_info->offset, ota_info->size… in read_otadata()
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()
227 esp_efuse_init_virtual_mode_in_flash(partition->pos.offset, partition->pos.size); in bootloader_utility_load_partition_table()
242 partition->pos.offset, partition->pos.size); in bootloader_utility_load_partition_table()
286 static esp_err_t write_otadata(esp_ota_select_entry_t *otadata, uint32_t offset, bool write_encrypt… in write_otadata() argument
288 esp_err_t err = bootloader_flash_erase_sector(offset / FLASH_SECTOR_SIZE); in write_otadata()
290 … err = bootloader_flash_write(offset, otadata, sizeof(esp_ota_select_entry_t), write_encrypted); in write_otadata()
360 if (bs->ota_info.offset == 0) {
378 … write_otadata(&otadata[i], bs->ota_info.offset + FLASH_SECTOR_SIZE * i, write_encrypted);
388 if (bs->factory.offset != 0) {
426 …write_otadata(&otadata[active_otadata], bs->ota_info.offset + FLASH_SECTOR_SIZE * active_otadata, …
436 } else if (bs->factory.offset != 0) {
458 partition->offset);
478 write_otadata(&otadata, bs->ota_info.offset + FLASH_SECTOR_SIZE * 0, write_encrypted);
502 … ESP_LOGI(TAG, "Fast booting app from partition at offset 0x%"PRIx32, partition->offset);
536 ESP_LOGD(TAG, TRY_LOG_FORMAT, index, part.offset, part.size);
550 ESP_LOGD(TAG, TRY_LOG_FORMAT, index, part.offset, part.size);