Skip to content

zephyr: stm32n6 support #2348

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
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

zephyr: stm32n6 support #2348

wants to merge 3 commits into from

Conversation

erwango
Copy link

@erwango erwango commented Jun 20, 2025

Cherry-pick of #2323 adding STM32N6 support with XIP and RAMLOAD support

@erwango erwango changed the title N6 mcuboot stm32n6 support Jun 20, 2025
@erwango erwango changed the title stm32n6 support zephyr: stm32n6 support Jun 20, 2025
@erwango
Copy link
Author

erwango commented Jun 23, 2025

@nordicjm PTAL

FRASTM and others added 3 commits June 23, 2025 09:12
With CONFIG_STM32_MEMMAP flag get NOR flash 32 bytes header
Read the NOR flash to get header of the image.
The FLASH_DEVICE is now the external NOR defined by
the board device tree to be the first qspi/ospi/xspi instance
(not necessarily zephyr, flash-controller)

Signed-off-by: Francois Ramu <[email protected]>
Signed-off-by: Erwan Gouriou <[email protected]>
Add mcuboot configuration for stm32n6570_dk.
Run in L&R mode and launch application in DIRECT XIP.

Signed-off-by: Erwan Gouriou <[email protected]>
On STM32N6, MCUBoot is loaded by the BootROM to axisram2 and,
when running in RAMLOAD configuration, application image is loaded
in axisram1.
To support this, define MULTIPLE_EXECUTABLE_RAM_REGIONS and implement
boot_get_image_exec_ram_info() which provides the right executable
address and size based on axisram1 node definition.

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants