<?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>Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115266/enabling-mcu-boot</link><description>Hi, 
 I have a project which has been working fine but since adding some date/time functionality, when I enable MCU_BOOT, I get linker errors that I can&amp;#39;t seem to get to the bottom of. 
 If I set the following in prj.conf: 
 
 CONFIG_BOOTLOADER_MCUBOOT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Oct 2024 08:53:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115266/enabling-mcu-boot" /><item><title>RE: Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/thread/505677?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:53:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:981636a6-655f-4ea2-aa39-81dc2647d195</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;No worries!&lt;/p&gt;
&lt;p&gt;Thanks for updating the thread, Nick. Glad to hear that the porting to HWMv2 is going along without too many issues.&lt;/p&gt;
&lt;p&gt;Feel free to contact us if you run into any issues while updating or have any more questions!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/thread/505624?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 16:38:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2139c2d8-5c29-4ce8-a9df-5a05bf43d9dc</guid><dc:creator>NickH</dc:creator><description>&lt;p&gt;Oops - my bad - I set to&amp;nbsp;&lt;span&gt;CONFIG_DATE_TIME=y rather than&amp;nbsp;CONFIG_DATE_TIME=n...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;User error:-)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/thread/505623?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 16:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:521f7401-311a-4823-8cd8-ba7bb173af97</guid><dc:creator>NickH</dc:creator><description>&lt;p&gt;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am in the process of upgrading to to NCS v2.7.0 and have migrated my board to&amp;nbsp;HWMv2 but I hit the same&amp;nbsp;&lt;/span&gt;issue as above when compiling using MCUBOOT.&lt;br /&gt;i.e. with MCUBOOT disabled via:&lt;br /&gt;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;br /&gt;I can compile and link ok.&lt;/p&gt;
&lt;p&gt;With&amp;nbsp;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span&gt;=y, I get:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/nrf/lib/date_time/lib..__nrf__lib__date_time.a(date_time_core.c.obj): in function `k_work_delayable_is_pending&amp;#39;:
/opt/nordic/ncs/v2.7.0/zephyr/include/zephyr/kernel.h:4064: undefined reference to `k_work_delayable_busy_get&amp;#39;
/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/nrf/lib/date_time/lib..__nrf__lib__date_time.a(date_time_core.c.obj): in function `date_time_core_schedule_update&amp;#39;:
/opt/nordic/ncs/v2.7.0/nrf/lib/date_time/date_time_core.c:72: undefined reference to `k_work_reschedule_for_queue&amp;#39;
/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/nrf/lib/date_time/lib..__nrf__lib__date_time.a(date_time_core.c.obj): in function `date_time_core_init&amp;#39;:
/opt/nordic/ncs/v2.7.0/nrf/lib/date_time/date_time_core.c:152: undefined reference to `k_work_queue_start&amp;#39;
collect2: error: ld returned 1 exit status&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I added&amp;nbsp;CONFIG_DATE_TIME=n to the MCBOOT prj.conf but this time it makes no difference.&lt;br /&gt;Any clues as to what might be the issue?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/thread/505464?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 07:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd993e2a-74e5-4b5e-a2c6-26a5d25950fd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Glad to hear, Nick!&lt;/p&gt;
&lt;p&gt;Please feel free to contact us if you have any questions or issues.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope you have a wonderful day!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/thread/505426?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 18:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1899a2b3-c403-4851-bc0f-aeb950b92fec</guid><dc:creator>NickH</dc:creator><description>&lt;p&gt;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;Thanks! &amp;nbsp;This fixed the compilation issue.&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling MCU BOOT</title><link>https://devzone.nordicsemi.com/thread/505176?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 12:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:803b4a16-6e1d-48f4-8adc-81a1b540043a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you including the DATE_TIME library in your mcuboot?&lt;/p&gt;
&lt;p&gt;You can check this by searching in the build/mcuboot/zephyr/.config file and see if it is set.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To n-select this in mcuboot, you can create &amp;quot;child_images/mcuboot.conf&amp;quot; and set the config CONFIG_DATE_TIME=n.&lt;/p&gt;
&lt;p&gt;Remember to remove your build folder and regenerate the project when adding/removing configuration files.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and report back if you still see this issue?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>