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

Add rBoot partition support #2258

Merged
merged 21 commits into from
Mar 17, 2021

Commits on Mar 16, 2021

  1. Fork rboot with sming branch, add partition table support

    Support ESP8266 partition table in any sector
    Support calculated `partition_table_offset` and partition `address` values
    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    cc06b73 View commit details
    Browse the repository at this point in the history
  2. Fix OTA hardware profiles

    We need a convention. Therefore, applications using only a single ROM use the default FACTORY sub-type.
    OTA applications use OTA_0 onwards.
    
    rBoot 'slots' correspond to OTA_nnn partition subtypes.
    Slot #0 corresponds to FACTORY as well.
    
    Therefore, FACTORY and OTA_0 are mutually exclusive.
    FACTORY is not to be used with OTA applications.
    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    0f29e8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    773c760 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca6b539 View commit details
    Browse the repository at this point in the history
  5. Add legacy option, and separate partition for RF calibration

    Ordering is different so use a dedicated partition for RF calibration
    Keeping partition table at 0x10000 for 4M devices is dodgy because SPIFFS could be there.
    So put it at end of flash in sector before PHY init.
    Reduce the `rom0` partition size slightly in the `two-rom-mode` profile so it will also work in legacy mode.
    
    NOTE: Changes partition layout so anyone using current develop branch will need to re-build and re-flash.
    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    f4ffdfd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9d1eecf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7de4daf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    17e6b60 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8be6408 View commit details
    Browse the repository at this point in the history
  10. Add Partition overload method

    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    1a4a7c1 View commit details
    Browse the repository at this point in the history
  11. Tidy up

    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    70d3818 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f46039c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a27f59e View commit details
    Browse the repository at this point in the history
  14. Review changes

    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    c1b1232 View commit details
    Browse the repository at this point in the history
  15. Fix vscode workspace schema paths

    Doesn't work with regular paths or environment variables, has to be a URL.
    This is important because schemas can be integrated into IDE to ease editing
    of hardware profiles and IFS build configs.
    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    a78cdc4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    580dbd1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5b6ae6b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    dca2c2b View commit details
    Browse the repository at this point in the history
  19. Remove redundant flashinit code

    FLASH_INIT_DATA is built as part of esp8266 Component, and written via partition mechanism
    There are no longer any FLASH_INIT_CHUNKS
    
    So flashinit -> wipe flash.
    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    af73fe3 View commit details
    Browse the repository at this point in the history
  20. Update migration notes

    mikee47 committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    3fb8e58 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    7ade434 View commit details
    Browse the repository at this point in the history