<?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>Main loop bootup delay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96371/main-loop-bootup-delay</link><description>Hi, 
 We have a project using nrf 2.2.0 with the following features enabled: 
 
 BLE 
 Openthread 
 Lwm2m 
 PWM + timers 
 Console 
 External storage for OTA over lwm2m 
 MCUBoot 
 
 I mention the above as our problem is that on bootup, we get a constant</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Feb 2023 16:09:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96371/main-loop-bootup-delay" /><item><title>RE: Main loop bootup delay</title><link>https://devzone.nordicsemi.com/thread/408364?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 16:09:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d429b8-b540-42cf-82c7-80c8fcb0edfc</guid><dc:creator>motters</dc:creator><description>&lt;p&gt;The problem is you need to stop Zephyr configuring&amp;nbsp;networking on boot up; if your controlling or deferring when networking is enabled.&lt;/p&gt;
&lt;p&gt;Add the following to your conf and there will be no boot delay.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Thread network is not going to connect on bootup, hence if we enable this
# we will end up waiting for a timeout set in CONFIG_NET_CONFIG_INIT_TIMEOUT
CONFIG_NET_CONFIG_AUTO_INIT=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps someone :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Main loop bootup delay</title><link>https://devzone.nordicsemi.com/thread/408296?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 13:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a55c9bb8-7919-4956-8015-4c90f28348c7</guid><dc:creator>motters</dc:creator><description>&lt;p&gt;Think i&amp;#39;ve found the problem after months of waiting 30 seconds on boot up haha.&lt;/p&gt;
&lt;p&gt;When you enable openthread but have&amp;nbsp;CONFIG_OPENTHREAD_MANUAL_START=y; you get a timeout condition on network config init. I guess because there is no network at that time.&lt;/p&gt;
&lt;p&gt;Changing &amp;quot;&lt;span&gt;CONFIG_NET_CONFIG_INIT_TIMEOUT=4&lt;/span&gt;&amp;quot; will give you a 4 second delay on boot up instead of the default 30.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I dont think this is a solution so to speak, as surely the network should not attempt to config if the app code is controlling when openthread is enabled.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll update on progress.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>