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

boot: zephyr: Add check for unexpected flash sector size #2059

Merged
merged 3 commits into from
Sep 27, 2024

Commits on Sep 24, 2024

  1. boot: zephyr: Add check for unexpected flash sector size

    Prints a debug log message if the device has a write block size
    for a flash device in DTS that is not the same as what the flash
    driver reports at run-time, this can be used to see if there is
    a faulty configuration as these compile-time values are used for
    various calculations
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2c456e6 View commit details
    Browse the repository at this point in the history
  2. boot: bootutil: Add write block size checking

    Adds write block size checking functionality and includes a
    zephyr implementation, this will not throw an error or prevent
    upgrade but will emit a debug log with a discrepency message
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    b19468d View commit details
    Browse the repository at this point in the history
  3. docs: release-notes: Add note on erase/write block size checking

    Adds notes on these new features
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    54ec0fc View commit details
    Browse the repository at this point in the history