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

Make RAM loading available for single loaders #2062

Merged
merged 4 commits into from
Oct 25, 2024

Commits on Oct 23, 2024

  1. boot/bootutil: Split RAM load code to its own file

    RAM loading code is currently under bootutil/loader.c, and it's not
    accessible for different loaders, such as the single loaders. Future
    patches will make use of the RAM loading code outside the
    bootutil/loader.c context, and this patch prepares for that by making it
    standalone on boot/bootutil/src/ram_load.c
    
    Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
    Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
    edersondisouza authored and teburd committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    851d103 View commit details
    Browse the repository at this point in the history
  2. boot/bootutil: Add MCUBOOT_SINGLE_APPLICATION_SLOT_RAM_LOAD mode

    Following the split of RAM code, these definitions will help use it with
    single slot applications.
    
    Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
    Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
    edersondisouza authored and teburd committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    bda6d8e View commit details
    Browse the repository at this point in the history
  3. boot/zephyr: Add CONFIG_SINGLE_APPLICATION_SLOT_RAM_LOAD

    This option basically enables MCUBOOT_RAM_LOAD in a single
    slot configuration, meaning the image on slot0 will be loaded into RAM.
    
    Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
    Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
    edersondisouza authored and teburd committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    20990a2 View commit details
    Browse the repository at this point in the history
  4. boot/zephyr: Load image to RAM on single loader

    Now that's possible to load image to RAM on single loaders, add support
    on Zephyr port for that.
    
    Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
    Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
    edersondisouza authored and teburd committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    1a60219 View commit details
    Browse the repository at this point in the history