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

12 Commits

Author SHA1 Message Date
M Hightower
fe7faf701e Added dependencies for eboot.ld and Makefile to Makefile.
Updated eboot.ld to not fill with zeros through the CS field
on its way to the CRC.
Added size test to elf2bin.py
2020-01-29 13:26:58 -08:00
Earle F. Philhower, III
1d0bc5efdf
Allow GZIP compressed flash updates (#6820)
* Allow GZIP compressed flash updates

Modified the bootloader to be able to take stored updates in compressed
GZIP format (i.e. the output of "gzip -9 xxx.bin") and decompress them
on-the-fly to their final destination.  This can work for apps and for
filesystems (when used with the 2-step update option).

Allow eboot to be built using -Os/2 optimizations by fixing some portions
which failed when any optimizations were used.  Add -Wall and use data
and function sections to reduce size.  Use -Os to minimize size.

Remove obsolete esptool-ck calls to build a .ROM image, we don't use it.

Move all uninitted variables to RAM from IRAM, allowing 8-bit access.

Hook in @d-a-v and @pfalcon's uzlib port to actually do the
decompression.  Do not use any CRC checking which saves space.  Since we
have overwritten all of flash by the time we know id the CRC matches,
there's nothing we could have done anyway.

Adjust the Updater class to support GZIP files and not attempt to patch
them.

Bootloader builds to 0xd90 out of 0xfff bytes.

* Add @d-a-v's patch for httpupdate

https://github.com/esp8266/Arduino/pull/6820#pullrequestreview-326541014

* Update uzlib to point to pfalcon++

For now, because there are some self-test failures with @d-a-v's esp8266
branch (whose cool new features we don't actually use in eboot now)
start with pfalcon's 2.9 release and add the 2 patches (clcidx to code
from IRAM/RODATA, and the Windows test file renaming) needed to build
and run successfully.

* Add (c) notice for uzlib to README
2019-12-18 09:17:38 -08:00
Develo
3d70f43277
cleanup/unify flash sector size define value (#5327)
* cleanup/unify sector size define value

* replicate spi_flash_sec_size.h file for host tests

* further flash geometry cleanup, remove host test duplicate file
2018-11-24 02:59:12 -03:00
Ivan Grokhotkov
8a3386bfbf Bootloader: don't touch RTC memory if it doesn't contain a valid command (#619) 2016-03-28 00:24:27 +03:00
Ivan Grokhotkov
5763dbba3b Code review 2015-07-06 21:04:08 +03:00
John Doe
f3f500936d make eboot erase/read/write sector by sector
that makes possible having sketches with size up to the free size
2015-07-06 12:34:29 +03:00
Ivan Grokhotkov
73740d6e6d Clean up eboot 2015-06-05 14:07:35 +03:00
Ivan Grokhotkov
a4126b1235 Fix typo 2015-06-05 14:07:30 +03:00
Ivan Grokhotkov
bdf24031eb Fix uboot startup 2015-06-01 13:33:56 +03:00
Ivan Grokhotkov
d5b578b161 reading eboot commands via RTC, flash erase/copy 2015-06-01 02:08:48 +03:00
Ivan Grokhotkov
de28edb82f Fix eboot makefile 2015-05-29 19:35:31 +03:00
Ivan Grokhotkov
48e0d44860 Add eboot 2015-05-29 19:27:03 +03:00