1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-07 16:23:38 +03:00

Comment out verify step in eboot.c (#7468)

* Comment out verify step in eboot.c

Meant for #7458 , but still requires a recompiled eboot.elf.

* Rebuild eboot.elf from changed source

Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
This commit is contained in:
Develo 2020-07-20 23:24:51 -04:00 committed by GitHub
parent 91427a1695
commit c94d36d80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -229,7 +229,10 @@ int main()
ets_wdt_enable(); ets_wdt_enable();
ets_putc('0'+res); ets_putc('\n'); ets_putc('0'+res); ets_putc('\n');
#if 0
//devyte: this verify step below (cmp:) only works when the end of copy operation above does not overwrite the
//beginning of the image in the empty area, see #7458. Disabling for now.
//TODO: replace the below verify with hash type, crc, or similar.
// Verify the copy // Verify the copy
ets_putc('c'); ets_putc('m'); ets_putc('p'); ets_putc(':'); ets_putc('c'); ets_putc('m'); ets_putc('p'); ets_putc(':');
if (res == 0) { if (res == 0) {
@ -239,6 +242,7 @@ int main()
} }
ets_putc('0'+res); ets_putc('\n'); ets_putc('0'+res); ets_putc('\n');
#endif
if (res == 0) { if (res == 0) {
cmd.action = ACTION_LOAD_APP; cmd.action = ACTION_LOAD_APP;
cmd.args[0] = cmd.args[1]; cmd.args[0] = cmd.args[1];

Binary file not shown.