<?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>Partition map migratation from ncs 2.2 -&amp;gt; ncs 2.7 (sysbuild)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116090/partition-map-migratation-from-ncs-2-2---ncs-2-7-sysbuild</link><description>Hi, 
 I have a firmware running on ncs 2.2 with mcuboot and tfm which I&amp;#39;m in the process of upgrading to ncs 2.7 with sysbuild. 
 I currently have a problem converting the pm_static.yml file from ncs 2.2 to ncs 2.7. 
 The first problem that occurred was</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Nov 2024 13:50:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116090/partition-map-migratation-from-ncs-2-2---ncs-2-7-sysbuild" /><item><title>RE: Partition map migratation from ncs 2.2 -&gt; ncs 2.7 (sysbuild)</title><link>https://devzone.nordicsemi.com/thread/509254?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 13:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19bbf0e8-8b9c-4985-aa6d-91af08821f45</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;For anyone interested this was the solution&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4370.pm_5F00_static.txt"&gt;devzone.nordicsemi.com/.../4370.pm_5F00_static.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition map migratation from ncs 2.2 -&gt; ncs 2.7 (sysbuild)</title><link>https://devzone.nordicsemi.com/thread/509139?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 14:41:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81b98f12-6c92-40bc-ab72-6bcb4dd7a6e9</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;I tried to add the following code before the warning line&lt;/p&gt;
&lt;p&gt;struct image_header *out_hdr = boot_img_hdr(state, 0);&lt;/p&gt;
&lt;p&gt;uint32_t load_addr = out_hdr-&amp;gt;ih_load_addr;&lt;/p&gt;
&lt;p&gt;BOOT_LOG_INF(&amp;quot;Image header: %d&amp;quot;, load_addr);&lt;/p&gt;
&lt;p&gt;And the output was&lt;/p&gt;
&lt;p&gt;I: Image header: 165481 &amp;lt;-- 0x28669&lt;br /&gt; W: Failed reading image headers; Image=0&lt;/p&gt;
&lt;p&gt;Should image header be placed from the very first byte of the application?&lt;/p&gt;
&lt;p&gt;&lt;span data-teams="true"&gt;&lt;span class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition map migratation from ncs 2.2 -&gt; ncs 2.7 (sysbuild)</title><link>https://devzone.nordicsemi.com/thread/509111?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 13:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3323285d-e65c-43d1-9cb9-822ea274a6c0</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;Update: Setting&amp;nbsp;&lt;span&gt;SB_CONFIG_SECURE_BOOT_APPCORE&lt;/span&gt;&lt;span&gt;=y in&amp;nbsp;sysbuild.conf helped&amp;nbsp;including the &lt;span class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;nordic secure immutable bootloader however mcuboot still seems to fail at boot&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***&lt;br /&gt;*** Using Zephyr OS v3.6.99-100befc70c74 ***&lt;br /&gt;Attempting to boot slot 0.&lt;br /&gt;Attempting to boot from address 0x8200.&lt;br /&gt;Verifying signature against key 0.&lt;br /&gt;Hash: 0x77...5f&lt;br /&gt;Firmware signature verified.&lt;br /&gt;Firmware version 1&lt;br /&gt;Setting monotonic counter (version: 1, slot: 0)&lt;br /&gt;*** Booting MCUboot v2.1.0-dev-daf2946a0f07 ***&lt;br /&gt;*** Using nRF Connect SDK v2.7.0-5cb85570ca43 ***&lt;br /&gt;*** Using Zephyr OS v3.6.99-100befc70c74 ***&lt;br /&gt;I: Starting bootloader&lt;br /&gt;I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Boot source: none&lt;br /&gt;W: Failed reading image headers; Image=0&lt;br /&gt;I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Boot source: none&lt;br /&gt;I: Image index: 1, Swap type: none&lt;br /&gt;E: Image in the primary slot is not valid!&lt;br /&gt;E: Unable to find bootable image&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;One thing i notice is that if I add the merged.hex to nRF Desktop Programmer it looks like the app layer is placed from 0x27e00 and I assume it would be from 0x28000&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>