Skip to content

Intermediate Memory Layout Update to Accommodate Larger App Size and Upcoming Secure Boot Changes#22

Merged
gjpmsft merged 1 commit intoOpenDevicePartnership:mainfrom
ayodejiige:personal/ayodejiige/updateMemoryMap
Sep 10, 2025
Merged

Intermediate Memory Layout Update to Accommodate Larger App Size and Upcoming Secure Boot Changes#22
gjpmsft merged 1 commit intoOpenDevicePartnership:mainfrom
ayodejiige:personal/ayodejiige/updateMemoryMap

Conversation

@ayodejiige
Copy link
Copy Markdown
Contributor

Intermediate Memory Layout Update to Accommodate Larger App Size and Upcoming Secure Boot Changes. The following changes have been made to accommodate this:

  1. Update RAM region and size for bootloader code and data.
  2. Increase RAM region for data to accommodate future bootloader changes.
  3. Limit flash usage to max allowed bootloader code size.
  4. Update hardcoded __bootable_region_descriptors_address symbol to use memory layout variables

Copilot AI review requested due to automatic review settings September 10, 2025 18:16
@ayodejiige ayodejiige requested a review from a team as a code owner September 10, 2025 18:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the memory layout configuration to accommodate a larger bootloader size and prepare for upcoming secure boot changes. The changes optimize memory allocation by adjusting RAM regions and limiting flash usage to the maximum allowed bootloader code size.

  • Updates RAM regions (IRAM and RAM) with new origins and increased sizes
  • Reduces FLASH region length from 1M to 24K to match bootloader size limits
  • Replaces hardcoded descriptor address with calculated value using memory layout variables

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread link-imxrt.x
@ayodejiige ayodejiige closed this Sep 10, 2025
@ayodejiige ayodejiige reopened this Sep 10, 2025
@gjpmsft gjpmsft merged commit 8714db0 into OpenDevicePartnership:main Sep 10, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants