<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124494/west-build-failed-due-to-mcuboot-sysbuild</link><description>Hi, 
 With NCS v3.1.0 and Nordic&amp;#39;s downstream zephyr ncs-v3.1.0, I got build failure with following message: 
 -- 
 warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION 
 -- 
 This failure can be reproduced</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Oct 2025 02:21:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124494/west-build-failed-due-to-mcuboot-sysbuild" /><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/550274?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 02:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ead74dc-61bc-4cfb-9e03-38acaff1e0bd</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Finally, I found out that the issue is related to the version I&amp;#39;ve chosen for bootloader/mcuboot.&lt;/p&gt;
&lt;p&gt;With source from repo &amp;#39;&lt;a id="" href="https://github.com/nrfconnect/sdk-mcuboot&amp;#39;,"&gt;https://github.com/nrfconnect/sdk-mcuboot&amp;#39;,&lt;/a&gt;&amp;nbsp;it can be built successfully.&lt;/p&gt;
&lt;p&gt;And my failure case is from repo &amp;#39;&lt;a href="https://github.com/zephyrproject-rtos/mcuboot&amp;#39;"&gt;github.com/.../mcuboot&amp;#39;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry for your time on helping me for the debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549894?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2025 11:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a64adc5-107c-4eef-bec5-f12764af633a</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Thanks. I suspect something may have gone wrong in your system-wide installation of NCS. Did you deviate from the setup steps at any point?&lt;/p&gt;
&lt;p&gt;Could you share the build folder generated during&amp;nbsp;the failed build?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549891?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2025 11:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234d024a-1bfc-4388-8bb9-87ac0f3cc056</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Here is the file, yes,&amp;nbsp;&lt;span&gt;MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION is presented as well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(v3.1.0) luser@zephyrbuild:~/ncs$ cat v3.1.0/nrf/modules/mcuboot/Kconfig
menu &amp;quot;MCUboot&amp;quot;

if BOOTLOADER_MCUBOOT

menuconfig MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION
        bool &amp;quot;Downgrade prevention using hardware security counters&amp;quot;
        depends on SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X || SOC_SERIES_NRF54LX
        help
          This option can be enabled by the application and will ensure
          that the MCUBOOT_HW_DOWNGRADE_PREVENTION Kconfig option is
          enabled in the MCUboot image.

if MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION

config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_SLOTS
        int &amp;quot;Number of available hardware counter slots&amp;quot;
        default 240
        range 2 300
        help
          When MCUBOOT_HW_DOWNGRADE_PREVENTION is enabled, MCUboot will use
          one hardware counter for each updatable image (UPDATEABLE_IMAGE_NUMBER).
          This configuration specifies how many counter slots will be allocated
          for each hardware counter. The hardware counters are stored in OTP storage.
          The rationale for the default number (240): Assume one update a month for
          10 years, then double that value just in case. This default fits
          comfortably within the OTP region of UICR.

config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_VALUE
        int &amp;quot;Security counter value&amp;quot;
        default 1
        range 1 65535
        help
          The security counter value for this image.
          This is the value that will be passed to the --security-counter
          parameter of imgtool.py

endif # MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION

# HACK: NCS temphack to keep our imgtool integration working now that
# there is no CONFIG_DT_* CMake namespace anymore. Use Zephyr
# kconfigfunctions to thread the flash write block size through
# Kconfig so it can be accessed from CMake. Needs a better solution.
DT_ZEPHYR_FLASH := zephyr,flash
DT_CHOSEN_ZEPHYR_FLASH := $(dt_chosen_path,$(DT_ZEPHYR_FLASH))
config MCUBOOT_FLASH_WRITE_BLOCK_SIZE
        int
        default $(dt_node_int_prop_int,$(DT_CHOSEN_ZEPHYR_FLASH),write-block-size)

endif # BOOTLOADER_MCUBOOT

config DT_FLASH_WRITE_BLOCK_SIZE
        int
        default $(dt_node_int_prop_int,$(DT_CHOSEN_ZEPHYR_FLASH),write-block-size)

config MCUBOOT_USB_SUPPORT
        bool
        default y if &amp;quot;$(dt_nodelabel_enabled,zephyr_udc0)&amp;quot;

config USE_NRF53_MULTI_IMAGE_WITHOUT_UPGRADE_ONLY
        bool &amp;quot;Allow nRF53 multi-image update support [dangerous]&amp;quot;
        help
          Enabling this option allows you to use NRF53_MULTI_IMAGE update
          without having BOOT_UPGRADE_ONLY enabled, allowing you to use
          different swapping methods. This will however give you the potential
          of bricking the network core upon reverts.

config MCUBOOT_USE_ALL_AVAILABLE_RAM
        bool &amp;quot;Allow MCUBoot to use all available RAM&amp;quot;
        depends on ARM_TRUSTZONE_M
        default y if BOARD_THINGY53_NRF5340_CPUAPP_NS || BOARD_THINGY53_NRF5340_CPUAPP
        help
          By default MCUBoot uses only the secure RAM partition.

endmenu
(v3.1.0) luser@zephyrbuild:~/ncs$&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549882?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2025 10:26:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeea90df-ed39-4640-b8a7-5acc337540dc</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Dunk,&lt;br /&gt;I have looked at your ticket&amp;nbsp;again and I made a mistake in my previous reply.&lt;br /&gt;&lt;br /&gt;This is the file I want you to look at:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;v3.1.0/nrf/modules/mcuboot/Kconfig&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;Can you confirm&amp;nbsp;MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION is defined in the file if you have it?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549740?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 00:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60bfa115-6722-4b69-8887-e5c3c4dd2354</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Yes, there is item &amp;#39;&lt;span&gt;MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION&lt;/span&gt;&amp;#39; defined in Kconfig.mcuboot. But I don&amp;#39;t understand that the building procedure is passed with *mcuboot* and is failed at application part, ie. &amp;#39;&lt;span&gt;with_mcuboot&amp;#39;, in my previous example.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(v3.1.0) luser@zephyrbuild:~/ncs/v3.1.0/nrf$ cat sysbuild/Kconfig.mcuboot
# Copyright (c) 2023 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

menu &amp;quot;MCUboot configuration&amp;quot;
        depends on BOOTLOADER_MCUBOOT

config MCUBOOT_SIGN_MERGED_BINARY
        bool &amp;quot;Sign single, merged update package [EXPERIMENTAL]&amp;quot;
        default y if (MCUBOOT_MODE_DIRECT_XIP || MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT)
        depends on SOC_NRF54H20
        select EXPERIMENTAL

config MCUBOOT_BUILD_DIRECT_XIP_VARIANT
        bool &amp;quot;Build DirectXIP variant image&amp;quot;
        depends on MCUBOOT_MODE_DIRECT_XIP || MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT
        default y
        help
          Will build the alternative slot (variant) image of the main application.

menuconfig MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION
        bool &amp;quot;Downgrade prevention using hardware security counters&amp;quot;
        depends on (SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X || SOC_SERIES_NRF54LX)
        depends on !SECURE_BOOT_APPCORE
        depends on !QSPI_XIP_SPLIT_IMAGE
        help
          This option can be enabled by the application and will ensure that the
          MCUBOOT_HW_DOWNGRADE_PREVENTION Kconfig option is enabled in the MCUboot image.

          Note that this can only be used on first image, it will not be applied to the second
          image (network core updates) on nRF5340 which will use software downgrade protection
          on the network core CPU instead.

if MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION

config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_SLOTS
        int &amp;quot;Number of available hardware counter slots&amp;quot;
        default 240
        range 2 300
        help
          When MCUBOOT_HW_DOWNGRADE_PREVENTION is enabled, MCUboot will use one hardware counter
          for each updatable image (UPDATEABLE_IMAGE_NUMBER). This configuration specifies how many
          counter slots will be allocated for each hardware counter. The hardware counters are
          stored in OTP storage. The rationale for the default number (240): Assume one update a
          month for 10 years, then double that value just in case. This default fits comfortably
          within the OTP region of UICR.

config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_VALUE
        int &amp;quot;Security counter value&amp;quot;
        default 1
        range 1 65535
        help
          The security counter value for this image.
          This is the value that will be passed to the --security-counter parameter of imgtool.py

endif # MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION

config MCUBOOT_COMPRESSED_IMAGE_SUPPORT
        bool &amp;quot;Compressed image support&amp;quot;
        depends on MCUBOOT_MODE_OVERWRITE_ONLY
        help
          When enabled, supports loading compressed images using LZMA2 to the secondary slot which
          will then be decompressed and loaded to the primary slot.

config MCUBOOT_MAX_UPDATEABLE_IMAGES
        int
        default 1 if MCUBOOT_MODE_SINGLE_APP
        default 4

config MCUBOOT_APPLICATION_IMAGE_NUMBER
        int
        default 0

config MCUBOOT_NETWORK_CORE_IMAGE_NUMBER
        int
        default 1 if NETCORE_APP_UPDATE &amp;amp;&amp;amp; !MCUBOOT_MODE_SINGLE_APP
        default 1 if BOOTLOADER_MCUBOOT &amp;amp;&amp;amp; !NETCORE_NONE &amp;amp;&amp;amp; (SOC_NRF54H20 &amp;amp;&amp;amp; !MCUBOOT_SIGN_MERGED_BINARY)
        default -1

config MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER
        int
        default 2 if (WIFI_PATCHES_EXT_FLASH_XIP || WIFI_PATCHES_EXT_FLASH_STORE) &amp;amp;&amp;amp; MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1
        default 1 if (WIFI_PATCHES_EXT_FLASH_XIP || WIFI_PATCHES_EXT_FLASH_STORE)
        default -1

config MCUBOOT_QSPI_XIP_IMAGE_NUMBER
        int
        default 3 if QSPI_XIP_SPLIT_IMAGE &amp;amp;&amp;amp; MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1
        default 2 if QSPI_XIP_SPLIT_IMAGE &amp;amp;&amp;amp; MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1
        default 1 if QSPI_XIP_SPLIT_IMAGE
        default -1

config MCUBOOT_MCUBOOT_IMAGE_NUMBER
        int
        default 4 if SECURE_BOOT_APPCORE &amp;amp;&amp;amp; MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_QSPI_XIP_IMAGE_NUMBER != 1
        default 3 if SECURE_BOOT_APPCORE &amp;amp;&amp;amp; ((MCUBOOT_QSPI_XIP_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; (MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 || MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1)) || (MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1))
        default 2 if SECURE_BOOT_APPCORE &amp;amp;&amp;amp; (MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 || MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1 || MCUBOOT_QSPI_XIP_IMAGE_NUMBER != -1)
        default 1 if SECURE_BOOT_APPCORE
        default -1

config MCUBOOT_MIN_UPDATEABLE_IMAGES
        int
        default 4 if MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_QSPI_XIP_IMAGE_NUMBER != -1
        default 3 if (MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1) || (MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_QSPI_XIP_IMAGE_NUMBER != -1) || (MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1 &amp;amp;&amp;amp; MCUBOOT_QSPI_XIP_IMAGE_NUMBER != -1)
        default 2 if MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1 || MCUBOOT_WIFI_PATCHES_IMAGE_NUMBER != -1 || MCUBOOT_QSPI_XIP_IMAGE_NUMBER != -1
        default 1

config MCUBOOT_MIN_ADDITIONAL_UPDATEABLE_IMAGES
        int
        default 1 if MCUBOOT_MCUBOOT_IMAGE_NUMBER != -1
        default 0

config MCUBOOT_UPDATEABLE_IMAGES
        int &amp;quot;Updateable images&amp;quot;
        range MCUBOOT_MIN_UPDATEABLE_IMAGES MCUBOOT_MAX_UPDATEABLE_IMAGES
        help
          The number of images that MCUboot will be built with. Note that if
          ``MCUBOOT_ADDITIONAL_UPDATEABLE_IMAGES`` is set to a non-zero value then that value will
          be added to the MCUboot updateable image number but not the application, this is to allow
          for features like NSIB updates of MCUboot itself.

config MCUBOOT_ADDITIONAL_UPDATEABLE_IMAGES
        int &amp;quot;Additional MCUboot-only updateable images&amp;quot;
        range MCUBOOT_MIN_ADDITIONAL_UPDATEABLE_IMAGES MCUBOOT_MIN_ADDITIONAL_UPDATEABLE_IMAGES
        default MCUBOOT_MIN_ADDITIONAL_UPDATEABLE_IMAGES
        help
          The number of additional images that MCUboot will be built with.

config MCUBOOT_APP_SYNC_UPDATEABLE_IMAGES
        bool &amp;quot;Sync updateable image value to main application&amp;quot;
        default y
        help
          If enabled then will synchronise the value of ``MCUBOOT_UPDATEABLE_IMAGES`` to MCUboot
          and the main application, if disabled then will only set this value to MCUboot.

          Note: ``MCUBOOT_MIN_ADDITIONAL_UPDATEABLE_IMAGES`` will be applied to MCUboot only
          irrespective of this option.

config SECURE_BOOT_MCUBOOT_VERSION
        string &amp;quot;MCUboot S0/S1 image update version&amp;quot;
        default &amp;quot;0.0.0+0&amp;quot;
        depends on SECURE_BOOT
        depends on BOOTLOADER_MCUBOOT
        help
          The version of the MCUboot S0/S1 upgrade package

if BOOTLOADER_MCUBOOT

choice BOOT_SIGNATURE_TYPE
        default BOOT_SIGNATURE_TYPE_RSA if THINGY91_STATIC_PARTITIONS_FACTORY
        default BOOT_SIGNATURE_TYPE_ED25519 if SOC_SERIES_NRF54LX || SOC_SERIES_NRF54HX
        default BOOT_SIGNATURE_TYPE_ECDSA_P256 if ((SOC_NRF52840 || SOC_SERIES_NRF91X) &amp;amp;&amp;amp; !BOARD_THINGY91_NRF9160 &amp;amp;&amp;amp; !BOARD_THINGY91_NRF52840)
        default BOOT_SIGNATURE_TYPE_ECDSA_P256 if SECURE_BOOT_APPCORE

endchoice

config BOOT_SIGNATURE_TYPE_PURE
        bool &amp;quot;Verify signature directly over image&amp;quot;
        depends on SOC_SERIES_NRF54LX
        depends on BOOT_SIGNATURE_TYPE_ED25519
        help
          The image signature will be verified over image rather than
          hash of an image.
          This option is currently only supported with ED25519 and configurations
          where both image slots are within internal SoC device storage.

config BOOT_IMG_HASH_ALG_SHA512
        bool &amp;quot;Use SHA512 for image hash calculation&amp;quot;
        depends on BOOT_SIGNATURE_TYPE_ED25519
        default y if SOC_SERIES_NRF54LX || SOC_SERIES_NRF54HX
        help
          The image hash will be calculated using SHA512 algorithm.

config MCUBOOT_SIGNATURE_USING_KMU
        bool &amp;quot;Use KMU stored keys for signature verification&amp;quot;
        depends on SOC_SERIES_NRF54LX
        depends on BOOT_SIGNATURE_TYPE_ED25519
        help
          The device needs to be provisioned with proper set of keys.

config MCUBOOT_SIGNATURE_USING_ITS
        bool &amp;quot;Use ITS stored keys for signature verification [EXPERIMENTAL]&amp;quot;
        depends on SOC_SERIES_NRF54HX
        select EXPERIMENTAL
        help
          The device needs to be provisioned with proper set of keys.

config BOOT_SHARED_CRYPTO_ECDSA_P256
        bool &amp;quot;Use external crypto from NSIB for ECDSA P256 signature&amp;quot;
        depends on SECURE_BOOT_APPCORE &amp;amp;&amp;amp; SECURE_BOOT_SIGNATURE_TYPE_ECDSA
        depends on BOOT_SIGNATURE_TYPE_ECDSA_P256 &amp;amp;&amp;amp; !SOC_SERIES_NRF54LX
        default y

config MCUBOOT_GENERATE_DEFAULT_KMU_KEYFILE
        bool &amp;quot;Generate default keyfile for provisioning during build&amp;quot;
        depends on SOC_SERIES_NRF54LX
        depends on MCUBOOT_SIGNATURE_USING_KMU
        help
          If enabled, the build system will generate keyfile.json file in the build directory.

endif

config MCUBOOT_USE_ALL_AVAILABLE_RAM
        bool &amp;quot;Allow MCUboot to use all available RAM&amp;quot;
        depends on BOARD_IS_NON_SECURE
        help
          By default MCUboot uses only the secure RAM partition.

config MCUBOOT_NRF53_MULTI_IMAGE_UPDATE
        bool &amp;quot;Network core multi-image update (in single operation)&amp;quot;
        depends on NETCORE_APP_UPDATE
        depends on !MCUBOOT_MODE_SINGLE_APP
        help
          If selected, network core image updates can be applied in a single operation. This is
          required if the secondary partition resides in off-chip memory.

          Note: if not using overwrite only mode for MCUboot, this can result in a bricked device
          upon firmware reverts.

endmenu
(v3.1.0) luser@zephyrbuild:~/ncs/v3.1.0/nrf$&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549682?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2025 12:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fd30dd1-0c9d-4b0b-903d-4ce77885a808</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;The warning and error you are getting is because the&amp;nbsp;build system doesn&amp;#39;t find the Kconfig symbol MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION. This Kconfig symbol is defined in the following file:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;v3.1.0/nrf/sysbuild/Kconfig.mcuboot&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Could you check if you have this file and if the Kconfig symbol is defined there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549621?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2025 03:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9855e1cc-b34f-4c14-9d06-c676864598a7</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Here you are.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(v3.1.0) luser@zephyrbuild:~/ncs/v3.1.0/nrf$ cat west.yml
# The west manifest file (west.yml) for the nRF Connect SDK (NCS).
#
# The per-workspace west configuration file, ncs/.west/config,
# specifies the location of this manifest file like this:
#
#     [manifest]
#     path = nrf
#
# See the west documentation for more information:
#
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/west/index.html

manifest:
  version: &amp;quot;0.13&amp;quot;

  # &amp;quot;remotes&amp;quot; is a list of locations where git repositories are cloned
  # and fetched from.
  remotes:
    # nRF Connect SDK GitHub organization.
    # NCS repositories are hosted here.
    - name: ncs
      url-base: https://github.com/nrfconnect
    # Third-party repository sources:
    - name: zephyrproject
      url-base: https://github.com/zephyrproject-rtos
    - name: throwtheswitch
      url-base: https://github.com/ThrowTheSwitch
    - name: dragoon
      url-base: https://projecttools.nordicsemi.no/bitbucket/scm/drgn
    - name: memfault
      url-base: https://github.com/memfault
    - name: babblesim
      url-base: https://github.com/BabbleSim
    - name: bosch
      url-base: https://github.com/boschsensortec
    - name: eembc
      url-base: https://github.com/eembc

  # If not otherwise specified, the projects below should be obtained
  # from the ncs remote.
  defaults:
    remote: ncs

  group-filter:
    - -nrf-802154
    - -dragoon
    - -find-my
    - -babblesim
    - -libmodem
    - -bsec
    - -doc-internal
    - +optional

  # &amp;quot;projects&amp;quot; is a list of git repositories which make up the NCS
  # source code.
  #
  # For &amp;#39;userdata&amp;#39; fields in the projects area, please refer to:
  # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/dm_code_base.html
  projects:

    # The Zephyr RTOS fork in the NCS, along with the subset of its
    # modules which NCS imports directly.
    #
    # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/introduction/index.html
    # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
    - name: zephyr
      repo-path: sdk-zephyr
      revision: ncs-v3.1.0
      import:
        # In addition to the zephyr repository itself, NCS also
        # imports the contents of zephyr/west.yml at the above
        # revision. Only the projects explicitly named in the
        # following allowlist are imported.
        #
        # Note that the zephyr west extensions (like &amp;#39;build&amp;#39;, &amp;#39;flash&amp;#39;,
        # &amp;#39;debug&amp;#39;, etc.) are automatically provided by this import, so
        # there&amp;#39;s no need to add a redundant west-commands: key for
        # the zephyr project.
        #
        # Please keep this list sorted alphabetically.
        name-allowlist:
          - canopennode
          - chre
          - cmsis
          - cmsis-dsp
          - cmsis-nn
          - cmsis_6
          - edtt
          - fatfs
          - hal_nordic
          - hal_st # required for ST sensors (unrelated to STM32 MCUs)
          - hal_tdk # required for Invensense sensors such as ICM42670
          - hal_wurthelektronik
          - liblc3
          - libmetal
          - littlefs
          - loramac-node
          - lvgl
          - lz4
          - mipi-sys-t
          - nanopb
          - net-tools
          - nrf_hw_models
          - nrf_wifi
          - open-amp
          - percepio
          - picolibc
          - segger
          - tf-m-tests
          - tinycrypt
          - uoscore-uedhoc
          - zcbor
          - zscilib

    # NCS repositories.
    #
    # Some of these are also Zephyr modules which have NCS-specific
    # changes.
    - name: hostap
      repo-path: sdk-hostap
      path: modules/lib/hostap
      revision: 2b5c82cd4e833c065075bc239a7bd138d4662e34
    - name: wfa-qt-control-app
      repo-path: sdk-wi-fiquicktrack-controlappc
      path: modules/lib/wfa-qt-control-app
      revision: d4bc010be69aa89290c5af6767702ff46c1829e5
      userdata:
        ncs:
          upstream-url: https://github.com/Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC
          upstream-sha: 1225729e8d84075f03bf9fc51eee85d84dfb0091
          compare-by-default: true
    - name: mcuboot
      repo-path: sdk-mcuboot
      revision: ncs-v3.1.0
      path: bootloader/mcuboot
    - name: qcbor
      url: https://github.com/laurencelundblade/QCBOR
      revision: 751d36583a9ce1a640900c57e13c9b6b8f3a2ba2
      path: modules/tee/tf-m/qcbor
    - name: mbedtls
      path: modules/crypto/mbedtls
      repo-path: sdk-mbedtls
      revision: ncs-v3.1.0
    - name: oberon-psa-crypto
      path: modules/crypto/oberon-psa-crypto
      repo-path: sdk-oberon-psa-crypto
      revision: ncs-v3.1.0
    - name: nrfxlib
      repo-path: sdk-nrfxlib
      path: nrfxlib
      revision: v3.1.0
    - name: trusted-firmware-m
      repo-path: sdk-trusted-firmware-m
      path: modules/tee/tf-m/trusted-firmware-m
      revision: ncs-v3.1.0
    - name: psa-arch-tests
      repo-path: sdk-psa-arch-tests
      path: modules/tee/tf-m/psa-arch-tests
      revision: 3da9313e64806d352c519e3205e81cf959067588
    - name: matter
      repo-path: sdk-connectedhomeip
      path: modules/lib/matter
      revision: v3.1.0
      west-commands: scripts/west/west-commands.yml
      submodules:
        - name: nlio
          path: third_party/nlio/repo
        - name: nlassert
          path: third_party/nlassert/repo
        - name: pigweed
          path: third_party/pigweed/repo
        - name: jsoncpp
          path: third_party/jsoncpp/repo
      userdata:
        ncs:
          upstream-url: https://github.com/project-chip/connectedhomeip
          upstream-sha: 181b0cb14ff007ec912f2ba6627e05dfb066c008
          compare-by-default: false
    - name: nrf-802154
      repo-path: sdk-nrf-802154
      path: nrf-802154
      revision: v3.1.0
      groups:
        - nrf-802154
    - name: dragoon
      # Only for internal Nordic development
      repo-path: dragoon.git
      remote: dragoon
      revision: fcde41eba2d1422400b5f8579fac9d9eaac9b434
      groups:
        - dragoon
    - name: cjson
      repo-path: sdk-cjson
      path: modules/lib/cjson
      revision: c6af068b7f05207b28d68880740e4b9ec1e4b50a
      userdata:
        ncs:
          upstream-url: https://github.com/DaveGamble/cJSON
          upstream-sha: d2735278ed1c2e4556f53a7a782063b31331dbf7
          compare-by-default: false
    - name: find-my
      repo-path: sdk-find-my
      revision: v3.1.0
      groups:
        - find-my
    - name: azure-sdk-for-c
      repo-path: azure-sdk-for-c
      path: modules/lib/azure-sdk-for-c
      revision: 308c171cb4b5eed266649012a68406487ec81fb2
      userdata:
        ncs:
          upstream-url: https://github.com/Azure/azure-sdk-for-c
          upstream-sha: adc56bc6138a28b5490bce339a31a2581a072092
          compare-by-default: false
    - name: cirrus
      repo-path: sdk-mcu-drivers
      path: modules/hal/cirrus-logic
      revision: 3873a08377d93a479105a75ac390d3bbcd31d690
      userdata:
        ncs:
          upstream-url: https://github.com/CirrusLogic/mcu-drivers
          upstream-sha: 1be6ca7253133a21a1e9fe0fbb4656e17d63a936
          compare-by-default: false
    - name: libmodem
      revision: 5dc5bc768dda0ddf9974920c618b70da5d67c6c3
      groups:
        - libmodem
    - name: openthread
      repo-path: sdk-openthread
      path: modules/lib/openthread
      revision: ncs-thread-reference-20250402
      userdata:
        ncs:
          upstream-url: https://github.com/openthread/openthread
          upstream-sha: c6eaeda5a1c1c5dbb24dce7e027340cb8893a77b
          compare-by-default: false
    - name: doc-internal
      repo-path: doc-internal
      path: modules/doc-internal
      revision: ae9f21960477636720a72ced869a6c342d502484
      groups:
        - doc-internal

    # Other third-party repositories.
    - name: cmock
      path: test/cmock
      submodules: true
      revision: f65066f15d8248e6dcb778efb8739904a4512087
      remote: throwtheswitch
    - name: memfault-firmware-sdk
      path: modules/lib/memfault-firmware-sdk
      revision: 1.26.0
      remote: memfault
    - name: bsim
      repo-path: bsim_west
      remote: babblesim
      revision: a88d3353451387ca490a6a7f7c478a90c4ee05b7
      import:
        path-prefix: tools
    - name: bme68x
      repo-path: Bosch-BME68x-Library
      remote: bosch
      path: modules/lib/bme68x
      revision: v1.1.40407
      groups:
        - bsec
    - name: bsec
      repo-path: Bosch-BSEC2-Library
      remote: bosch
      path: modules/lib/bsec
      revision: v1.5.2400
      groups:
        - bsec
    - name: coremark
      remote: eembc
      path: modules/benchmark/coremark
      revision: d5fad6bd094899101a4e5fd53af7298160ced6ab
      groups:
        - benchmark

  # West-related configuration for the nrf repository.
  self:
    # This repository should be cloned to ncs/nrf.
    path: nrf
    # This line configures west extensions.
    west-commands: scripts/west-commands.yml
(v3.1.0) luser@zephyrbuild:~/ncs/v3.1.0/nrf$&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549534?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 11:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f01f15d-a2e0-45e9-8a26-a2a655bfc264</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Could you upload your nrf/west.yml file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549524?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 10:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efde3763-af43-471c-a41b-da1b4548adee</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t really understand the usage of nrfutil for the NCS SDK installation, but I&amp;#39;ve tried it on my environment as below:&lt;/p&gt;
&lt;p&gt;It&amp;#39;s still failed:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;luser@zephyrbuild:~$ ./nrfutil install sdk-manager
nrfutil-sdk-manager already installed - use &amp;#39;--force&amp;#39; to uninstall and reinstall the command
[00:00:01] ###### 100% [Install packages] Install packages                                                                                                                                                       luser@zephyrbuild:~$ ls
cbs  cbs_test  ncs  NCS-Project  nrfutil  sdk-zephyr.git  zephyrproject
luser@zephyrbuild:~$ ls -la
total 12892
drwxr-x--- 13 luser luser     4096 Sep 23 10:02 .
drwxr-xr-x  3 root  root      4096 Jan 22  2025 ..
-rw-------  1 luser luser    67807 Sep 23 10:02 .bash_history
-rw-r--r--  1 luser luser      220 Jan  6  2022 .bash_logout
-rw-r--r--  1 luser luser     3771 Jan  6  2022 .bashrc
drwx------  5 luser luser     4096 Sep  2 08:33 .cache
drwxrwxr-x 16 luser luser     4096 Sep 17 10:33 cbs
drwxrwxr-x 13 luser luser     4096 Sep 19 09:28 cbs_test
drwxrwxr-x  3 luser luser     4096 Sep  2 07:59 .cmake
-rw-rw-r--  1 luser luser      633 Sep 19 09:35 .gitconfig
-rw-------  1 luser luser      884 Sep 22 08:20 .lesshst
drwxrwxr-x  6 luser luser     4096 Sep  3 02:50 ncs
drwxrwxr-x 13 luser luser     4096 Sep  3 08:01 NCS-Project
drwxrwxr-x 11 luser luser     4096 Sep  2 08:54 .nrfutil
-rwxrwxr-x  1 luser luser 13003448 Nov  4  2024 nrfutil
-rw-r--r--  1 luser luser      807 Jan  6  2022 .profile
drwxrwxr-x 12 luser luser     4096 Jan 22  2025 sdk-zephyr.git
drwx------  2 luser luser     4096 Sep 19 08:45 .ssh
-rw-r--r--  1 luser luser        0 Jan 22  2025 .sudo_as_admin_successful
drwxr-xr-x  2 luser luser     4096 Sep 17 02:53 .vim
-rw-------  1 luser luser    45147 Sep 19 09:35 .viminfo
-rw-rw-r--  1 luser luser      210 Sep 22 08:41 .wget-hsts
drwxrwxr-x 10 luser luser     4096 Sep 22 08:46 zephyrproject
luser@zephyrbuild:~$ ls .nrfutil/
bin  bootstrap  cache  config  installed  logs  registry  share  tmp
luser@zephyrbuild:~$ ls .nrfutil/installed/
nrfutil-sdk-manager-x86_64-unknown-linux-gnu  nrfutil-x86_64-unknown-linux-gnu
luser@zephyrbuild:~$ nrfutil sdk-manager search
nrfutil: command not found
luser@zephyrbuild:~$ ./nrfutil sdk-manager search
SDK Type  SDK Version      SDK Status  Toolchain Version  Toolchain Status
nrf       v3.2.0-preview1  Available   v3.2.0-preview1    Available
nrf       v3.1.1           Available   v3.1.1             Available
nrf       v3.1.0           Installed   v3.1.0             Installed
nrf       v3.0.2           Available   v3.0.2             Available
nrf       v3.0.1           Available   v3.0.1             Available
nrf       v3.0.0           Available   v3.0.0             Available
nrf       v2.9.2           Available   v2.9.2             Available
nrf       v2.9.1           Available   v2.9.1             Available
nrf       v2.9.0           Available   v2.9.0             Available
nrf       v2.8.0           Available   v2.8.0             Available
nrf       v2.7.0           Available   v2.7.0             Available
nrf       v2.6.0           Available   v2.6.0             Available
nrf       v2.5.0           Available   v2.5.0             Available
nrf       v2.4.0           Available   v2.4.0             Available
nrf       v2.3.0           Available   v2.3.0             Available
nrf       v2.2.0           Available   v2.2.0             Available
nrf       v2.1.0           Available   v2.1.0             Available
nrf       v2.0.0           Available   v2.0.0             Available

luser@zephyrbuild:~$ ./nrfutil sdk-manager install v3.1.0
[00:00:00] ###### 100% [Install toolchain v3.1.0] Toolchain with version v3.1.0 already installed                                                                                                                [00:00:00] ###### 100% [Install SDK v3.1.0] SDK with version v3.1.0 already installed                                                                                                                            luser@zephyrbuild:~$ ls ncs/
downloads  tmp  toolchains  v3.1.0
luser@zephyrbuild:~$ ./nrfutil sdk-manager toolchain launch --ncs-version v3.1.0 --shell
Initializing shell environment!

(v3.1.0) luser@zephyrbuild:~$ ls
cbs  cbs_test  ncs  NCS-Project  nrfutil  sdk-zephyr.git  zephyrproject
(v3.1.0) luser@zephyrbuild:~$ cd cbs
(v3.1.0) luser@zephyrbuild:~/cbs$ ls
bootloader  build  cbs_nrf_sdk_3.1.0  cbs_nrf_sdk_3.1.0.org  modules  nrf  nrfxlib  test  tools  zephyr  zephyr-sdk-0.17.0  zephyr-sdk-0.17.1
(v3.1.0) luser@zephyrbuild:~/cbs$ source zephyr/zephyr-env.sh
(v3.1.0) luser@zephyrbuild:~/cbs$ west ^C
(v3.1.0) luser@zephyrbuild:~/cbs$ west build -p always -b nrf52840dk/nrf52840 zephyr/samples/sysbuild/with_mcuboot --sysbuild
-- west build: making build dir /home/luser/cbs/build pristine
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /home/luser/ncs/toolchains/c5be9c56c7/usr/local/bin/python3.12 (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/luser/.cache/zephyr
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
Parsing /home/luser/cbs/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;/home/luser/cbs/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;/home/luser/cbs/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/luser/cbs/build/_sysbuild/autoconf.h&amp;#39;
--
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: /home/luser/cbs/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Found Python3: /home/luser/ncs/toolchains/c5be9c56c7/usr/local/bin/python (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/luser/.cache/zephyr
-- Zephyr version: 4.1.99 (/home/luser/cbs/zephyr)
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
-- Found host-tools: zephyr 0.17.0 (/home/luser/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/home/luser/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk)
-- Found Dtc: /home/luser/ncs/toolchains/c5be9c56c7/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
-- Found devicetree overlay: /home/luser/cbs/bootloader/mcuboot/boot/zephyr/app.overlay
-- Generated zephyr.dts: /home/luser/cbs/build/mcuboot/zephyr/zephyr.dts
-- Generated pickled edt: /home/luser/cbs/build/mcuboot/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/luser/cbs/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
Parsing /home/luser/cbs/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration &amp;#39;/home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/bootloader/mcuboot/boot/zephyr/prj.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/bootloader/mcuboot/boot/zephyr/boards/nrf52840dk_nrf52840.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot/sysbuild/mcuboot.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/build/mcuboot/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;/home/luser/cbs/build/mcuboot/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/luser/cbs/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h&amp;#39;
-- Found GnuLd: /home/luser/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/luser/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /home/luser/cbs/nrf/lib/flash_patch/CMakeLists.txt:8 (message):


        ----------------------------------------------------------
        --- WARNING: To maintain the integrity of secure boot, ---
        --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
        ----------------------------------------------------------


-- Using ccache: /home/luser/ncs/toolchains/c5be9c56c7/usr/bin/ccache
-- Found gen_kobject_list: /home/luser/cbs/zephyr/scripts/build/gen_kobject_list.py
MCUBoot bootloader key file: /home/luser/cbs/bootloader/mcuboot/root-ec-p256.pem
CMake Warning at CMakeLists.txt:369 (message):
  WARNING: Using default MCUboot signing key file, this file is for debug use
  only and is not secure!


Calculated maximum number of sectors: 118
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luser/cbs/build/mcuboot
--
   **********************************
   * Running CMake for with_mcuboot *
   **********************************

Loading Zephyr default modules (Zephyr base).
-- Application: /home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot
-- CMake version: 3.21.0
-- Found Python3: /home/luser/ncs/toolchains/c5be9c56c7/usr/local/bin/python (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/luser/.cache/zephyr
-- Zephyr version: 4.1.99 (/home/luser/cbs/zephyr)
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
-- Found host-tools: zephyr 0.17.0 (/home/luser/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/home/luser/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk)
-- Found Dtc: /home/luser/ncs/toolchains/c5be9c56c7/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
-- Generated zephyr.dts: /home/luser/cbs/build/with_mcuboot/zephyr/zephyr.dts
-- Generated pickled edt: /home/luser/cbs/build/with_mcuboot/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/luser/cbs/build/with_mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h

warning: UPDATEABLE_IMAGE_NUMBER (defined at
/home/luser/cbs/nrf/samples/common/mcumgr_bt_ota_dfu/Kconfig:87, subsys/dfu/Kconfig:96) was assigned
the value &amp;#39;1&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies:
(((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp;
NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT &amp;amp;&amp;amp; IMG_MANAGER)) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER and/or look up
UPDATEABLE_IMAGE_NUMBER in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:55) was assigned the value
&amp;#39;0x2000&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n),
IMG_MANAGER (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE and/or look up
MCUBOOT_UPDATE_FOOTER_SIZE in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.


/home/luser/cbs/build/with_mcuboot/zephyr/.config.sysbuild:20: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION
Parsing /home/luser/cbs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/build/with_mcuboot/zephyr/.config.sysbuild&amp;#39;

error: Aborting due to Kconfig warnings

CMake Error at /home/luser/cbs/zephyr/cmake/modules/kconfig.cmake:377 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/luser/cbs/nrf/cmake/modules/kconfig.cmake:83 (include)
  /home/luser/cbs/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
  CMake configure failed for Zephyr project: with_mcuboot

  Location: /home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:21 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /home/luser/cbs/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;/home/luser/cbs/build/CMakeFiles/CMakeOutput.log&amp;quot;.
FATAL ERROR: command exited with status 1: /home/luser/ncs/toolchains/c5be9c56c7/usr/local/bin/cmake -DWEST_PYTHON=/home/luser/ncs/toolchains/c5be9c56c7/usr/local/bin/python3.12 -B/home/luser/cbs/build -GNinja -DBOARD=nrf52840dk/nrf52840 -S/home/luser/cbs/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot
(v3.1.0) luser@zephyrbuild:~/cbs$&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549493?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 08:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66bb1684-8e39-45d1-8056-417368607f0d</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Dunk,&lt;/p&gt;
&lt;p&gt;Could you try to install&amp;nbsp;NCS by following&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#alternative_method_system-wide_installation"&gt;this&lt;/a&gt;&amp;nbsp;guide?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549482?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 01:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ba7d42-4219-4d9a-bbc0-bd4e6e1cc158</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Thanks for reply. The full log of building this sample was provided.&lt;/p&gt;
&lt;p&gt;BTW, I&amp;#39;m working on the Ubuntu environment, not any GUI/IDE involved.&lt;br /&gt;The steps I was used to initiate my development environment as below:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;python3 -m venv .venv&lt;/li&gt;
&lt;li&gt;source .venv/bin/activate&lt;/li&gt;
&lt;li&gt;pip install west&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;west initialization with west.yml as below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;manifest:
  self:
    path: cbs

  remotes:
    - name: zephyrproject-rtos
      url-base: https://github.com/zephyrproject-rtos
    - name: nrfconnect
      url-base: https://github.com/nrfconnect

  projects:
    - name: zephyr
      remote: nrfconnect
      repo-path: sdk-zephyr
      revision: ncs-v3.1.0
      import: true
    - name: nrf
      remote: nrfconnect
      repo-path: sdk-nrf
      revision: v3.1.0
      import: true&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;west update&lt;/li&gt;
&lt;li&gt;pip install -r zephyr/scripts/requirements.txt&lt;/li&gt;
&lt;li&gt;west sdk install -t arm-zephyr-eabi -b .&lt;/li&gt;
&lt;li&gt;west zephyr-export&lt;/li&gt;
&lt;li&gt;source zephyr/zephyr-env.sh&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549480?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 01:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fb00341-9ea3-42d0-9851-150d096763d8</guid><dc:creator>DKC</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(.venv) luser@zephyrbuild:~/cbs$ west build -p always -b nrf52840dk/nrf52840 zephyr/samples/sysbuild/with_mcuboot --sysbuild
-- west build: making build dir /home/luser/cbs/build pristine
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /home/luser/cbs/.venv/bin/python3 (found suitable version &amp;quot;3.10.12&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/luser/.cache/zephyr
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
Parsing /home/luser/cbs/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;/home/luser/cbs/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;/home/luser/cbs/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/luser/cbs/build/_sysbuild/autoconf.h&amp;#39;
--
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: /home/luser/cbs/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.22.1
-- Found Python3: /home/luser/cbs/.venv/bin/python (found suitable version &amp;quot;3.10.12&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/luser/.cache/zephyr
-- Zephyr version: 4.1.99 (/home/luser/cbs/zephyr)
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.17.4 (/home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4)
-- Found toolchain: zephyr 0.17.4 (/home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4)
-- Found Dtc: /home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.7.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
-- Found devicetree overlay: /home/luser/cbs/bootloader/mcuboot/boot/zephyr/app.overlay
-- Generated zephyr.dts: /home/luser/cbs/build/mcuboot/zephyr/zephyr.dts
-- Generated pickled edt: /home/luser/cbs/build/mcuboot/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/luser/cbs/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
Parsing /home/luser/cbs/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration &amp;#39;/home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/bootloader/mcuboot/boot/zephyr/prj.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/bootloader/mcuboot/boot/zephyr/boards/nrf52840dk_nrf52840.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot/sysbuild/mcuboot.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/build/mcuboot/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;/home/luser/cbs/build/mcuboot/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/luser/cbs/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h&amp;#39;
-- Found GnuLd: /home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /home/luser/cbs/nrf/lib/flash_patch/CMakeLists.txt:8 (message):


        ----------------------------------------------------------
        --- WARNING: To maintain the integrity of secure boot, ---
        --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
        ----------------------------------------------------------


-- Using ccache: /usr/bin/ccache
-- Found gen_kobject_list: /home/luser/cbs/zephyr/scripts/build/gen_kobject_list.py
MCUBoot bootloader key file: /home/luser/cbs/bootloader/mcuboot/root-ec-p256.pem
CMake Warning at CMakeLists.txt:369 (message):
  WARNING: Using default MCUboot signing key file, this file is for debug use
  only and is not secure!


Calculated maximum number of sectors: 118
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luser/cbs/build/mcuboot
--
   **********************************
   * Running CMake for with_mcuboot *
   **********************************

Loading Zephyr default modules (Zephyr base).
-- Application: /home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot
-- CMake version: 3.22.1
-- Found Python3: /home/luser/cbs/.venv/bin/python (found suitable version &amp;quot;3.10.12&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/luser/.cache/zephyr
-- Zephyr version: 4.1.99 (/home/luser/cbs/zephyr)
-- Found west (found suitable version &amp;quot;1.4.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52840dk, qualifiers: nrf52840
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.17.4 (/home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4)
-- Found toolchain: zephyr 0.17.4 (/home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4)
-- Found Dtc: /home/luser/zephyrproject/zephyr/zephyr-sdk-0.17.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.7.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
-- Generated zephyr.dts: /home/luser/cbs/build/with_mcuboot/zephyr/zephyr.dts
-- Generated pickled edt: /home/luser/cbs/build/with_mcuboot/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/luser/cbs/build/with_mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h

warning: UPDATEABLE_IMAGE_NUMBER (defined at
/home/luser/cbs/nrf/samples/common/mcumgr_bt_ota_dfu/Kconfig:87, subsys/dfu/Kconfig:96) was assigned
the value &amp;#39;1&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies:
(((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp;
NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT &amp;amp;&amp;amp; IMG_MANAGER)) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER and/or look up
UPDATEABLE_IMAGE_NUMBER in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:55) was assigned the value
&amp;#39;0x2000&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n),
IMG_MANAGER (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE and/or look up
MCUBOOT_UPDATE_FOOTER_SIZE in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.


/home/luser/cbs/build/with_mcuboot/zephyr/.config.sysbuild:20: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MCUBOOT_HARDWARE_DOWNGRADE_PREVENTION
Parsing /home/luser/cbs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/luser/cbs/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;/home/luser/cbs/build/with_mcuboot/zephyr/.config.sysbuild&amp;#39;

error: Aborting due to Kconfig warnings

CMake Error at /home/luser/cbs/zephyr/cmake/modules/kconfig.cmake:377 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/luser/cbs/nrf/cmake/modules/kconfig.cmake:83 (include)
  /home/luser/cbs/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
  CMake configure failed for Zephyr project: with_mcuboot

  Location: /home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:21 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /home/luser/cbs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /home/luser/cbs/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;/home/luser/cbs/build/CMakeFiles/CMakeOutput.log&amp;quot;.
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/luser/cbs/.venv/bin/python3 -B/home/luser/cbs/build -GNinja -DBOARD=nrf52840dk/nrf52840 -S/home/luser/cbs/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/luser/cbs/zephyr/samples/sysbuild/with_mcuboot
(.venv) luser@zephyrbuild:~/cbs$
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build failed due to mcuboot sysbuild</title><link>https://devzone.nordicsemi.com/thread/549421?ContentTypeID=1</link><pubDate>Mon, 22 Sep 2025 11:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c75d7170-379e-40c9-ac74-0d690cdbcd99</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Dunk,&lt;br /&gt;I was not able to reproduce your issue, the sample works just fine on my machine. Could you please share your entire build log?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>