-
Notifications
You must be signed in to change notification settings - Fork 7.5k
soc: stm32n6: Support running zephyr as a chainloaded application #91941
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
Open
erwango
wants to merge
6
commits into
zephyrproject-rtos:main
Choose a base branch
from
erwango:n6_mcuboot
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Offset is 400 for a good reason (yet to be defined). Signed-off-by: Erwan Gouriou <[email protected]>
This signature is only valid for FSBL images. MCUBooot will sign images by itself. Signed-off-by: Erwan Gouriou <[email protected]>
- Provide external flash partition - Define external flash and flash controller - Define image as XIP as it will run from external flash - Defined flashing address depending on image (FSBL/Chainloaded) Signed-off-by: Erwan Gouriou <[email protected]>
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Point to hal_stm32 change allowing to start chainloaded app (_s profile). Signed-off-by: Erwan Gouriou <[email protected]>
Make axisram2 which is used in fsbl mode available as well to chainloaded application in order not to loose 1M of RAM In order to avoid conflicts with bootloader, verify that code + ro data of the loaded application won't go further than bootloader start address. This is done with a linker assert. Signed-off-by: Erwan Gouriou <[email protected]>
Due to a BootROM clock switching issue, XSPI1 should use HCLK otherwise app won't restart on reset. Signed-off-by: Erwan Gouriou <[email protected]>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
DNM (manifest)
This PR should not be merged (controlled by action-manifest)
manifest
manifest-hal_stm32
platform: STM32
ST Micro STM32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Set of required adaptations to allow running the zephyr image following a bootloader (mcuboot for now).
Could be used with sysbuild:
west build -b stm32n6570_dk --sysbuild <your sample> -DSB_CONFIG_BOOTLOADER_MCUBOOT=y
(XIP)Add
-DSB_CONFIG_MCUBOOT_MODE_RAM_LOAD=y
to use RAMLOADED mode.Requires mcu-tools/mcuboot#2348