Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compressed flash updates #6820

Merged
merged 6 commits into from
Dec 18, 2019

Commits on Nov 30, 2019

  1. 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.
    earlephilhower committed Nov 30, 2019
    Configuration menu
    Copy the full SHA
    67ba90d View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. Configuration menu
    Copy the full SHA
    4306ae7 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Configuration menu
    Copy the full SHA
    1191d25 View commit details
    Browse the repository at this point in the history
  2. 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.
    earlephilhower committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    30ba645 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    431809f View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2019

  1. Configuration menu
    Copy the full SHA
    e5db39d View commit details
    Browse the repository at this point in the history