-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
samples: subsys: mgmt: support ram load mode with MCUBoot sample on RT1050 EVK #85096
base: main
Are you sure you want to change the base?
samples: subsys: mgmt: support ram load mode with MCUBoot sample on RT1050 EVK #85096
Conversation
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR OK, but would need MCUboot sync before
sram@2003FC00 { | ||
compatible = "zephyr,memory-region", "mmio-sram"; | ||
reg = <0x2003FC00 DT_SIZE_K(1)>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sram@2003FC00 { | |
compatible = "zephyr,memory-region", "mmio-sram"; | |
reg = <0x2003FC00 DT_SIZE_K(1)>; | |
sram@2003FF00 { | |
compatible = "zephyr,memory-region", "mmio-sram"; | |
reg = <0x2003FF00 0x100>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied
@@ -166,6 +166,7 @@ tests: | |||
integration_platforms: | |||
- nrf52840dk/nrf52840 | |||
sample.mcumgr.smp_svr.ram_load: | |||
sysbuild: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already defined in the common
section, no need to duplicate it.
common:
sysbuild: true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch- dropped this
MCUMgr ram load support was hardcoding the overlay file for the nrf52840dk. To make this support generic, move the _ram_load overlay file to the MCUBoot repository, as part of the mcuboot application. Signed-off-by: Daniel DeGrasse <[email protected]>
MCUBoot RAMLOAD mode relies on CONFIG_XIP=n, but FLASH_MCUX_FLEXSPI_XIP y-selects this symbol. Disable CONFIG_FLASH_MCUX_FLEXSPI_XIP for the case where we are using MCUBoot ramload mode. Signed-off-by: Daniel DeGrasse <[email protected]>
52cfb1d
to
ba6d537
Compare
Add support for using the ramload mode of MCUBoot on the mimxrt1050_evk Signed-off-by: Daniel DeGrasse <[email protected]>
ba6d537
to
7d2f5f2
Compare
Add support for running MCUBoot in ram load mode with the RT1050 EVK when using the
smp_svr
sample. This requires some rework of the support for thenrf52840dk
board within this sample, because the DTC overlay file for ram load mode was being hardcoded.