<?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>Some Questions regarding the usage of MCUboot as bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109744/some-questions-regarding-the-usage-of-mcuboot-as-bootloader</link><description>Hello, 
 I have the task to integrate MCUboot in a project that will be deployed on a nrf5340. I&amp;#39;ve enabled MCUboot using KKonfig option `CONFIG_BOOTLOADER_MCUBOOT`. According to this documentation https://developer.nordicsemi.com/nRF_Connect_SDK/doc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2024 14:13:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109744/some-questions-regarding-the-usage-of-mcuboot-as-bootloader" /><item><title>RE: Some Questions regarding the usage of MCUboot as bootloader</title><link>https://devzone.nordicsemi.com/thread/476299?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 14:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06f363be-2475-47d8-a939-5e4fa50be469</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;that answers my questions already.&lt;/p&gt;
&lt;p&gt;Have nice Easter holidays!&lt;/p&gt;
&lt;p&gt;Torsten&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some Questions regarding the usage of MCUboot as bootloader</title><link>https://devzone.nordicsemi.com/thread/476296?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 14:10:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be8c3de7-6bbd-4f59-932f-0d7fd0792eba</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Due to the Easter holidays in Norway, we are less staffed than usual.&amp;nbsp;Y&lt;span&gt;ou can expect a delayed answer.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You could enable the mcoboot by adding &amp;quot;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT=y&amp;quot; in the prj.conf,&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_SECURE_BOOT is&amp;nbsp;&lt;span&gt;for nRF Secure Immutable Bootloader as an immutable bootloader.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;See&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/bootloaders/bootloader.html#ug-bootloader"&gt;&lt;span&gt;Secure bootloader chain&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/bootloaders/bootloader_adding.html#ug-bootloader-adding"&gt;&lt;span&gt;Adding a bootloader chain&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;for more information.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]what are the exact names of the partitions that I have to define, to have a partition for MCUboot, the application and a firmware update?[/quote]
&lt;p&gt;It&amp;#39;s unnecessary to define those partitions manually. The partition manager would generate &lt;span&gt;partitions.yml automatically without pm_static.yml.&amp;nbsp;&lt;/span&gt;You could duplicate the&amp;nbsp;partitions.yml under the build folder, rename it to&amp;nbsp;&lt;span&gt;pm_static.yml, and put it under the app for the next build.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user=""]There are some options to configure MCUBoot itself. For example `MCUBOOT_VALIDATE_PRIMARY_SLOT`, which is also mentioned in the Nordic-Zephry documentation. Where does this configurations have to be applied? Are they CMake cache variables or are they KKonfig options?[/quote]
&lt;p&gt;You could create &lt;span&gt;child_image/&lt;/span&gt;mcuboot.conf to set the mcuboot configs.&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>