Skip to content

Conversation

nvlsianpu
Copy link
Contributor

@nvlsianpu nvlsianpu commented Sep 18, 2025

soc_pre_ram_hook allow to rework the resume from S2RAM code to work without PM_S2RAM mocking. Its allow to implement only what really needed from the MCUboot perspective.

/*
 *             resume or
 *              reboot                                              reboot==T
 *[S2RAM sleep]---------->[ boot (reset.S) ]---->[soc_pre_ram_hook]---------->[regular boot]
 *                                                       |
 *                                                       |   resume==T
 *                                                       \/
 *                                                  [jump to well-known]
 *                                                  [ App reset vector ]
 */

manifest-pr-skip

@nvlsianpu nvlsianpu force-pushed the s2ram_mediation branch 2 times, most recently from 5700396 to d2dd619 Compare September 26, 2025 12:01
@nvlsianpu
Copy link
Contributor Author

@nordicjm Added squash tags, to two commits.

@nvlsianpu nvlsianpu force-pushed the s2ram_mediation branch 2 times, most recently from 750d45c to dc27982 Compare October 3, 2025 11:56
@nvlsianpu nvlsianpu changed the title [nrf noup] boot/zephyr: improve S2RAM resume support using dedicated API [nrf noup] boot/zephyr: improve S2RAM resume support using soc_pre_ram_hook Oct 3, 2025
nrf-squash! [nrf noup] boot/zephyr: nRF54h20 resume from S2RAM (hardened)

CONFIG_ARM_SOC_START_HOOK=y allow to rework the
resume from S2RAM code to work without PM_S2RAM mocking.
It allows to implement only what really needed from
the MCUboot perspective.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
nrf-squash! [nrf noup] boot/zephyr/socs: nrf54h20 prj.conf for S2RAM

Updated in order to use optimized configuration.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
Copy link

sonarqubecloud bot commented Oct 6, 2025

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.

2 participants