Search found 15 matches

by Konstantin
Wed Oct 01, 2025 1:40 pm
Forum: General Discussion
Topic: Unexpected offset when using .rodata_custom_desc section
Replies: 5
Views: 1956

Re: Unexpected offset when using .rodata_custom_desc section

The custom structure offset is 0x120 = (sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_desc_t)).
I double-checked it; it is exactly at 0x120 from the start of the app binary. I do not see an issue with it. If you use `const char *my_custom_text`, then yes, the text ...
by Konstantin
Mon Nov 25, 2024 9:16 am
Forum: ESP-IDF
Topic: ESP32-S3 secure boot 2 after develoment (new signing key), revoke fuse burnt?
Replies: 1
Views: 987

Re: ESP32-S3 secure boot 2 after develoment (new signing key), revoke fuse burnt?

Hi!

At the first boot the bootloader revokes unused digest slots when unused (when the bootloader is signed only by one key). This action can be skipped if CONFIG_SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS is set. According to your log other digest slots, the SECURE_BOOT_KEY1 and SECURE_BOOT_KEY2, were ...
by Konstantin
Tue Oct 10, 2023 8:23 am
Forum: ESP-IDF
Topic: Destroy key stored in eFuse block
Replies: 1
Views: 3025

Re: Destroy key stored in eFuse block

Hi @eitell!

There might be some solutions:
- an efuse block is already read-protected - Software can not read it anyway, so it is safe to keep it. If you still want to destroy data see below.
- an efuse block is write-protected - The data in this block can not be changed.
- an efuse block is not ...
by Konstantin
Tue Mar 14, 2023 11:22 am
Forum: Hardware
Topic: Where is EFUSE_DIS_PAD_JTAG ?
Replies: 3
Views: 3225

Re: Where is EFUSE_DIS_PAD_JTAG ?

Hi!
Sorry for the inconvenience. The name in the doc is DIS_PAD_JTAG, but in the IDF and espefuse.py it is HARD_DIS_JTAG (they point to the same efuse bit). Please use HARD_DIS_JTAG for now. We will fix it soon, so after that, both names will be available.
by Konstantin
Fri Apr 22, 2022 7:54 am
Forum: ESP-IDF
Topic: esp-idf sample code for efuse fails for esp32-s3
Replies: 1
Views: 2484

Re: esp-idf sample code for efuse fails for esp32-s3

Hi!
Please take a look the github thread - https://github.com/espressif/esp-idf/issues/8810
You need to change the names in your custom_efuse_table.csv

USER_DATA.MODULE_VERSION, EFUSE_BLK3, 56, 8

Final efuse name - USER_DATA_MODULE_VERSION
by Konstantin
Tue Aug 03, 2021 5:44 pm
Forum: ESP-IDF
Topic: Issue with Secure Boot V2 : Sig block 0 invalid
Replies: 5
Views: 6941

Re: Issue with Secure Boot V2 : Sig block 0 invalid

Hi regiskiwi!
I have checked the branch that you used ESP-IDF v4.3-274-g75940e9364 in the first msg and I successfully run the Secure Boot V2 on esp32 eco3 (the first and the next boots are ok).

As I understand last your msg with the ESP-IDF v4.2 (you did not provide what exact version). I think ...
by Konstantin
Fri Jul 30, 2021 9:02 am
Forum: ESP-IDF
Topic: Issue with Secure Boot V2 : Sig block 0 invalid
Replies: 5
Views: 6941

Re: Issue with Secure Boot V2 : Sig block 0 invalid

Hi regiskiwi!

It is hard to say what it is. I think.. it looks like the bootloader was corrupted. Th size of bootloader = 13124+20616+4104 = 0x93D4 + 0x1000 (offset) = 0xA93D4 => round up 0xB000 => + signature block => 0xC000. Your partition offet is 0xE000 (looks good).


verifying bootloader:
D ...
by Konstantin
Wed Mar 24, 2021 3:47 pm
Forum: ESP-IDF
Topic: OTA update with secure boot enabled fails with error "image has invalid signature version field 0xffffffff" [IDFGH-4982]
Replies: 4
Views: 6641

Re: OTA update with secure boot enabled fails with error "image has invalid signature version field 0xffffffff" [IDFGH-4

Hi sripad!

I am able to see the same log as here ` secure_boot_v1: image has invalid signature version field 0xffffffff`. This happens when you try to provide not a signed app to OTA server.
- disable "Sign binaries during build"
- provide `Secure boot public signature verification key ...
by Konstantin
Mon Feb 01, 2021 2:39 pm
Forum: ESP-IDF
Topic: ESP32 OTA Anti-Rollback with Factory Partition.
Replies: 6
Views: 8681

Re: ESP32 OTA Anti-Rollback with Factory Partition.

Hi NotMyRealName!

NOTE: I have it configured to launch the test app from a GPIO pin boot, but as the default behavior is to run the test app if no other partitions are found this is a bit of a security hole. You could very easily force running insecure code by corrupting or loading invalid code ...
by Konstantin
Mon May 11, 2020 5:54 pm
Forum: ESP-IDF
Topic: gettimeofday not working with timeval [IDFGH-3263]
Replies: 3
Views: 6439

Re: gettimeofday not working with timeval [IDFGH-3263]

Hi @halilarkl07!
I tried your code and can not get the same result as you reported (it works as expected). I used the hello_world example as a base and put your code. I suggest you try my way, apply the hello_world_patch.txt patch for hello_world. The log like this:

tv_now.tv_sec 0
PRId64 tv_now.tv ...

Go to advanced search