<?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 child/parent to sysbuild - SECURE BOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113652/migrating-child-parent-to-sysbuild---secure-boot</link><description>Hello, 
 I&amp;#39;m migrating my project from using child/parent to sysbuild ( simple Hello world code, and using MCUBOOT + NSIB ). 
 The first error i faced when moving to use sysbuild (when adding SB_CONFIG_SECURE_BOOT_APPCORE) was - 
 I understand that the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2024 21:18:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113652/migrating-child-parent-to-sysbuild---secure-boot" /><item><title>RE: Migrating child/parent to sysbuild - SECURE BOOT</title><link>https://devzone.nordicsemi.com/thread/498135?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 21:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d179080d-e614-4bb2-b534-f0fe1192ae33</guid><dc:creator>Hieu</dc:creator><description>[quote user="Udi Vahaba"]&lt;p&gt;Sorry that it took me while to respond.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Could you please check if CONFIG_CONSOLE is enabled in any of your images?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Actually there is a weird thing, in my prj.conf it is set to CONFIG_CONSOLE=n&amp;nbsp;&lt;strong&gt;but&lt;/strong&gt; in the .config file (build/b0/zephyr/.config) it is set to&amp;nbsp;&lt;span&gt;CONFIG_CONSOLE=y.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;any idea why?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Your prj.conf configures&amp;nbsp;your application. b0 is a different image, so&amp;nbsp;the configuration in prj.conf isn&amp;#39;t applied to it. See this documentation page:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/build/sysbuild/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/build/sysbuild/index.html&lt;/a&gt;.&lt;/p&gt;
[quote user=""]2. Do i use the correct folder structure and relevant files on the sysbuild?[/quote]
&lt;p&gt;Regarding your folder structure, I don&amp;#39;t think sysbuid/mcuboot/mcuboot.conf has any effect.&amp;nbsp;&lt;br /&gt;The idea of having it is also rather redundant, as you are reconfiguring the entire project Kconfig file with sysbuild/mcuboot/prj.conf.&lt;/p&gt;
&lt;p&gt;What you want to do is merge your previous child_image/mcuboot.conf content into sysbuid/mcuboot/prj.conf, or do not have the sysbuild/mcuboot directory, and only use sysbuild/mcuboot.conf.&lt;/p&gt;
&lt;p&gt;This is also discussed in the documentation page linked above.&lt;/p&gt;
&lt;p&gt;Other than that, the project structure looks OK.&lt;/p&gt;
&lt;p&gt;As for your configuration file content, unfortunately, I cannot provide any guarantee regarding the config file contents. &lt;br /&gt;I can see that you have made modifications to MCUboot configuration, and all I can say is that the configurations that are changed are meant to be configurable.&lt;br /&gt;Whether that achieve what you want or not is, however, entirely up to your own project requirements&amp;nbsp;and verifying them&amp;nbsp;require proper testing.&lt;/p&gt;
&lt;p&gt;The same can be said for&amp;nbsp;&amp;lt;application&amp;gt;/prj.conf. It depends largely on your project requirements and requires testing.&lt;br /&gt;I&amp;nbsp;have some doubt about whether you need to set CONFIG_BUILD_WITH_TFM on your own when using sysbuild. I have raised this internally and follow-up when I get a reply.&lt;br /&gt;The MCUmgr configurations for the image management group, which is relevant to DFU, look OK.&lt;br /&gt;&lt;br /&gt;Other than that,&amp;nbsp;no comment about the other changes compared to your pre-sysbuild prj.conf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating child/parent to sysbuild - SECURE BOOT</title><link>https://devzone.nordicsemi.com/thread/497723?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 06:19:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad64c793-6061-45d6-8936-9eb92887d63d</guid><dc:creator>Udi Vahaba</dc:creator><description>&lt;p&gt;Sorry that it took me while to respond.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Could you please check if CONFIG_CONSOLE is enabled in any of your images?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Actually there is a weird thing, in my prj.conf it is set to CONFIG_CONSOLE=n&amp;nbsp;&lt;strong&gt;but&lt;/strong&gt; in the .config file (build/b0/zephyr/.config) it is set to&amp;nbsp;&lt;span&gt;CONFIG_CONSOLE=y.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;any idea why?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating child/parent to sysbuild - SECURE BOOT</title><link>https://devzone.nordicsemi.com/thread/497214?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 15:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10bf185d-8c89-48ec-a3c0-e68384c88d5e</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Udi,&lt;/p&gt;
[quote user=""]1. Why do i have to set the property zephyr,chosen with sysbuild where in child/parent i could build without it(exactly same bsp)?[/quote]
&lt;p&gt;Could you please check if CONFIG_CONSOLE is enabled in any of your images?&lt;/p&gt;
[quote user=""]&lt;strong&gt;Please note that in my BSP there is no use for console with uart. uart0 and uart1 are used with external&lt;/strong&gt; &lt;strong&gt;modules and i can&amp;#39;t let the console throw data into the uart lines (will it happen if zepyr,console = &amp;amp;uart0 is selected?)&lt;/strong&gt;.[/quote]
&lt;p&gt;The console is used for a few things. printk() will output to the console unless configured otherwise, for example.&lt;/p&gt;
&lt;p&gt;If you require that nothing is output to the console, then you might want to pay attention to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/kconfig/index.html#CONFIG_BOOT_BANNER"&gt;the boot banner&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But of course, the safest method is to just disable console altogether.&lt;/p&gt;
[quote user=""]2. Do i use the correct folder structure and relevant files on the sysbuild?[/quote]
&lt;p&gt;I will come back later for this. Unfortunately, I am new to sysbuild myself.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating child/parent to sysbuild - SECURE BOOT</title><link>https://devzone.nordicsemi.com/thread/497046?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 18:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2096ebe9-ba93-450e-9757-0a4a39c7eba9</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Udi,&lt;/p&gt;
&lt;p&gt;Let me investigate this and follow up with you in a few days.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>