1
2.. first_boot_enc
3
4.. code-block:: none
5
6    --- idf_monitor on /dev/cu.SLAB_USBtoUART 115200 ---
7    --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
8    ets Jun  8 2016 00:22:57
9
10    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
11    configsip: 0, SPIWP:0xee
12    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
13    mode:DIO, clock div:2
14    load:0x3fff0018,len:4
15    load:0x3fff001c,len:8452
16    load:0x40078000,len:13608
17    load:0x40080400,len:6664
18    entry 0x40080764
19    I (28) boot: ESP-IDF v4.0-dev-850-gc4447462d-dirty 2nd stage bootloader
20    I (29) boot: compile time 15:37:14
21    I (30) boot: Enabling RNG early entropy source...
22    I (35) boot: SPI Speed      : 40MHz
23    I (39) boot: SPI Mode       : DIO
24    I (43) boot: SPI Flash Size : 4MB
25    I (47) boot: Partition Table:
26    I (51) boot: ## Label            Usage          Type ST Offset   Length
27    I (58) boot:  0 nvs              WiFi data        01 02 0000a000 00006000
28    I (66) boot:  1 phy_init         RF data          01 01 00010000 00001000
29    I (73) boot:  2 factory          factory app      00 00 00020000 00100000
30    I (81) boot: End of partition table
31    I (85) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x0808c ( 32908) map
32    I (105) esp_image: segment 1: paddr=0x000280b4 vaddr=0x3ffb0000 size=0x01ea4 (  7844) load
33    I (109) esp_image: segment 2: paddr=0x00029f60 vaddr=0x40080000 size=0x00400 (  1024) load
34    0x40080000: _WindowOverflow4 at esp-idf/esp-idf/components/freertos/xtensa_vectors.S:1778
35
36    I (114) esp_image: segment 3: paddr=0x0002a368 vaddr=0x40080400 size=0x05ca8 ( 23720) load
37    I (132) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x126a8 ( 75432) map
38    0x400d0018: _flash_cache_start at ??:?
39
40    I (159) esp_image: segment 5: paddr=0x000426c8 vaddr=0x400860a8 size=0x01f4c (  8012) load
41    0x400860a8: prvAddNewTaskToReadyList at esp-idf/esp-idf/components/freertos/tasks.c:4561
42
43    I (168) boot: Loaded app from partition at offset 0x20000
44    I (168) boot: Checking flash encryption...
45    I (168) flash_encrypt: Generating new flash encryption key...
46    I (187) flash_encrypt: Read & write protecting new key...
47    I (187) flash_encrypt: Setting CRYPT_CONFIG efuse to 0xF
48    W (188) flash_encrypt: Not disabling UART bootloader encryption
49    I (195) flash_encrypt: Disable UART bootloader decryption...
50    I (201) flash_encrypt: Disable UART bootloader MMU cache...
51    I (208) flash_encrypt: Disable JTAG...
52    I (212) flash_encrypt: Disable ROM BASIC interpreter fallback...
53    I (219) esp_image: segment 0: paddr=0x00001020 vaddr=0x3fff0018 size=0x00004 (     4)
54    I (227) esp_image: segment 1: paddr=0x0000102c vaddr=0x3fff001c size=0x02104 (  8452)
55    I (239) esp_image: segment 2: paddr=0x00003138 vaddr=0x40078000 size=0x03528 ( 13608)
56    I (249) esp_image: segment 3: paddr=0x00006668 vaddr=0x40080400 size=0x01a08 (  6664)
57    I (657) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x0808c ( 32908) map
58    I (669) esp_image: segment 1: paddr=0x000280b4 vaddr=0x3ffb0000 size=0x01ea4 (  7844)
59    I (672) esp_image: segment 2: paddr=0x00029f60 vaddr=0x40080000 size=0x00400 (  1024)
60    0x40080000: _WindowOverflow4 at esp-idf/esp-idf/components/freertos/xtensa_vectors.S:1778
61
62    I (676) esp_image: segment 3: paddr=0x0002a368 vaddr=0x40080400 size=0x05ca8 ( 23720)
63    I (692) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x126a8 ( 75432) map
64    0x400d0018: _flash_cache_start at ??:?
65
66    I (719) esp_image: segment 5: paddr=0x000426c8 vaddr=0x400860a8 size=0x01f4c (  8012)
67    0x400860a8: prvAddNewTaskToReadyList at esp-idf/esp-idf/components/freertos/tasks.c:4561
68
69    I (722) flash_encrypt: Encrypting partition 2 at offset 0x20000...
70    I (13229) flash_encrypt: Flash encryption completed
71    I (13229) boot: Resetting with flash encryption enabled...
72
73------
74
75.. already_en_enc
76
77.. code-block:: none
78
79    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
80    configsip: 0, SPIWP:0xee
81    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
82    mode:DIO, clock div:2
83    load:0x3fff0018,len:4
84    load:0x3fff001c,len:8452
85    load:0x40078000,len:13652
86    ho 0 tail 12 room 4
87    load:0x40080400,len:6664
88    entry 0x40080764
89    I (30) boot: ESP-IDF v4.0-dev-850-gc4447462d-dirty 2nd stage bootloader
90    I (30) boot: compile time 16:32:53
91    I (31) boot: Enabling RNG early entropy source...
92    I (37) boot: SPI Speed      : 40MHz
93    I (41) boot: SPI Mode       : DIO
94    I (45) boot: SPI Flash Size : 4MB
95    I (49) boot: Partition Table:
96    I (52) boot: ## Label            Usage          Type ST Offset   Length
97    I (60) boot:  0 nvs              WiFi data        01 02 0000a000 00006000
98    I (67) boot:  1 phy_init         RF data          01 01 00010000 00001000
99    I (75) boot:  2 factory          factory app      00 00 00020000 00100000
100    I (82) boot: End of partition table
101    I (86) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x0808c ( 32908) map
102    I (107) esp_image: segment 1: paddr=0x000280b4 vaddr=0x3ffb0000 size=0x01ea4 (  7844) load
103    I (111) esp_image: segment 2: paddr=0x00029f60 vaddr=0x40080000 size=0x00400 (  1024) load
104    0x40080000: _WindowOverflow4 at esp-idf/esp-idf/components/freertos/xtensa_vectors.S:1778
105
106    I (116) esp_image: segment 3: paddr=0x0002a368 vaddr=0x40080400 size=0x05ca8 ( 23720) load
107    I (134) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x126a8 ( 75432) map
108    0x400d0018: _flash_cache_start at ??:?
109
110    I (162) esp_image: segment 5: paddr=0x000426c8 vaddr=0x400860a8 size=0x01f4c (  8012) load
111    0x400860a8: prvAddNewTaskToReadyList at esp-idf/esp-idf/components/freertos/tasks.c:4561
112
113    I (171) boot: Loaded app from partition at offset 0x20000
114    I (171) boot: Checking flash encryption...
115    I (171) flash_encrypt: flash encryption is enabled (3 plaintext flashes left)
116    I (178) boot: Disabling RNG early entropy source...
117    I (184) cpu_start: Pro cpu up.
118    I (188) cpu_start: Application information:
119    I (193) cpu_start: Project name:     flash-encryption
120    I (198) cpu_start: App version:      v4.0-dev-850-gc4447462d-dirty
121    I (205) cpu_start: Compile time:     Jun 17 2019 16:32:52
122    I (211) cpu_start: ELF file SHA256:  8770c886bdf561a7...
123    I (217) cpu_start: ESP-IDF:          v4.0-dev-850-gc4447462d-dirty
124    I (224) cpu_start: Starting app cpu, entry point is 0x40080e4c
125    0x40080e4c: call_start_cpu1 at esp-idf/esp-idf/components/{IDF_TARGET_PATH_NAME}/cpu_start.c:265
126
127    I (0) cpu_start: App cpu up.
128    I (235) heap_init: Initializing. RAM available for dynamic allocation:
129    I (241) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
130    I (247) heap_init: At 3FFB2EC8 len 0002D138 (180 KiB): DRAM
131    I (254) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
132    I (260) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
133    I (266) heap_init: At 40087FF4 len 0001800C (96 KiB): IRAM
134    I (273) cpu_start: Pro cpu start user code
135    I (291) cpu_start: Starting scheduler on PRO CPU.
136    I (0) cpu_start: Starting scheduler on APP CPU.
137
138    Sample program to check Flash Encryption
139    This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash
140    Flash encryption feature is enabled
141    Flash encryption mode is DEVELOPMENT
142    Flash in encrypted mode with flash_crypt_cnt = 1
143    Halting...
144
145------
146