Commit bb716c7
fix: stop esptool-js patching bootloader header (ets_loader.c 78 bootloop)
Passing explicit flashMode/flashFreq/flashSize makes esptool-js patch the
bootloader image header in flash without recomputing the appended SHA-256
digest. The ESP32-S3 ROM verifies that digest when loading the second-stage
bootloader, rejects the image (ets_loader.c 78) and the device bootloops.
Use 'keep' so the image is written byte-identical to the build output.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 3a4624c commit bb716c7
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
207 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
0 commit comments