Skip to content

Conversation

@tomchy
Copy link
Contributor

@tomchy tomchy commented Nov 3, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 3, 2025 13:15
@NordicBuilder NordicBuilder added manifest changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Nov 3, 2025
Copy link

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 moves image management functionality from the upstream Zephyr repository to NRF-specific implementations by introducing new MCUmgr image management group files and updating the Zephyr revision.

  • Creates an alternative implementation of MCUmgr image management functionality with Nordic-specific features
  • Adds configuration options to enable the extended image management implementation
  • Updates the Zephyr SDK revision to incorporate related changes

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
west.yml Updates Zephyr revision to pull/3460/head
subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt_state.c Adds new image management state handling implementation
subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c Adds new image management core implementation
subsys/mgmt/mcumgr/grp/img_mgmt/Kconfig Adds configuration options for Nordic-specific image management
subsys/mgmt/mcumgr/grp/img_mgmt/CMakeLists.txt Adds build configuration for image management files
subsys/mgmt/mcumgr/grp/Kconfig Includes image management Kconfig in build
subsys/mgmt/mcumgr/grp/CMakeLists.txt Includes image management subdirectory in build
scripts/ci/license_allow_list.yaml Adds license exception for new source file
samples/zephyr/subsys/mgmt/mcumgr/smp_svr/prj_requests.conf Enables Nordic image management in sample
samples/dfu/ab/prj.conf Enables Nordic image management and removes BT controller config
modules/mcuboot/Kconfig Adds boot request configuration options and implies Nordic image management
Comments suppressed due to low confidence (2)

modules/mcuboot/Kconfig:1

  • Missing semicolon at the end of the function call statement. This will cause a compilation error.
menu "MCUboot"

samples/dfu/ab/prj.conf:1

  • The removal of CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 should be documented or explained as it may affect Bluetooth performance. Consider adding a comment explaining why this configuration is no longer needed.
# Enable MCUmgr and dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 3, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@cefb2ed (main) nrfconnect/sdk-zephyr#3460 nrfconnect/sdk-zephyr#3460/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 3, 2025

CI Information

To view the history of this post, click the 'edited' button above
Build number: 4

Inputs:

Sources:

more details

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (0)

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ❌ Toolchain
  • ❌ Build twister
  • ❌ Integration tests

Note: This message is automatically posted and updated by the CI

@tomchy tomchy force-pushed the bugfix/mcumgr/NCSDK-NONE_Move_ncs_extensions branch from 1204a8c to 393e3f8 Compare November 3, 2025 13:26
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

You can find the documentation preview for this PR here.

Add a copy of the img_mgmt.c file, so it can be adjusted to work
with all NCS-specific extensions.

Zephyr revision: 25269118b5069ebb72316d2a26bdedbe6ba8de95

Signed-off-by: Tomasz Chyrowicz <[email protected]>
Adds handling code to allow selecting the correct image slot when
using QSPI XIP in DirectXIP mode

In case of Direct XIP and multiple images, the radio active slot changes
accordingly (i.e. application slot 1 boots radio slot 1).

Moved from sdk-zephyr commit: 0fb761832466933b322fb8030c9ec934b62aa128

Signed-off-by: Jamie McCrae <[email protected]>
Signed-off-by: Tomasz Chyrowicz <[email protected]>
The "zephyr-code-partition" chosen DTS node cannot be used when build
uses Partition Manager. In that case, mcumgr must rely on the
definitions provided by the Partition Manager.

Jira: NCSDK-21381

Moved from sdk-zephyr commit: e6d6cc0c6ada8c69a021c5bbc13f52831c7c53a3

Signed-off-by: Marek Pieta <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
Signed-off-by: Tomasz Chyrowicz <[email protected]>
Copilot AI review requested due to automatic review settings November 4, 2025 15:47
@tomchy tomchy force-pushed the bugfix/mcumgr/NCSDK-NONE_Move_ncs_extensions branch from 393e3f8 to dc5a11b Compare November 4, 2025 15:47
Copy link

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

subsys/mgmt/mcumgr/grp/img_mgmt/Kconfig:1

  • Missing 'CONFIG_' prefix. Should be 'CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_BOOTLOADER_INFO' to properly reference the configuration option.
#

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


ARG_UNUSED(area_sizes);

rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size))
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

Missing semicolon at the end of the function call statement.

Suggested change
rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size))
rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size));

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM manifest manifest-zephyr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants