<?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>nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113157/nrf_audio-sample-with-fota-enabled-exceeds-ipc_radio-flash-partition</link><description>Hi. 
 I try to build the nrf_audio sample as BIS headset with enabled FOTA and NCS2.7.0 and get the following link error for the ipc_radio image: 
 FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map nrf5340_audio/build/sink-fota/ipc_radio/zephyr/zephyr_pre0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2024 20:25:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113157/nrf_audio-sample-with-fota-enabled-exceeds-ipc_radio-flash-partition" /><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/497051?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 20:25:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7de816c3-ab1b-459c-85bd-6706ea6bad22</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Benno Trutmann"]I only need a controller which supports the LE audio broadcast source role. Can I disable all these options except CONFIG_BT_ISO_BROADCASTER? I found no documentation about these options.[/quote]
&lt;p&gt;Yes, you also can build as&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf5340_audio/broadcast_source/README.html#nrf53-audio-broadcast-source-app"&gt;&lt;span&gt;Broadcast source&lt;/span&gt;&lt;/a&gt;. See&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/broadcast_source/Kconfig.defaults#L18"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/broadcast_source/Kconfig.defaults#L18&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Benno Trutmann"]Regarding setting SB_CONFIG_SECURE_BOOT_NETCORE=n: Is then updating the ipc_radio image still possible but updating the b0n image is not possible anymore?[/quote]
&lt;p&gt;It still can update&amp;nbsp;&lt;span&gt;ipc_radio image for the netcore instead of mcuboot.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/496913?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 08:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75dfba97-06e6-40cc-afcf-6a407f172ec5</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;Sorry for the late reply, I was away.&lt;/p&gt;
&lt;p&gt;In &lt;code&gt;sysbuild/ipc_radio/prj_release.conf&lt;/code&gt; I found the following enabled options:&lt;/p&gt;
&lt;p&gt;CONFIG_BT_ISO_PERIPHERAL=y&lt;br /&gt;CONFIG_BT_ISO_CENTRAL=y&lt;br /&gt;CONFIG_BT_ISO_BROADCASTER=y&lt;br /&gt;CONFIG_BT_ISO_SYNC_RECEIVER=y&lt;/p&gt;
&lt;p&gt;I only need a controller which supports the LE audio broadcast source role. Can I disable all these options except CONFIG_BT_ISO_BROADCASTER? I found no documentation about these options.&lt;/p&gt;
&lt;p&gt;Regarding setting SB_CONFIG_SECURE_BOOT_NETCORE=n: Is then updating the ipc_radio image still possible but updating the b0n image is not possible anymore?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/495514?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 21:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e469a35a-39ec-426e-9db0-0b4eddf08b87</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Benno Trutmann"]How can I solve this problem?[/quote]
&lt;p&gt;Try to reduce the size of the application by disabling some features in the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/sysbuild/ipc_radio/prj_release.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/sysbuild/ipc_radio/prj_release.conf&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you need b0n to update mcuboot? If not, you can disable it by&amp;nbsp;SB_CONFIG_SECURE_BOOT_NETCORE in the&amp;nbsp;sysbuild_fota.conf.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/495487?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 16:09:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96b40707-81a0-4973-bef2-a2f3c6009bf0</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;Here is the full build log:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build3.zip"&gt;devzone.nordicsemi.com/.../build3.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/495486?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 16:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d6d4d61-2999-4ca4-a675-1e3ec0f8ed15</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;When the build comes to the signing steps I get the following error:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;FAILED: signed_by_mcuboot_and_b0_ipc_radio.bin C:/nrf5340_audio/build/sink-fota/signed_by_mcuboot_and_b0_ipc_radio.bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;...&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Usage: imgtool.py sign [OPTIONS] INFILE OUTFILE&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Try &amp;#39;imgtool.py sign -h&amp;#39; for help.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Error: Image size (0x37920) + trailer (0x630) exceeds requested size 0x37800&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;How can I solve this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/495485?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 16:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f796196-42fa-4a6d-af50-e3bcbcb2d375</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;I tried to build a FOTA variant now with a nrf5340_audio/sysbuild/ipc_radio/prj_fota.conf copied from prj_release.conf with the following disabled:&lt;br /&gt;&lt;br /&gt;CONFIG_DEBUG=n&lt;br /&gt;CONFIG_ASSERT=n&lt;br /&gt;CONFIG_STACK_USAGE=n&lt;br /&gt;CONFIG_THREAD_MONITOR=n&lt;br /&gt;CONFIG_SERIAL=n&lt;br /&gt;CONFIG_CONSOLE=n&lt;br /&gt;CONFIG_PRINTK=n&lt;br /&gt;CONFIG_UART_CONSOLE=n&lt;br /&gt;CONFIG_BOOT_BANNER=n&lt;br /&gt;CONFIG_NCS_BOOT_BANNER=n&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With that config I managed to link the ipc_radio image, but only in a tiny margin:&lt;br /&gt;&lt;code&gt;Memory region&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Size&amp;nbsp; Region Size&amp;nbsp; %age Used&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLASH:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 226592 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 222 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99.68%&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 55652 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 64 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84.92%&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Is there more I can disable? I fear for the future, when the softdevice controller grows only a little in size then there is no space anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/495484?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 16:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4baa2e71-3dbf-42da-b8b5-1a155265d732</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;My reply is not accepted by the system, I always get &amp;quot;An error occurred. Please try again or contact your administrator.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/495433?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 13:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed069f74-c1a8-4220-b47b-2a5b119bd24f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;We don&amp;#39;t think this will work due to locking granularity in nRF5340 devices (the &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/spu.html"&gt;SPU&lt;/a&gt; flash regions are 16kb each). The&amp;nbsp;SPU also controls write protection, and b0n needs to be write-protected to be immutable.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/494980?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2024 08:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44263ac-1a3d-48d1-bef8-c614381e2228</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;1. Why is reducing the b0n partition not a good solution?&lt;/p&gt;
&lt;p&gt;2. I tried a &lt;code&gt;nrf5340_audio/sysbuild/b0n/prj_fota.conf&lt;/code&gt; with set &lt;code&gt;CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x6800&lt;/code&gt; already. It had no effect on the size of the allocated b0n partition.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/494905?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 21:00:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78637d26-3859-41c1-9a4d-2b69525cd2b0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can create a prj_fota.conf under&amp;nbsp;nrf5340_audio\sysbuild\b0n to include&amp;nbsp;&lt;span&gt;CONFIG_PM_PARTITION_SIZE_B0_IMAGE, but I don&amp;#39;t think that is a good solution and will not recommend that.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/494713?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 06:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bab7140-ad96-47ba-9f69-aa12840a2f71</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;But I would rather like to reduce the b0n partition. How can I do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/494637?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 16:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a74436eb-ed3b-420d-98b7-cbe327bbc369</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could&amp;nbsp;&lt;span dir="ltr"&gt;duplicate &lt;a title="https://github.com/nrfconnect/sdk-nrf/tree/v2.7.0/applications/nrf5340_audio/sysbuild" href="https://github.com/nrfconnect/sdk-nrf/tree/v2.7.0/applications/nrf5340_audio/sysbuild" rel="noopener noreferrer" target="_blank"&gt;sysbuild&lt;/a&gt;/&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/sysbuild/ipc_radio/prj_release.conf" href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/sysbuild/ipc_radio/prj_release.conf" rel="noopener noreferrer" target="_blank"&gt;prj_release.conf&lt;/a&gt; as prj_fota.conf and&amp;nbsp;disable part of the features to reduce the the softdevice controller size. You can refer to&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/prj_release.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/prj_release.conf&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/494610?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 14:05:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a35c048c-2f5b-4def-9fba-48af7c7294a0</guid><dc:creator>Benno Trutmann</dc:creator><description>&lt;p&gt;Hi Amanda.&lt;/p&gt;
&lt;p&gt;I used the west command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ west build -d build/test -p -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild -- -DFILE_SUFFIX=fota -DEXTRA_CONF_FILE=broadcast_sink.conf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;whereas &lt;code&gt;broadcast_sink.conf&lt;/code&gt; contains the following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;CONFIG_TRANSPORT_BIS=y&lt;/code&gt;&lt;br /&gt;&lt;code&gt;CONFIG_AUDIO_DEV=1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Here is the build log:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4807.build.zip"&gt;devzone.nordicsemi.com/.../4807.build.zip&lt;/a&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_audio sample with FOTA enabled exceeds ipc_radio FLASH partition</title><link>https://devzone.nordicsemi.com/thread/494597?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 13:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caba2a3e-1906-4b3e-a50e-6ef816e6bde4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you build for the release version:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;-DFILE_SUFFIX=release?&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;How do you&amp;nbsp;&lt;span&gt;build the nrf_audio sample as BIS headset with enabled FOTA? Using command or VS code? Could you provide the command or build configuration of VS code? Please provide more clear information to help reproduce the issue.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>