Skip to content

Commit 4722f49

Browse files
committed
feat: update documentation for esp32h21
This also updated log files for other targets to make consistent.
1 parent e5a8ea0 commit 4722f49

File tree

11 files changed

+230
-63
lines changed

11 files changed

+230
-63
lines changed

docs/docs_not_updated/esp32h21.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ api-reference/bluetooth/esp_hf_defs.rst
139139
api-reference/peripherals/cap_touch_sens.rst
140140
api-reference/peripherals/index.rst
141141
api-reference/peripherals/rmt.rst
142-
api-reference/peripherals/ds.rst
143142
api-reference/peripherals/sdio_slave.rst
144143
api-reference/peripherals/bitscrambler.rst
145144
api-reference/peripherals/temp_sensor.rst
@@ -156,7 +155,6 @@ api-reference/peripherals/sdspi_share.rst
156155
api-reference/peripherals/ana_cmpr.rst
157156
api-reference/peripherals/i2c_slave_v1.rst
158157
api-reference/peripherals/adc_continuous.rst
159-
api-reference/peripherals/hmac.rst
160158
api-reference/peripherals/sdspi_host.rst
161159
api-reference/peripherals/vad.rst
162160
api-reference/peripherals/i2s.rst
@@ -174,7 +172,6 @@ api-reference/peripherals/sd_pullup_requirements.rst
174172
api-reference/peripherals/parlio.rst
175173
api-reference/peripherals/adc_calibration.rst
176174
api-reference/peripherals/lp_i2s.rst
177-
api-reference/peripherals/ecdsa.rst
178175
api-reference/peripherals/dac.rst
179176
api-reference/peripherals/spi_flash/index.rst
180177
api-reference/peripherals/spi_flash/spi_flash_concurrency.rst
@@ -207,12 +204,6 @@ api-reference/system/inc/show-efuse-table_ESP32-H21.rst
207204
api-reference/system/inc/espefuse_summary_ESP32-H21.rst
208205
api-reference/system/inc/espefuse_summary_ESP32-H21_dump.rst
209206
api-reference/system/power_management.rst
210-
security/index.rst
211-
security/flash-encryption.rst
212-
security/secure-boot-v1.rst
213-
security/security.rst
214-
security/security-features-enablement-workflows.rst
215-
security/secure-boot-v2.rst
216207
security/vulnerabilities.rst
217208
security/tee/index.rst
218209
security/tee/tee-advanced.rst

docs/en/security/esp32c3_log.inc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131

3232
I (81) esp_image: segment 3: paddr=0x0002f18c vaddr=0x00000000 size=0x00e8c ( 3724)
3333
I (84) esp_image: segment 4: paddr=0x00030020 vaddr=0x42000020 size=0x171a8 ( 94632) map
34-
0x42000020: esp_ota_get_app_description at /home/marius/clean/esp-idf_2/components/app_update/esp_app_desc.c:63
35-
3634
I (132) boot: Loaded app from partition at offset 0x20000
3735
I (133) boot: Checking flash encryption...
3836
I (137) efuse: Batch mode of writing fields is enabled
@@ -57,8 +55,6 @@
5755

5856
I (715) esp_image: segment 3: paddr=0x0002f18c vaddr=0x00000000 size=0x00e8c ( 3724)
5957
I (717) esp_image: segment 4: paddr=0x00030020 vaddr=0x42000020 size=0x171a8 ( 94632) map
60-
0x42000020: esp_ota_get_app_description at /home/marius/clean/esp-idf_2/components/app_update/esp_app_desc.c:63
61-
6258
I (760) flash_encrypt: Encrypting partition 2 at offset 0x20000 (length 0x100000)...
6359
I (14797) flash_encrypt: Done encrypting
6460
I (14801) flash_encrypt: Flash encryption completed
@@ -100,8 +96,6 @@
10096

10197
I (86) esp_image: segment 3: paddr=0x0002f18c vaddr=0x00000000 size=0x00e8c ( 3724)
10298
I (88) esp_image: segment 4: paddr=0x00030020 vaddr=0x42000020 size=0x171a8 ( 94632) map
103-
0x42000020: esp_ota_get_app_description at /home/marius/clean/esp-idf_2/components/app_update/esp_app_desc.c:63
104-
10599
I (139) boot: Loaded app from partition at offset 0x20000
106100
I (139) boot: Checking flash encryption...
107101
I (144) flash_encrypt: flash encryption is enabled (1 plaintext flashes left)

docs/en/security/esp32h21_log.inc

Lines changed: 114 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,126 @@
33

44
.. code-block:: none
55

6-
To be updated
6+
rst:0x1 (POWERON),boot:0x1f (SPI_FAST_FLASH_BOOT)
7+
SPIWP:0xee
8+
mode:DIO, clock div:2
9+
load:0x40842cf0,len:0x27a4
10+
load:0x40839580,len:0x944
11+
load:0x4083ba78,len:0x3f44
12+
entry 0x408395ee
13+
I (31) boot: ESP-IDF v5.5-dev-1478-gc15e6e1fb66-dirt 2nd stage bootloader
14+
I (32) boot: compile time Jan 16 2025 12:04:40
15+
I (34) boot: chip revision: v0.0
16+
I (34) boot: efuse block revision: v0.0
17+
I (37) boot.esp32h21: SPI Speed : 32MHz
18+
I (41) boot.esp32h21: SPI Mode : DIO
19+
I (45) boot.esp32h21: SPI Flash Size : 4MB
20+
I (49) boot: Enabling RNG early entropy source...
21+
I (61) boot: Partition Table:
22+
I (64) boot: ## Label Usage Type ST Offset Length
23+
I (70) boot: 0 nvs WiFi data 01 02 0000e000 00006000
24+
I (77) boot: 1 storage Unknown data 01 ff 00014000 00001000
25+
I (83) boot: 2 factory factory app 00 00 00020000 00100000
26+
I (90) boot: 3 nvs_key NVS keys 01 04 00120000 00001000
27+
I (96) boot: 4 custom_nvs WiFi data 01 02 00121000 00006000
28+
I (103) boot: 5 fat_encrypted Unknown data 01 81 00127000 00096000
29+
I (109) boot: 6 fat_not_encr Unknown data 01 81 001bd000 00096000
30+
I (116) boot: End of partition table
31+
I (119) esp_image: segment 0: paddr=00020020 vaddr=42030020 size=0a6e0h ( 42720) map
32+
I (153) esp_image: segment 1: paddr=0002a708 vaddr=40800000 size=05910h ( 22800) load
33+
I (165) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=2525ch (152156) map
34+
I (232) esp_image: segment 3: paddr=00055284 vaddr=40805910 size=0282ch ( 10284) load
35+
I (239) esp_image: segment 4: paddr=00057ab8 vaddr=40808140 size=00eb8h ( 3768) load
36+
I (248) boot: Loaded app from partition at offset 0x20000
37+
I (249) boot: Checking flash encryption...
38+
I (250) efuse: Batch mode of writing fields is enabled
39+
I (251) flash_encrypt: Using pre-loaded flash encryption key in efuse
40+
W (257) flash_encrypt: Not disabling UART bootloader encryption
41+
I (263) flash_encrypt: Disable JTAG...
42+
I (266) efuse: BURN BLOCK0
43+
I (271) efuse: BURN BLOCK0 - OK (all write block bits are set)
44+
I (274) efuse: Batch mode. Prepared fields are committed
45+
I (279) esp_image: segment 0: paddr=00000020 vaddr=40842cf0 size=027a4h ( 10148)
46+
I (289) esp_image: segment 1: paddr=000027cc vaddr=40839580 size=00944h ( 2372)
47+
I (294) esp_image: segment 2: paddr=00003118 vaddr=4083ba78 size=03f44h ( 16196)
48+
I (924) flash_encrypt: bootloader encrypted successfully
49+
I (1003) flash_encrypt: partition table encrypted and loaded successfully
50+
I (1004) flash_encrypt: Encrypting partition 1 at offset 0x14000 (length 0x1000)...
51+
I (1082) flash_encrypt: Done encrypting
52+
I (1083) esp_image: segment 0: paddr=00020020 vaddr=42030020 size=0a6e0h ( 42720) map
53+
I (1103) esp_image: segment 1: paddr=0002a708 vaddr=40800000 size=05910h ( 22800)
54+
I (1115) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=2525ch (152156) map
55+
I (1182) esp_image: segment 3: paddr=00055284 vaddr=40805910 size=0282ch ( 10284)
56+
I (1188) esp_image: segment 4: paddr=00057ab8 vaddr=40808140 size=00eb8h ( 3768)
57+
I (1192) flash_encrypt: Encrypting partition 2 at offset 0x20000 (length 0x389a0)...
58+
I (5680) flash_encrypt: Done encrypting
59+
I (5681) flash_encrypt: Encrypting partition 3 at offset 0x120000 (length 0x1000)...
60+
I (5755) flash_encrypt: Done encrypting
61+
I (5756) flash_encrypt: Encrypting partition 5 at offset 0x127000 (length 0x96000)...
62+
I (14753) flash_encrypt: Done encrypting
63+
I (14754) efuse: BURN BLOCK0
64+
I (14757) efuse: BURN BLOCK0 - OK (all write block bits are set)
65+
I (14759) flash_encrypt: Flash encryption completed
66+
I (14760) boot: Resetting with flash encryption enabled...
767

868
------
969

1070
.. already_en_enc
1171

1272
.. code-block:: none
1373

14-
To be updated
15-
74+
rst:0x3 (LP_SW_HPSYS),boot:0x1f (SPI_FAST_FLASH_BOOT)
75+
Saved PC:0x4000321c
76+
SPIWP:0xee
77+
mode:DIO, clock div:2
78+
load:0x40842cf0,len:0x27a4
79+
load:0x40839580,len:0x944
80+
load:0x4083ba78,len:0x3f44
81+
entry 0x408395ee
82+
I (36) boot: ESP-IDF v5.5-dev-1478-gc15e6e1fb66-dirt 2nd stage bootloader
83+
I (37) boot: compile time Jan 16 2025 12:04:40
84+
I (38) boot: chip revision: v0.0
85+
I (39) boot: efuse block revision: v0.0
86+
I (42) boot.esp32h21: SPI Speed : 32MHz
87+
I (46) boot.esp32h21: SPI Mode : DIO
88+
I (50) boot.esp32h21: SPI Flash Size : 4MB
89+
I (53) boot: Enabling RNG early entropy source...
90+
I (66) boot: Partition Table:
91+
I (68) boot: ## Label Usage Type ST Offset Length
92+
I (74) boot: 0 nvs WiFi data 01 02 0000e000 00006000
93+
I (81) boot: 1 storage Unknown data 01 ff 00014000 00001000
94+
I (87) boot: 2 factory factory app 00 00 00020000 00100000
95+
I (94) boot: 3 nvs_key NVS keys 01 04 00120000 00001000
96+
I (101) boot: 4 custom_nvs WiFi data 01 02 00121000 00006000
97+
I (107) boot: 5 fat_encrypted Unknown data 01 81 00127000 00096000
98+
I (114) boot: 6 fat_not_encr Unknown data 01 81 001bd000 00096000
99+
I (121) boot: End of partition table
100+
I (124) esp_image: segment 0: paddr=00020020 vaddr=42030020 size=0a6e0h ( 42720) map
101+
I (160) esp_image: segment 1: paddr=0002a708 vaddr=40800000 size=05910h ( 22800) load
102+
I (173) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=2525ch (152156) map
103+
I (249) esp_image: segment 3: paddr=00055284 vaddr=40805910 size=0282ch ( 10284) load
104+
I (257) esp_image: segment 4: paddr=00057ab8 vaddr=40808140 size=00eb8h ( 3768) load
105+
I (266) boot: Loaded app from partition at offset 0x20000
106+
I (267) boot: Checking flash encryption...
107+
I (268) flash_encrypt: flash encryption is enabled (1 plaintext flashes left)
108+
I (271) boot: Disabling RNG early entropy source...
109+
I (295) cpu_start: Unicore app
110+
I (300) cpu_start: Pro cpu start user code
111+
I (304) cpu_start: cpu freq: 32000000 Hz
112+
I (307) app_init: Application information:
113+
I (311) app_init: Project name: flash_encryption
114+
I (316) app_init: App version: v5.5-dev-1478-gc15e6e1fb66-dirt
115+
I (322) app_init: Compile time: Jan 16 2025 12:04:30
116+
I (327) app_init: ELF file SHA256: ba86ca637...
117+
I (331) app_init: ESP-IDF: v5.5-dev-1478-gc15e6e1fb66-dirt
118+
I (337) efuse_init: Min chip rev: v0.0
119+
I (341) efuse_init: Max chip rev: v0.99
120+
I (345) efuse_init: Chip rev: v0.0
121+
I (349) heap_init: Initializing. RAM available for dynamic allocation:
122+
I (355) heap_init: At 40809F70 len 00043410 (269 KiB): RAM
123+
I (360) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
124+
I (377) spi_flash: detected chip: generic
125+
I (379) spi_flash: flash io: dio
126+
W (382) flash_encrypt: Flash encryption mode is DEVELOPMENT (not secure)
16127

17128
------

docs/en/security/esp32s2_log.inc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,13 @@
2929
I (109) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f000020 size=0x0618c ( 24972) map
3030
I (124) esp_image: segment 1: paddr=0x000261b4 vaddr=0x3ffbcae0 size=0x02624 ( 9764) load
3131
I (129) esp_image: segment 2: paddr=0x000287e0 vaddr=0x40022000 size=0x00404 ( 1028) load
32-
0x40022000: _WindowOverflow4 at /home/marius/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1730
33-
3432
I (136) esp_image: segment 3: paddr=0x00028bec vaddr=0x40022404 size=0x0742c ( 29740) load
3533
0x40022404: _coredump_iram_end at ??:?
3634

3735
I (153) esp_image: segment 4: paddr=0x00030020 vaddr=0x40080020 size=0x1457c ( 83324) map
3836
0x40080020: _stext at ??:?
3937

4038
I (171) esp_image: segment 5: paddr=0x000445a4 vaddr=0x40029830 size=0x032ac ( 12972) load
41-
0x40029830: gpspi_flash_ll_set_miso_bitlen at /home/marius/esp-idf/examples/security/flash_encryption/build/../../../../components/hal/esp32s2/include/hal/gpspi_flash_ll.h:261
42-
(inlined by) spi_flash_hal_gpspi_common_command at /home/marius/esp-idf/components/hal/spi_flash_hal_common.inc:161
43-
4439
I (181) boot: Loaded app from partition at offset 0x20000
4540
I (181) boot: Checking flash encryption...
4641
I (181) efuse: Batch mode of writing fields is enabled
@@ -60,18 +55,13 @@
6055
I (766) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f000020 size=0x0618c ( 24972) map
6156
I (773) esp_image: segment 1: paddr=0x000261b4 vaddr=0x3ffbcae0 size=0x02624 ( 9764)
6257
I (778) esp_image: segment 2: paddr=0x000287e0 vaddr=0x40022000 size=0x00404 ( 1028)
63-
0x40022000: _WindowOverflow4 at /home/marius/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1730
64-
6558
I (785) esp_image: segment 3: paddr=0x00028bec vaddr=0x40022404 size=0x0742c ( 29740)
6659
0x40022404: _coredump_iram_end at ??:?
6760

6861
I (799) esp_image: segment 4: paddr=0x00030020 vaddr=0x40080020 size=0x1457c ( 83324) map
6962
0x40080020: _stext at ??:?
7063

7164
I (820) esp_image: segment 5: paddr=0x000445a4 vaddr=0x40029830 size=0x032ac ( 12972)
72-
0x40029830: gpspi_flash_ll_set_miso_bitlen at /home/marius/esp-idf/examples/security/flash_encryption/build/../../../../components/hal/esp32s2/include/hal/gpspi_flash_ll.h:261
73-
(inlined by) spi_flash_hal_gpspi_common_command at /home/marius/esp-idf/components/hal/spi_flash_hal_common.inc:161
74-
7565
I (823) flash_encrypt: Encrypting partition 2 at offset 0x20000 (length 0x100000)...
7666
I (13869) flash_encrypt: Done encrypting
7767
I (13870) flash_encrypt: Flash encryption completed
@@ -111,18 +101,13 @@
111101
I (117) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f000020 size=0x0618c ( 24972) map
112102
I (132) esp_image: segment 1: paddr=0x000261b4 vaddr=0x3ffbcae0 size=0x02624 ( 9764) load
113103
I (137) esp_image: segment 2: paddr=0x000287e0 vaddr=0x40022000 size=0x00404 ( 1028) load
114-
0x40022000: _WindowOverflow4 at /home/marius/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1730
115-
116104
I (144) esp_image: segment 3: paddr=0x00028bec vaddr=0x40022404 size=0x0742c ( 29740) load
117105
0x40022404: _coredump_iram_end at ??:?
118106

119107
I (161) esp_image: segment 4: paddr=0x00030020 vaddr=0x40080020 size=0x1457c ( 83324) map
120108
0x40080020: _stext at ??:?
121109

122110
I (180) esp_image: segment 5: paddr=0x000445a4 vaddr=0x40029830 size=0x032ac ( 12972) load
123-
0x40029830: gpspi_flash_ll_set_miso_bitlen at /home/marius/esp-idf/examples/security/flash_encryption/build/../../../../components/hal/esp32s2/include/hal/gpspi_flash_ll.h:261
124-
(inlined by) spi_flash_hal_gpspi_common_command at /home/marius/esp-idf/components/hal/spi_flash_hal_common.inc:161
125-
126111
I (190) boot: Loaded app from partition at offset 0x20000
127112
I (191) boot: Checking flash encryption...
128113
I (191) flash_encrypt: flash encryption is enabled (1 plaintext flashes left)

docs/en/security/esp32s3_log.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@
103103
I (190) boot: Disabling RNG early entropy source...
104104
I (214) cpu_start: Pro cpu up.
105105
I (214) cpu_start: Starting app cpu, entry point is 0x40374fa8
106-
0x40374fa8: call_start_cpu1 at /home/marius/esp-idf_3/components/esp_system/port/cpu_start.c:160
107-
108106
I (0) cpu_start: App cpu up.
109107
I (228) cpu_start: Pro cpu start user code
110108
I (228) cpu_start: cpu freq: 160000000

docs/en/security/security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Security Overview
22
=================
33

4-
{IDF_TARGET_CIPHER_SCHEME:default="RSA", esp32h2="RSA or ECDSA", esp32p4="RSA or ECDSA", esp32c5="RSA or ECDSA", esp32c61="ECDSA"}
4+
{IDF_TARGET_CIPHER_SCHEME:default="RSA", esp32h2="RSA or ECDSA", esp32p4="RSA or ECDSA", esp32c5="RSA or ECDSA", esp32c61="ECDSA", esp32h21="RSA or ECDSA"}
55

66
{IDF_TARGET_SIG_PERI:default="DS", esp32h2="DS or ECDSA", esp32p4="DS or ECDSA", esp32c5="DS or ECDSA"}
77

docs/zh_CN/security/esp32c3_log.inc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131

3232
I (81) esp_image: segment 3: paddr=0x0002f18c vaddr=0x00000000 size=0x00e8c ( 3724)
3333
I (84) esp_image: segment 4: paddr=0x00030020 vaddr=0x42000020 size=0x171a8 ( 94632) map
34-
0x42000020: esp_ota_get_app_description at /home/marius/clean/esp-idf_2/components/app_update/esp_app_desc.c:63
35-
3634
I (132) boot: Loaded app from partition at offset 0x20000
3735
I (133) boot: Checking flash encryption...
3836
I (137) efuse: Batch mode of writing fields is enabled
@@ -57,8 +55,6 @@
5755

5856
I (715) esp_image: segment 3: paddr=0x0002f18c vaddr=0x00000000 size=0x00e8c ( 3724)
5957
I (717) esp_image: segment 4: paddr=0x00030020 vaddr=0x42000020 size=0x171a8 ( 94632) map
60-
0x42000020: esp_ota_get_app_description at /home/marius/clean/esp-idf_2/components/app_update/esp_app_desc.c:63
61-
6258
I (760) flash_encrypt: Encrypting partition 2 at offset 0x20000 (length 0x100000)...
6359
I (14797) flash_encrypt: Done encrypting
6460
I (14801) flash_encrypt: Flash encryption completed
@@ -100,8 +96,6 @@
10096

10197
I (86) esp_image: segment 3: paddr=0x0002f18c vaddr=0x00000000 size=0x00e8c ( 3724)
10298
I (88) esp_image: segment 4: paddr=0x00030020 vaddr=0x42000020 size=0x171a8 ( 94632) map
103-
0x42000020: esp_ota_get_app_description at /home/marius/clean/esp-idf_2/components/app_update/esp_app_desc.c:63
104-
10599
I (139) boot: Loaded app from partition at offset 0x20000
106100
I (139) boot: Checking flash encryption...
107101
I (144) flash_encrypt: flash encryption is enabled (1 plaintext flashes left)

0 commit comments

Comments
 (0)