feat(rom): updated to esp32p4 image 12.0.0

This commit is contained in:
Armando
2023-09-06 17:13:52 +08:00
committed by Armando (Dou Yiwen)
parent 02b6c1f0ca
commit 7dace60861
7 changed files with 383 additions and 376 deletions

View File

@@ -955,8 +955,8 @@ static esp_err_t verify_simple_hash(bootloader_sha256_handle_t sha_handle, esp_i
if (memcmp(data->image_digest, image_hash, HASH_LEN) != 0) {
ESP_LOGE(TAG, "Image hash failed - image is corrupt");
bootloader_debug_buffer(data->image_digest, HASH_LEN, "Expected hash");
#ifdef CONFIG_IDF_ENV_FPGA
ESP_LOGW(TAG, "Ignoring invalid SHA-256 as running on FPGA");
#if CONFIG_IDF_ENV_FPGA || CONFIG_IDF_ENV_BRINGUP
ESP_LOGW(TAG, "Ignoring invalid SHA-256 as running on FPGA / doing bringup");
return ESP_OK;
#endif
return ESP_ERR_IMAGE_INVALID;