<?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>Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106520/add-dfu-support-to-custom-hci_rpmsg-netcore-image</link><description>I have separate app core enabled with DFU and secure boot. I added all that support with help from this ticket 
 DFU for net core works fine.But it only works with an hci_rpmsg included automatically. How can I include the netcore DFU support in modified</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Feb 2024 10:28:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106520/add-dfu-support-to-custom-hci_rpmsg-netcore-image" /><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/468555?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 10:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97bcc3f4-1517-4354-a0f8-846c43934c4b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I finally got an answer from our developers, and it seems that we do not yet have sysbuild support for what you are trying to do at this time. I am sorry that I mentioned Sysbuild earlier in this ticket, but I thought it was more ready than it is.&lt;/p&gt;
&lt;p&gt;If you want to know more about when Sysbuild is ready for what you are trying to do, you can &lt;a href="https://www.nordicsemi.com/About-us/Contact-Us"&gt;contact&lt;/a&gt; the Nordic Sales representative for your region.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/467298?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 08:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:438be4f8-0744-4d25-a864-9f4d1997c4ba</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Thanks for the update. I will wait for your response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/467293?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 06:47:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae833b0f-f747-4687-958b-cf30a89aece8</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;This is where I am at:&lt;/p&gt;
&lt;p&gt;Before trying to add b0n to a custom network core image, I thought I should try to enable b0n with the default hci_rpmsg.&lt;br /&gt;However, i got some errors during this that I have unfortunately not been able to resolve yet. I have asked our developers about this, but have yet to hear back from them so I pinged them again today.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/466701?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 09:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae435f56-c482-4986-8be2-f55406be4654</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I am still looking into this, but it is taking some time, as sysbuild is new for us in technical support as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/465879?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 19:13:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e4ed195-ee65-4063-b739-890db73d5af8</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Thanks for the suggestion.&lt;br /&gt;&lt;br /&gt;adding following configurations in sysbuild.conf I haven enabled the MCUboot, b0 and s1_image for app core.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;SB_CONFIG_BOOTLOADER_MCUBOOT=y
SB_CONFIG_SECURE_BOOT=y
SB_CONFIG_SECURE_BOOT_APPCORE=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I need to enable the bon&amp;nbsp;and enable the netcore DFU update as well. But I can not add the following configuration in sysbuild.conf.&amp;nbsp;&lt;br /&gt;Where should I place these configuration?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SB_CONFIG_SECURE_BOOT_NETCORE=y
SB_CONFIG_NETCORE_APP_UPDATE=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also looking at the Kconfig.dfu of sysbuild , If I need a DFU package for netcore I need to include the hci_rpmsg. Which will include the sample hci_rpmsg project. How can I enable this feature and use the custom hci_rpmsg?&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;config DFU_MULTI_IMAGE_PACKAGE_NET
	bool &amp;quot;Network core update&amp;quot;
	depends on SUPPORT_NETCORE
	depends on !NETCORE_NONE
	depends on !NETCORE_EMPTY
	depends on SECURE_BOOT_NETCORE&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/465030?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 12:06:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5165520-6ad5-435f-9f84-72df5952d1dd</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]Putting them in programmer it looks like images are not correct.[/quote]
&lt;p&gt;How so?&lt;/p&gt;
[quote user="Dilawar Ali"]In file &amp;quot;build/hrdfu/zephyr/.config&amp;quot; the MCUBOOT bootloader config is not set. Whereas it is defined in prj.conf. Also the partition table generated in build folder donot contain mcuboot_primary or mcuboot_primary_1.[/quote]
&lt;p&gt;To enable mcuboot for a sysbuild project, you must set SB_CONFIG_BOOTLOADER_MCUBOOT in sysbuild.conf. &lt;br /&gt;You should not set mcuboot for the other images, I don&amp;#39;t think.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/464910?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2024 18:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1c7c4fb-3278-4368-b1bb-c81ed02480f2</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Using the method &amp;quot;&lt;span&gt;Other way is to do multicore compilation using sysbuild, as described in the sampe &amp;quot;/multicore/Hello_World&amp;quot;&lt;br /&gt;&lt;br /&gt;Only two images are generated &amp;quot;merged.hex&amp;quot; and &amp;quot;merged_CPUNET.hex&amp;quot;. Putting them in programmer it looks like images are not correct.&lt;br /&gt;&lt;br /&gt;In file &amp;quot;build/hrdfu/zephyr/.config&amp;quot; the MCUBOOT bootloader config is not set. Whereas it is defined in prj.conf. Also the partition table generated in build folder donot contain mcuboot_primary or mcuboot_primary_1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/464387?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 12:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd9ab567-5d22-4eaf-ad1e-1f63c6fbaeae</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]One option is I can compile app core and modified hci_rpmsg separately and then use imagetool to generate the images.&lt;br /&gt;[/quote]
&lt;p&gt;Yep&lt;/p&gt;
[quote user="Dilawar Ali"]Other way is to do multicore compilation using sysbuild, as described in the sampe &amp;quot;/multicore/Hello_World&amp;quot;.[/quote]
&lt;p&gt;Also correct.&lt;/p&gt;
[quote user="Dilawar Ali"]The project &amp;quot;hrdfu&amp;quot; I shared I tried to use sysbuild for multicore compilation. But it failed to compile app core image.[/quote]
&lt;p&gt;But you can build and flash it using nrfjprog no? Or do you miss the hex file as well?&lt;/p&gt;
[quote user="Dilawar Ali"]My aim is to keep both app and netcore in a same project. If the build system can generate dfu packages for me, that will be awesome.&amp;nbsp;[/quote]
&lt;p&gt;I asked our developers, and as far as I heard, we do not support automatic generating of DFU images for sysbuild yet. I would imagine that this is on a todo list somewhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/464361?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 11:10:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4297d2c8-9c43-4b7e-b2e9-84e26c276d48</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Things getting bit confusing. Here is what I understand, Please correct me if I am wrong.&lt;br /&gt;&lt;br /&gt;One option is I can compile app core and modified hci_rpmsg separately and then use imagetool to generate the images.&lt;br /&gt;&lt;br /&gt;Other way is to do multicore compilation using sysbuild, as described in the sampe &amp;quot;/multicore/Hello_World&amp;quot;.&lt;br /&gt;The project &amp;quot;hrdfu&amp;quot; I shared I tried to use sysbuild for multicore compilation. But it failed to compile app core image.&lt;br /&gt;&lt;br /&gt;My aim is to keep both app and netcore in a same project. If the build system can generate dfu packages for me, that will be awesome.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/464320?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 08:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413e5617-d36e-473e-921d-5b293fa3b4a2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]sorry, the content in hrdfu.zip should be extracted in a folder &amp;quot;hrdfu&amp;quot;. The app core project name is &amp;quot;hrdfu&amp;quot;[/quote]
&lt;p&gt;Yes, I was able to figure that out yesterday, after adding a comment asking about it. That is why I deleted the comment. Sorry if that was confusing.&lt;/p&gt;
&lt;p&gt;Anyhow. We are moving from &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/multi_image.html"&gt;Multi-image builds&lt;/a&gt; to sysbuild.&lt;br /&gt;The prior is part of the nRF repos, and automatically generates DFU files for you.&lt;/p&gt;
&lt;p&gt;The latte is part of the Zephyr repos, which has no such functionality. So you will have to generate your own DFU files with &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/imgtool.html"&gt;imagetool&lt;/a&gt; sign&amp;quot;.&lt;/p&gt;
&lt;p&gt;To get an idea on how to use this command, you can build an non-sysbuild project with DFU files with &amp;quot;west -vvv build ...&amp;quot; to see the commands our build system uses to generate the update files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/464087?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 08:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4357f01-024a-43d4-8926-cbd976031805</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;sorry, the content in hrdfu.zip should be extracted in a folder &amp;quot;hrdfu&amp;quot;. The app core project name is &amp;quot;hrdfu&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/464038?ContentTypeID=1</link><pubDate>Sat, 13 Jan 2024 08:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d0b2629-e3c7-4184-90ef-abead9b97975</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Please use the sdk version 2.5.1&lt;br /&gt;I have attached the boards files. I am using ublox evk nora-B10. No other build flags are required.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ubx_5F00_evknorab10_5F00_nrf5340.zip"&gt;devzone.nordicsemi.com/.../ubx_5F00_evknorab10_5F00_nrf5340.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/463973?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 12:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ab4b3b1-7ef1-4e10-98c7-e57f39042a95</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]hrdfu.zip[/quote]
&lt;p&gt;I will test to build the sample and see if I can see what goes wrong.&lt;br /&gt;Which version of the SDK should I build for?&lt;br /&gt;Which board should I build for?&lt;br /&gt;Should I include any other build options?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/463866?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 20:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d112f0-f85b-4025-a530-5aa1b3662f66</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Apologies for late reply. Got busy with other urgent tasks.&lt;br /&gt;&lt;br /&gt;I created a sample project added the multicore compilation part as per defined in sample hellow world. Used the dynamic partition management.&lt;br /&gt;&lt;br /&gt;I see there is a line in sysbuild.cmake &amp;quot;&lt;span&gt;set&lt;/span&gt;&lt;span&gt;(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION hci_rpmsg &lt;/span&gt;&lt;span&gt;CACHE&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;INTERNAL&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&amp;quot;&lt;br /&gt;So using this line we should use dynamic partition management. &lt;br /&gt;&lt;br /&gt;Afterall the project compiles with no error but only netcore image is generated. No app core image is found.&lt;br /&gt;&lt;br /&gt;Here is the partitions.yml content generated after build. I do not see any mcuboot_primary,&amp;nbsp;&lt;span&gt;mcuboot_primary_1,&amp;nbsp;mcuboot_secondary, or&amp;nbsp;mcuboot_primary_1.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x0
  end_address: 0x100000
  region: flash_primary
  size: 0x100000
external_flash:
  address: 0x0
  end_address: 0x800000
  region: external_flash
  size: 0x800000
otp:
  address: 0xff8100
  end_address: 0xff83fc
  region: otp
  size: 0x2fc
rpmsg_nrf53_sram:
  address: 0x20070100
  end_address: 0x20080000
  placement:
    before:
    - end
  region: sram_primary
  size: 0xff00
sram_primary:
  address: 0x20000000
  end_address: 0x20070100
  region: sram_primary
  size: 0x70100
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Why the main appcore project fails to compile? I have attached the project files for details as well. Using hci_rpmsg sample this project works fine for app core and net core DFU.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hrdfu.zip"&gt;devzone.nordicsemi.com/.../hrdfu.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461856?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 14:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f070fb28-6839-47bc-8153-f193462dc24f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]That is why we require to define pm_static.yml file.[/quote]
&lt;p&gt;It is not required for this.&lt;/p&gt;
&lt;p&gt;The Partition Manager will automatically partition secondary mcuboot images to external flash if you have &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions"&gt;enabled external flash for the partition manager&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The same is true for file systems.&lt;/p&gt;
&lt;p&gt;You can check this from the partiton report either from VS Code -&amp;gt; Memory Report or &amp;quot;west build -t partition_manager_report&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461845?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 14:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3da38269-2518-471c-bbbe-2dbc1a430e54</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;As show below in static file. We have an external flash. We want to place both app core and net core DFU images in external flash instead of the internal. We do not have enough space in internal. Also a region in external flash is dedicated for the file system to store the configuration and other data.&lt;/p&gt;
&lt;p&gt;That is why we require to define pm_static.yml file.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;external_flash:
  address: 0x0
  end_address: 0x200000
  region: external_flash
  size: 0x200000

mcuboot_secondary:
  address: 0x0
  device: mx25r16
  region: external_flash
  size: 0x100000

mcuboot_secondary_1:
  address: 0x100000
  device: mx25r16
  end_address: 0x13FFFF
  region: external_flash
  size: 0x40000

littlefs_storage:
  address: 0x140000
  device: mx25r16
  region: external_flash
  size: 0xC0000

mcuboot_primary_1:
  address: 0x0
  device: flash_ctrl
  end_address: 0x40000
  region: ram_flash
  size: 0x40000

ram_flash:
  address: 0x40000
  end_address: 0x40000
  region: ram_flash
  size: 0x0&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461811?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 12:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4756d4e-575a-4b15-9776-1fc8a95434e4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]multiple things [/quote]
&lt;p&gt;Please elaborate&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461777?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 11:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c1d44b7-b5ae-4fb0-8618-e64ab0c85f43</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;I compiled the multicore sample, and that was without the static partitioning. That worked fine.&lt;br /&gt;However I can not remove the static partitioning as there are multiple things dependent on it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461705?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 07:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c418d747-52eb-4a07-97a6-b6e71658e601</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Do you get the same error if you do not use static partitioning? (aka not have pm_static.yml)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461497?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2023 19:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4874b5ec-77ac-4b77-9a52-4c2e393884cd</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;I was not able to add the complete logs in code section. I have updated the above comment with error logs.&lt;br /&gt;&lt;br /&gt;Sorry my mistake,&amp;nbsp; mcuboot_primary is not in external flash. mcuboot_secondary and mcuboot_secondary_1 is in external flash.&lt;br /&gt;&lt;br /&gt;Complete build logs are available here:&amp;nbsp;&lt;a href="https://drive.google.com/file/d/1c9x6k_6xRPY5mrgrVODx276-YZKQ8OIk/view?usp=sharing"&gt;https://drive.google.com/file/d/1c9x6k_6xRPY5mrgrVODx276-YZKQ8OIk/view?usp=sharing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I was not able to attach log file here.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;mcuboot_secondary:&lt;br /&gt; address: 0x0&lt;br /&gt; device: mx25r16&lt;br /&gt; region: external_flash&lt;br /&gt; size: 0x100000&lt;/p&gt;
&lt;p&gt;mcuboot_secondary_1:&lt;br /&gt; address: 0x100000&lt;br /&gt; device: mx25r16&lt;br /&gt; end_address: 0x13FFFF&lt;br /&gt; region: external_flash&lt;br /&gt; size: 0x40000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461413?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2023 10:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a926b18-e1c5-4c84-a52f-face81231cbe</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Please use &amp;quot;Insert-&amp;gt; Code&amp;quot; to paste long logs. It makes the case &lt;strong&gt;a lot&lt;/strong&gt; easier to read. You can also edit previous comments.&lt;/p&gt;
&lt;p&gt;Did you say that you put mcuboot_primary into external flash? This is where the app lives, and can not be moved entirely to external flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/461336?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 18:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fcc169f-90f3-44c5-9fe4-79fe34a1f8f5</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;Best approach for us is to use the multicore with sysbuild. I have added the configurations as per the sample. But I am facing compilation issues because we have static partitions defined where the mcuboot_primary and mcuboot_secondary both are placed in&amp;nbsp; the external flash.&lt;br /&gt;&lt;br /&gt;here is the pm_static_&amp;lt;board name&amp;gt;.yml&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;external_flash:
  address: 0x0
  end_address: 0x200000
  region: external_flash
  size: 0x200000

mcuboot_secondary:
  address: 0x0
  device: mx25r16
  region: external_flash
  size: 0x100000

mcuboot_secondary_1:
  address: 0x100000
  device: mx25r16
  end_address: 0x13FFFF
  region: external_flash
  size: 0x40000

littlefs_storage:
  address: 0x140000
  device: mx25r16
  region: external_flash
  size: 0xC0000

mcuboot_primary_1:
  address: 0x0
  device: flash_ctrl
  end_address: 0x40000
  region: ram_flash
  size: 0x40000

ram_flash:
  address: 0x40000
  end_address: 0x40000
  region: ram_flash
  size: 0x0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Compile output is:\&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;In file included from C:/ncs/v2.5.0/zephyr/include/zephyr/storage/flash_map.h:275,
                 from C:/ncs/v2.5.0/zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/src/zephyr_img_mgmt.c:10:
C:/ncs/v2.5.0/zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/src/zephyr_img_mgmt.c: In function &amp;#39;img_mgmt_flash_area_id&amp;#39;:
C:/ncs/v2.5.0/nrf/include/flash_map_pm.h:43:22: error: &amp;#39;PM_mcuboot_primary_ID&amp;#39; undeclared (first use in this function); did you mean &amp;#39;PM_mcuboot_secondary_ID&amp;#39;?
   43 | #define PM_ID(label) PM_##label##_ID
      |                      ^~~
C:/ncs/v2.5.0/nrf/include/flash_map_pm.h:48:35: note: in expansion of macro &amp;#39;PM_ID&amp;#39;
   48 | #define FIXED_PARTITION_ID(label) PM_ID(label)
      |                                   ^~~~~
C:/ncs/v2.5.0/zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/src/zephyr_img_mgmt.c:135:25: note: in expansion of macro &amp;#39;FIXED_PARTITION_ID&amp;#39;
  135 |                 fa_id = FIXED_PARTITION_ID(SLOT0_PARTITION);
      |                         ^~~~~~~~~~~~~~~~~~
C:/ncs/v2.5.0/nrf/include/flash_map_pm.h:43:22: note: each undeclared identifier is reported only once for each function it appears in
   43 | #define PM_ID(label) PM_##label##_ID
      |                      ^~~
C:/ncs/v2.5.0/nrf/include/flash_map_pm.h:48:35: note: in expansion of macro &amp;#39;PM_ID&amp;#39;
   48 | #define FIXED_PARTITION_ID(label) PM_ID(label)
      |                                   ^~~~~
C:/ncs/v2.5.0/zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/src/zephyr_img_mgmt.c:135:25: note: in expansion of macro &amp;#39;FIXED_PARTITION_ID&amp;#39;
  135 |                 fa_id = FIXED_PARTITION_ID(SLOT0_PARTITION);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/460295?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 08:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c78fa42b-1f61-4584-b501-9c24f9a0a4c9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Dilawar Ali"]Can we include&amp;nbsp;the modified hci_rpmsg&amp;nbsp;as a child image?[/quote]
&lt;p&gt;You can do so, in which case you have some options:&lt;/p&gt;
&lt;p&gt;The easiest solution, although not pretty, is to make changes directly to the nRF Connect SDK, for example by forking the SDK. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases_and_maturity/developing/adding_code.html"&gt;Adding your own code&lt;/a&gt; for some tips on this.&lt;/p&gt;
&lt;p&gt;If you want to add it on a project level, then the solution will depend on which multi-image build tool is used: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/multi_image.html"&gt;Multi-Image Builds&lt;/a&gt; or &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/sysbuild/index.html"&gt;Sysbuild&lt;/a&gt;. Sysbuild will soon replace the multi-image build system we currently use by default, &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/release_notes/connect/2023.6.345.html#sysbuild-support"&gt;ref&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For multi-image builds, I know it has previously been a bit buggy to add a child image to a child image (which is what adding a netcore bootloader would be. In fact, when I search for the previous example we used to showcase this, I can not find it in v2.5.0. Instead, I find the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/multicore/hello_world/README.html"&gt;Multicore sample&lt;/a&gt;, which uses sysbuild.&lt;/p&gt;
&lt;p&gt;So, I would suggest using sysbuild if you want to include the hci_rpmsg with a bootloader automatically. See the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/multicore/hello_world/README.html"&gt;Multicore &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The last option is to do as you have done so far, and build the netboot sample standalone for your project. Then you can build the hci_rpmsg project with &lt;span&gt;&lt;span dir="ltr"&gt;CONFIG_FLASH_LOAD_OFFSET&lt;/span&gt;&lt;/span&gt; to offset the start address with the bootloader size. &lt;br /&gt;In this case, you also need to take care of signing of the network core image for DFU yourself I think.&lt;/p&gt;
&lt;p&gt;Did this help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/459978?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 15:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a32cc76-5344-4761-a142-07cba140e1f7</guid><dc:creator>Dilawar Ali</dc:creator><description>&lt;p&gt;We treat it as separate project. we compile it separate and flash the netcore bin file via Jflash.&lt;br /&gt;Can we include&amp;nbsp;the modified hci_rpmsg&amp;nbsp;as a child image? It will be best case scenario.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add DFU support to custom HCI_RPMSG netcore image</title><link>https://devzone.nordicsemi.com/thread/459919?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 12:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80ba2cd9-d026-47c2-afcd-fd10b1c09ce1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]modified hci_rpmsg project.[/quote]
&lt;p&gt;The answer here depends on how you include the modified hci_rpmsg project into your application.&lt;/p&gt;
&lt;p&gt;What is your method for having a custom image on the network core?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>