<?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>BootLoader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69351/bootloader</link><description>hi， 
 I have a puzzle in the BootLoader project 
 I&amp;#39;m not particularly familiar with the mechanics of this BootLoader 
 I try to run bootloar in nrf5340dk_nrf5340_cpuapp,use this setup to create the project 
 
 I found a problem where I printed out an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Dec 2020 14:25:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69351/bootloader" /><item><title>RE: BootLoader</title><link>https://devzone.nordicsemi.com/thread/284567?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 14:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a10633a-f241-4ed8-a051-859388fb517d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;If you want to use the immutable bootloader, the simplest (and intended) approach is to simply set &lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_SECURE_BOOT.html#cmdoption-arg-CONFIG_SECURE_BOOT"&gt;&lt;code&gt;&lt;span&gt;CONFIG_SECURE_BOOT&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;=y in the prj.conf of your sample, e.g. zephyr/samples/hello_world/prj.conf. Then the generated build output for the bootloader should get placed into &lt;em&gt;hello_world/&amp;lt;build folder&amp;gt;/bootloder/ &lt;/em&gt;(I think)&lt;em&gt;&amp;nbsp;&lt;/em&gt;and the file&amp;nbsp;&lt;em&gt;hello_world/&amp;lt;build folder&amp;gt;/zephyr/merged.hex&amp;nbsp;&lt;/em&gt;contains both the application and the bootloader image. If you build it this way, all the partitions/memory placement&amp;nbsp;and&amp;nbsp;signing will get handled automatically and you don&amp;#39;t have to do anything regarding this.&lt;/p&gt;
&lt;p&gt;Try this and see if you&amp;#39;re able to make it work. Check if you get the following log from the hello_world sample:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Attempting to boot from address 0x8000.

Verifying signature against key 0.

Signature verified.

Booting (0x8000).&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you for some reason want to build the immutable bootlader separately, please tell me and I can look into the issues you described in your initial post.&lt;/p&gt;
&lt;p&gt;By the way, if you want to have the possibility to update your main application, you should use MCUBoot in addition, which can be done by setting CONFIG_BOOTLOADER_MCUBOOT=y in the prj.conf&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BootLoader</title><link>https://devzone.nordicsemi.com/thread/284321?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 12:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c8d5a1-b95b-4ce8-8c0b-23626092a5d4</guid><dc:creator>Flying Spaghetti Monsterism</dc:creator><description>&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;By the way, I used NRF5340PDK PCA10095, version 0.8.0&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;Although I don&amp;#39;t think it has anything to do with hardware&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>