<?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>Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118562/migrating-a-zephyr-project-from-child-parent-build-system-to-sysbuild-first-steps-and-questions</link><description>I&amp;#39;m trying to migrate my project from the child/parent build system to the new sysbuild system in Zephyr, and I&amp;#39;m finding it a bit unclear. I came across a helpful post that partially explains how to structure the new project. Let me start by showing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Mar 2025 03:18:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118562/migrating-a-zephyr-project-from-child-parent-build-system-to-sysbuild-first-steps-and-questions" /><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/529669?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 03:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20dbc184-0e13-422a-ac8f-064bc31cde6d</guid><dc:creator>lincoln-lu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/thoraz"&gt;Andrea Verdecchia&lt;/a&gt;&amp;nbsp;&lt;br /&gt;How did you resove the strange warnnings below? I encounter this same waning but do not know how to fix it. Thanks&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: HW_STACK_PROTECTION (defined at
C:/ncs/v2.9.0/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:283) was assigned the
value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &amp;amp;&amp;amp;
SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
HW_STACK_PROTECTION 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.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/522195?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 13:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a914d5ba-3456-4e8f-ab37-9018f31c24f5</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Ok. Now it all seems to make sense. Thank you very much for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521938?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 13:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e73beb02-7337-460e-ab93-c32728d0c29f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am also helping with this ticket.&lt;/p&gt;
[quote user="Thoraz"]I keep getting errors.[/quote]
&lt;p&gt;You are likely getting errors due to two things:&lt;/p&gt;
&lt;p&gt;1. Sysbuild has a check to check if sysbuild/mcuboot/prj.conf exist if you got sysbuild/mcuboot/boards/whatever.conf. So you &lt;strong&gt;must&lt;/strong&gt; have sysbuild/mcuboot/prj.conf to use board files for MCUboot.&lt;/p&gt;
&lt;p&gt;2. Overwriting means that MCUboots p&lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/main/boot/zephyr/prj.conf"&gt;rj.conf&lt;/a&gt; is overwritten. Removing default configuration from MCUboot has a tendency to make MCUboot fail. I recommend copying all the contents from p&lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/main/boot/zephyr/prj.conf"&gt;rj.conf&lt;/a&gt; to sysbuild/mcuboot/prj.conf.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521621?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 18:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0385aec-5f35-4cb9-838e-c5de27f4a3f7</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;I have found that if I use the standard &lt;strong&gt;Overlaying&lt;/strong&gt; approach&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;├── sysbuild
    └── boards
        └── board_rev1.conf
        └── board_rev1.overlay
        └── board_rev2.conf
        └── board_rev2.overlay
    └── mcuboot.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can compile without any issues. However, if I adopt the &lt;strong&gt;Overwriting&lt;/strong&gt; approach&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;├── sysbuild
    └── mcuboot
        └── boards
            └── board_rev1.conf
            └── board_rev1.overlay
            └── board_rev2.conf
            └── board_rev2.overlay
        └── prj.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I keep getting errors.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Overlaying&lt;/strong&gt; approach is fine for me, but I would like to understand:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Why does the &lt;strong&gt;Overwriting&lt;/strong&gt; approach keep failing? Does the &lt;code&gt;prj.conf&lt;/code&gt; file necessarily need to contain specific configurations?&lt;/li&gt;
&lt;li&gt;When using the &lt;strong&gt;Overlaying&lt;/strong&gt; approach, is it correct to place the &lt;code&gt;.conf&lt;/code&gt; and &lt;code&gt;.overlay&lt;/code&gt; files for the different board revisions inside a &lt;code&gt;boards/&lt;/code&gt; folder?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521582?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 14:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0cbb6d5-ac76-4aba-9a61-3ecdc7a32c37</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;You&amp;#39;re absolutely right, my bad. I was a bit too quick and missed the extra folder in the path you explicitly wrote out...&lt;/p&gt;
&lt;p&gt;Moving back a bit then. Yes, it is as you say. mcuboot.conf must be directly under sysbuild/ (&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/sysbuild-configuration/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/sysbuild-configuration/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You should be able to add the custom board structure as you say, but I believe we both need to go through the contents of that lesson step by step to better clarify any misconceptions w.r.t adding separate board configurations in sysbuild. I will get back to you tomorrow.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521566?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 14:05:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:190c9193-808a-4980-a9bf-fd845229567a</guid><dc:creator>Andrea Verdecchia</dc:creator><description>[quote userid="107683" url="~/f/nordic-q-a/118562/migrating-a-zephyr-project-from-child-parent-build-system-to-sysbuild-first-steps-and-questions/521558"]As you can see from this sample showcasing how to set up mcuboot and external flash over SPI for the 54L15DK it does not give any build errors:[/quote]
&lt;p&gt;If I compile the project as it is, I don&amp;#39;t get any errors. But if I change the location of the &lt;code&gt;mcuboot.conf&lt;/code&gt; and &lt;code&gt;mcuboot.overlay&lt;/code&gt; files to &lt;code&gt;/sysbuild/mcuboot/&lt;/code&gt;, then I get an error. Apparently, &lt;code&gt;mcuboot.conf&lt;/code&gt; must be under &lt;code&gt;sysbuild/&lt;/code&gt; and not in its subdirectories.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521558?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 13:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0664d59a-d85d-4eed-985f-cdbc32211f74</guid><dc:creator>AHaug</dc:creator><description>[quote user="Thoraz"]I hadn&amp;#39;t seen the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/exercise-1-configuring-extra-image/"&gt;tutorial&lt;/a&gt; on the academy. Things are much clearer now.[/quote]
&lt;p&gt;No worries, lesson 8 and parts of lesson 9 was as mentioned updated just now this week :)&lt;/p&gt;
[quote user="Thoraz"]If I have[/quote]
&lt;p&gt;This is interesting. As you can see from this sample showcasing how to set up mcuboot and external flash over SPI for the 54L15DK it does not give any build errors:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2_5F00_spi.zip"&gt;devzone.nordicsemi.com/.../2_5F00_spi.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Are you able to compile this? If you&amp;#39;re using command line, it should build out of the box for NCS v2.9.0 with &amp;#39;&lt;em&gt;west build -b nrf54l15dk/nrf54l15/cpuapp --sysbuild&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If it compiles, have you made sure to enable MCUboot in your sysbuild.conf through SB_CONFIG_BOOTLOADER_MCUBOOT=y?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521536?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 12:03:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02fed2f4-d15f-42c1-9483-32de280cf2f3</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Thank you very much for your suggestions. I hadn&amp;#39;t seen the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/exercise-1-configuring-extra-image/"&gt;tutorial&lt;/a&gt; on the academy. Things are much clearer now.&lt;/p&gt;
&lt;p&gt;After that, I tried creating a project from scratch, also creating a new board from scratch, then gradually adding the configurations of my project to be converted, and finally adding all the application sources.&lt;/p&gt;
&lt;p&gt;Everything works fine until I start having issues with the creation of the MCUBoot configuration file. Apparently, the configuration file, which I named &lt;strong&gt;mcuboot.conf&lt;/strong&gt;, must necessarily be in the &lt;strong&gt;sysbuild/&lt;/strong&gt; folder and nowhere else. Even if I create an empty folder named &lt;strong&gt;mcuboot/&lt;/strong&gt;, I get a compilation error.&lt;/p&gt;
&lt;p&gt;The different cases are as follows:&lt;/p&gt;
&lt;p&gt;If I have&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;├── sysbuild
    └── mcuboot.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is&amp;nbsp;ok!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I have&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;├── sysbuild
    └── mcuboot
        └── mcuboot.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it&amp;nbsp;give me error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: gravity_sensor, qualifiers: nrf52840
Parsing C:/ncs/v2.9.0/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;C:/Users/Andrea/Desktop/sysbuild_test/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;c:/Users/Andrea/Desktop/sysbuild_test/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;C:/Users/Andrea/Desktop/sysbuild_test/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/Users/Andrea/Desktop/sysbuild_test/build/_sysbuild/autoconf.h&amp;#39;
-- 
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: gravity_sensor, qualifiers: nrf52840
CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/extensions.cmake:2923 (message):
  No prj.conf file(s) was found in the
  C:/Users/Andrea/Desktop/sysbuild_test/sysbuild/mcuboot folder(s), please
  read the Zephyr documentation on application development.
Call Stack (most recent call first):
  C:/ncs/v2.9.0/zephyr/cmake/modules/configuration_files.cmake:40 (zephyr_file)
  C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot

  Location: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;I have&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;├── sysbuild
    └── mcuboot/
    └── mcuboot.conf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;it&lt;/span&gt;&lt;span&gt;&amp;nbsp;give me error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: gravity_sensor, qualifiers: nrf52840
Parsing C:/ncs/v2.9.0/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;C:/Users/Andrea/Desktop/sysbuild_test/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;c:/Users/Andrea/Desktop/sysbuild_test/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;C:/Users/Andrea/Desktop/sysbuild_test/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/Users/Andrea/Desktop/sysbuild_test/build/_sysbuild/autoconf.h&amp;#39;
-- 
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: gravity_sensor, qualifiers: nrf52840
CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/extensions.cmake:2923 (message):
  No prj.conf file(s) was found in the
  C:/Users/Andrea/Desktop/sysbuild_test/sysbuild/mcuboot folder(s), please
  read the Zephyr documentation on application development.
Call Stack (most recent call first):
  C:/ncs/v2.9.0/zephyr/cmake/modules/configuration_files.cmake:40 (zephyr_file)
  C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot

  Location: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Did I miss something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521332?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 14:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46320337-676d-4b9b-8e39-37a376349da3</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Looks like the individual board configuration is working as it should. Issue should not be there. See&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/nrf5340/extxip_smp_svr/sysbuild/mcuboot"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/samples/nrf5340/extxip_smp_svr/sysbuild/mcuboot &lt;/a&gt;as an example.&lt;/p&gt;
&lt;p&gt;This loops back to having to individually go through the configurations to isolate the issue.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521314?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 13:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:108dfc33-cbc2-42e6-9c4d-efb80e6bab7b</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just FYI, the sysbuild course was just released on the academy pages&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="AHaug"] but I need to check up on the individual configuration for sysbuild for the various boards. I believe that there might be some limitations there.[/quote]
&lt;p&gt;It does look like we don&amp;#39;t support individual sysbuild configurations for the various boards as of now, meaning that sysbuild/mcuboot/boards does not work in sysbuild as of now. This worked with child_image because Key was an MCUboot-specific options, but now it is a sysbuild option.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you strip down the port of your application even further and see if you&amp;#39;re able to make it work without sysbuild specific board configurations, i.e this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1738676125060v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also started an ongoing internal discussion w.r.t this is possible, but if you&amp;#39;re able to get the latest suggestion compiling and flashing (and to whatever extent it will be running), then the root case is indeed this.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521187?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 19:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5161e26a-bbf0-4ebc-ad9a-fb66143990ca</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Thank you very much for your advice. I checked the links you sent me and reviewed everything. In my opinion, everything should be configured correctly, but I keep getting errors/warnings regarding some configurations in &lt;code&gt;prj.conf&lt;/code&gt; and in the file generated by the nRF Connect script for VS Code when creating the board from scratch: &lt;code&gt;CONFIG_ARM_MPU&lt;/code&gt;, &lt;code&gt;CONFIG_HW_STACK_PROTECTION&lt;/code&gt;, &lt;code&gt;CONFIG_FLASH_MAP&lt;/code&gt;, etc.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: HW_STACK_PROTECTION (defined at
C:/ncs/v2.9.0/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:283) was assigned the
value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &amp;amp;&amp;amp;
SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
HW_STACK_PROTECTION 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: ARM_MPU (defined at C:/ncs/v2.9.0/zephyr/arch/arm64\core\cortex_r/Kconfig:10,
C:/ncs/v2.9.0/zephyr/arch/arm\core\mpu/Kconfig:8) was assigned the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;.
Check these unsatisfied dependencies: ((CPU_HAS_MPU &amp;amp;&amp;amp; CPU_AARCH64_CORTEX_R &amp;amp;&amp;amp; ARM64) ||
(CPU_HAS_MPU &amp;amp;&amp;amp; ARM)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ARM_MPU
and/or look up ARM_MPU 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: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:
 - MCUBOOT_DEVICE_SETTINGS (defined at C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/Kconfig:995), with value y, direct dependencies y (value: y)

error: Aborting due to Kconfig warnings&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you want to take a look, I have stripped my project down to the bare minimum, keeping only the structure and configuration files intact. I am trying to use NCS 2.9.0. You can find the project &lt;a href="https://github.com/AndrewLivesChaos/test_repo.git"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521124?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 13:36:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a01027ce-88f9-4ac5-83a0-2c16e96fcf31</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]From what I understand, the first step is to delete the &lt;code&gt;child_image&lt;/code&gt; folder, create a &lt;code&gt;sysbuild&lt;/code&gt; folder, and add a &lt;code&gt;sysbuild.conf&lt;/code&gt; file. But what exactly should I include in these two elements, and what modifications, if any, do I need to make to &lt;code&gt;prj.conf&lt;/code&gt; and &lt;code&gt;CMakeLists.txt&lt;/code&gt;?[/quote]
&lt;p&gt;Yes, this is correct. You&amp;#39;ll need to move the child_image overlays and configurations present within the child_image folder and place them within the sysbuild folder which contains the new &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/companion_components.html"&gt;companion components&lt;/a&gt;, which replaces the child_image system.&lt;/p&gt;
&lt;p&gt;In addition, you need to consult the sysbuild migration guide&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html&lt;/a&gt;&amp;nbsp;and the three links here:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_adding_sysbuild.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_adding_sysbuild.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/sysbuild_image_ids.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/sysbuild_image_ids.html&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/config_and_build/sysbuild/sysbuild_forced_options.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/config_and_build/sysbuild/sysbuild_forced_options.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The last link, sysbuild forced options, shows a list of which options that were previously defined within prj.conf that you now need to add to sysbuild.conf. If these configurations are present within prj.conf but not within sysbuild.conf they will be ignored.&lt;/p&gt;
[quote user=""]project as follows:[/quote]
&lt;p&gt;The structure looks good to me at first glance, but I need to check up on the individual configuration for sysbuild for the various boards. I believe that there might be some limitations there.&lt;/p&gt;
[quote user="Thoraz"]I reanalyzed the issue and noticed that the error might have been due to using HWMv1 instead of HWMv2. So,[/quote]
&lt;p&gt;Yup, that is correct! As the warning states:&amp;nbsp;&lt;br /&gt; &lt;pre class="ui-code" data-mode="text"&gt;---------------------------------------------------------------------
--- WARNING: Functionality to describe SoCs in HWMv1 is ---
--- deprecated and should be replaced with HWMv2, including ---
--- boards. HWMv1 SoCs support remains only to ease the migration ---
--- of out-of-tree SoCs and associated boards. It will not be ---
--- possible to build using HWMv1 SoCs at all in future releases. ---
---------------------------------------------------------------------&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a guide for how to migrate here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.htm"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.htm&lt;/a&gt;l&amp;nbsp;&lt;/p&gt;
[quote user="Thoraz"]I copied the new files into my project, but during compilation, I still encounter errors, different from the previous ones:[/quote]
&lt;p&gt;The next set of warnings seems to be Kconfig related, i.e &amp;quot;&lt;em&gt;error: Aborting due to Kconfig warnings&amp;quot;&lt;/em&gt;. This is most likely due to either changes in the configurations in between the upmerge you&amp;#39;ve done, or that there is something that should&amp;#39;ve been a SB_Configuration instead of a prj.configuration. It will require some manual labour from you to go through the migration notes for the respective versions you&amp;#39;ve gone through.&lt;/p&gt;
&lt;p&gt;Let me know if this is enough to get you pointed, and I&amp;#39;ll get back to you w.r.t the multiple sysbuild/board configurations.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating a Zephyr Project from Child/Parent Build System to Sysbuild: First Steps and Questions</title><link>https://devzone.nordicsemi.com/thread/521034?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 08:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94948865-3acd-4172-8b4d-16621c89ad66</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;I reanalyzed the issue and noticed that the error might have been due to using HWMv1 instead of HWMv2. So, I created a new board using the nRF Connect tool in VS Code, which generated the files according to the new protocol.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;boards
└── my_company
    └── my_board.overlay
    └── my_board
        ├── board.cmake
        ├── board.yml
        ├── my_board_defconfig
        ├── my_board-pinctrl.dtsi
        ├── my_board.dts
        ├── my_board.yml
        ├── Kcongig.defconfif
        ├── Kcongig.my_board
        └── pre_dt_noard.cmake&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I copied the new files into my project, but during compilation, I still encounter errors, different from the previous ones:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: gravity_sensor, qualifiers: nrf52840
Parsing C:/ncs/v2.9.0/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;C:/Users/Andrea/Desktop/gravity_sensor/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;c:/Users/Andrea/Desktop/gravity_sensor/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;C:/Users/Andrea/Desktop/gravity_sensor/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/Users/Andrea/Desktop/gravity_sensor/build/_sysbuild/autoconf.h&amp;#39;
-- 
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: gravity_sensor, qualifiers: nrf52840
-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/Users/Andrea/Desktop/gravity_sensor/boards/ardesia_technologies/gravity_sensor/gravity_sensor.dts
-- Generated zephyr.dts: C:/Users/Andrea/Desktop/gravity_sensor/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/Andrea/Desktop/gravity_sensor/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/Andrea/Desktop/gravity_sensor/build/mcuboot/zephyr/dts.cmake

warning: HW_STACK_PROTECTION (defined at
C:/ncs/v2.9.0/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:283) was assigned the
value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &amp;amp;&amp;amp;
SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
HW_STACK_PROTECTION 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: ARM_MPU (defined at C:/ncs/v2.9.0/zephyr/arch/arm64\core\cortex_r/Kconfig:10,
C:/ncs/v2.9.0/zephyr/arch/arm\core\mpu/Kconfig:8) was assigned the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;.
Check these unsatisfied dependencies: ((CPU_HAS_MPU &amp;amp;&amp;amp; CPU_AARCH64_CORTEX_R &amp;amp;&amp;amp; ARM64) ||
(CPU_HAS_MPU &amp;amp;&amp;amp; ARM)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ARM_MPU
and/or look up ARM_MPU 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: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:
 - MCUBOOT_DEVICE_SETTINGS (defined at C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/Kconfig:995), with value y, direct dependencies y (value: y)
Parsing C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration &amp;#39;C:/Users/Andrea/Desktop/gravity_sensor/boards/ardesia_technologies/gravity_sensor/gravity_sensor_defconfig&amp;#39;
Merged configuration &amp;#39;C:/Users/Andrea/Desktop/gravity_sensor/sysbuild/mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/Users/Andrea/Desktop/gravity_sensor/build/mcuboot/zephyr/.config.sysbuild&amp;#39;

error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.9.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot

  Location: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/Users/Andrea/Desktop/gravity_sensor/build/CMakeFiles/CMakeOutput.log&amp;quot;.
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe &amp;#39;-Bc:\Users\Andrea\Desktop\gravity_sensor\build&amp;#39; -GNinja -DBOARD=gravity_sensor/nrf52840 -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/andrea/desktop/gravity_sensor &amp;#39;-SC:\ncs\v2.9.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=c:\Users\Andrea\Desktop\gravity_sensor&amp;#39;

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>