<?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>Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118194/apply-dts-board_variant-overlay-specific-to-mcuboot-instead-of-generic-one-from-board-root</link><description>NCS 2.7, nrf52840, sysbuild with mcuboot 
 2 applications: manufacturing and customer 
 3 board variants implemented through revisions in boards.yml. Board revisions enable additional components and configuration which will be used in the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jan 2025 17:13:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118194/apply-dts-board_variant-overlay-specific-to-mcuboot-instead-of-generic-one-from-board-root" /><item><title>RE: Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/thread/519631?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 17:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ba7cded-9ce3-45b3-b9f2-004137fef744</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;My apologies, I&amp;#39;m testing today and indeed it is picking up files from mcuboot.&amp;nbsp; I suspect I was looking at the devicetree generation for the app, or perhpas I had some other file that was breaking it.&amp;nbsp; I believe I have it working in a way I can use now, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/thread/519622?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 16:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:450c4a62-0dd8-4158-a2e7-c22772361f29</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;It would have been much easier if you could have shared with me your example application folder, but I&amp;#39;ll try to get one working with sysbuild and a mcuboot application folder.&amp;nbsp; I&amp;#39;m a bit unsure about what should go into sysbuild/mcuboot/prj.conf...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/thread/519466?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 08:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffe1b592-b7d8-472b-b648-7c32bfee10c7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you share a minimal project to reproduce this? When I tested revision 0.14.0 of the nRF9160 DK with the Hello World sample, the overlay in sysbuild/mcuboot/boards was correctly picked up and used.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/thread/519376?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 16:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d530e97-7ca1-4f16-8a42-bc076bcf6910</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;Unfortunately that did not work.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Loading Zephyr default modules (Zephyr base).
-- Using NCS Toolchain 2.6.20240605.885759407716 for building. (C:/ncs/toolchains/ce3b5ff664/cmake)
-- Found Python3: C:/ncs/toolchains/ce3b5ff664/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: D:/Flipperz/flipper_workspace2/zephyr/.cache
-- Zephyr version: 3.6.99 (D:/Flipperz/flipper_workspace2/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: thomas_c, Revision: 6.2.1, qualifiers: nrf52840
-- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/ce3b5ff664/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: D:/Flipperz/flipper_workspace2/app.git/boards/ciye/thomas/thomas_c_nrf52840.dts
-- Found devicetree overlay: D:/Flipperz/flipper_workspace2/app.git/boards/ciye/thomas/thomas_c_6_2_1.overlay
-- Generated zephyr.dts: D:/Flipperz/flipper_workspace2/app.git/mfg_app/build_thomas_c_6_2_1_x/mfg_app/zephyr/zephyr.dts
-- Generated devicetree_generated.h: D:/Flipperz/flipper_workspace2/app.git/mfg_app/build_thomas_c_6_2_1_x/mfg_app/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: D:/Flipperz/flipper_workspace2/app.git/mfg_app/build_thomas_c_6_2_1_x/mfg_app/zephyr/dts.cmake&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Despite having the file sysbuild/mcuboot/boards/thomas_c_nrf52840_6_2_1.overlay&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;antho@Lenny-Laptop MINGW64 /d/Flipperz/flipper_workspace2/app.git/mfg_app (asterisk/mfg_app)
$ find ./ -name &amp;quot;thomas_c*.overlay&amp;quot; -print
./sysbuild/mcuboot/boards/thomas_c_nrf52840_6_2_1.overlay
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/thread/519370?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 16:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2f2be20-9031-4562-8a71-a78bb1ca28ae</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;Thanks this is helpful, I will give it a try today.&lt;/p&gt;
&lt;p&gt;Is this documented somewhere?&amp;nbsp; Is this behavior the same as the app/boards directory?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It would be nice if these boards directories all had the same set of rules applied with a defined order or preference, I feel like I&amp;#39;m constantly forced to guess at the what&amp;nbsp;will work..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apply dts board_variant.overlay specific to mcuboot instead of generic one from board root.</title><link>https://devzone.nordicsemi.com/thread/519351?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 15:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40d61743-4ad0-4a28-b5d5-f51493965d0d</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For board variants, you need to add the board variant to the filename of the MCUboot overlay to select it instead of the overlay from the board directory in this case. For example, if you are using revision 0.14.0 of the nRF9160 DK, the overlays in sysbuild/mcuboot/boards should be named nrf9160dk_nrf9160_0_14_0.overlay,&amp;nbsp;nrf9160dk_nrf9160_ns_0_14_0.overlay, and nrf9160dk_nrf52840_0_14_0.overlay.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>