<?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>How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100341/how-to-prevent-boot-info-being-sent-out-over-uart-on-initial-start-up</link><description>When I have the UART connected to Terminal, and I reboot my hardware, I get all the following information sent out: 
 *** Booting Zephyr OS build v3.2.99-ncs1 *** I: Starting bootloader I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Jun 2023 07:48:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100341/how-to-prevent-boot-info-being-sent-out-over-uart-on-initial-start-up" /><item><title>RE: How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/thread/428624?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 07:48:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29ac507f-6e3b-4c52-84d6-22381f8f19b9</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We need to turn of logging from the bootloader also. To do that do the following:&lt;/p&gt;
&lt;p&gt;If you select&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685605498655v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And then in go into your project view in VScode, into the child_image folder and create a file named for example mcuboot.conf&lt;/p&gt;
&lt;p&gt;and add the following line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And then do a prestine build, we should not see any logs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also verify this by checking the out .config file in the output for mcuboot&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685605725880v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685605714032v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/thread/428619?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 07:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c3bd609-3192-4ab0-b8af-92271895d79f</guid><dc:creator>Mike Austin (LPI)</dc:creator><description>&lt;p&gt;Just remembered that I have a child image (running mcuboot) but I&amp;#39;ve just added:&lt;/p&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_BANNER&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;to my mcuboot.proj and&amp;nbsp;that&amp;#39;s now preventing the boot banner from being sent out over UART&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Mike&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/thread/428612?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 07:09:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072b8c32-3f15-41e6-ba4e-287a64484370</guid><dc:creator>Mike Austin (LPI)</dc:creator><description>&lt;p&gt;I&amp;#39;ve got it set up as follows:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Logging&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_BANNER&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/thread/428606?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 06:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e46fc0a-4a17-4b67-b5df-2ef164c89380</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is your log level set to?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/thread/428604?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 06:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:752bb2a2-65c7-4fac-8876-3c50f891f1b6</guid><dc:creator>Mike Austin (LPI)</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;Do I stick that in my prj.conf file?&amp;nbsp; I did try that, and its still printing out the boot info via the UART&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent boot info being sent out over UART on initial start up</title><link>https://devzone.nordicsemi.com/thread/428598?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 05:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f3fc1a-0822-4766-bea1-aea708914f22</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use the Kconfig symbol&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_BOOT_BANNER&lt;/span&gt;&lt;span&gt;&amp;nbsp;to =n to remove the Zephyr boot message from the startup.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Runar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>