You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/nrf/app_dev/device_guides/nrf54l/fota_update.rst
+21-10Lines changed: 21 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,12 @@ FOTA updates on nRF54L Series devices
13
13
You can also use FOTA updates to replace the application.
14
14
See the :ref:`app_dfu` page for general Device Firmware Update (DFU) information, such as supported methods for sending and receiving updates on the device.
15
15
Currently, FOTA updates are supported only for the application core.
16
+
For more information about introducing immutable MCUboot bootloader, refer to :ref:`ug_bootloader_adding_sysbuild_immutable_mcuboot`.
16
17
17
18
.. note::
18
-
For more information about introducing immutable MCUboot bootloader, refer to :ref:`ug_bootloader_adding_sysbuild_immutable_mcuboot`.
19
+
The nRF54L SoC's support hardware Key Management Unit (KMU), designed to provide authentication keys for DFU purposes.
20
+
Ensure you complete the :ref:`KMU provisioning<ug_nrf54l_developing_provision_kmu>` during your device's DFU setup with KMU enabled.
21
+
Failing to do so may prevent your application from booting properly.
19
22
20
23
.. fota_upgrades_intro_end
21
24
@@ -139,20 +142,20 @@ In |NCS|, you can build and program the :zephyr:code-sample:`smp-svr` as any oth
139
142
140
143
.. tabs::
141
144
142
-
.. group-tab:: nRF54L15 SoCs
145
+
.. group-tab:: nRF54L SoCs
143
146
144
147
.. parsed-literal::
145
148
:class: highlight
146
149
147
-
west build -b *board_name*/nrf54l15/cpuapp -- -DEXTRA_CONF_FILE=overlay-bt.conf
150
+
west build -b *board_target* -- -DEXTRA_CONF_FILE=overlay-bt.conf
148
151
west flash
149
152
150
-
.. group-tab:: nRF54L15 SoCs with HW cryptography support
153
+
.. group-tab:: nRF54L SoCs with HW cryptography support
151
154
152
155
.. parsed-literal::
153
156
:class: highlight
154
157
155
-
west build -b *board_name*/nrf54l15/cpuapp -- -DEXTRA_CONF_FILE=overlay-bt.conf -DSB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=y -DSB_CONFIG_BOOT_SIGNATURE_TYPE_PURE=y -Dmcuboot_CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000 -DSB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=y
158
+
west build -b *board_target* -- -DEXTRA_CONF_FILE=overlay-bt.conf -DSB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=y -DSB_CONFIG_BOOT_SIGNATURE_TYPE_PURE=y -Dmcuboot_CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000 -DSB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=y
156
159
west flash
157
160
158
161
@@ -164,6 +167,15 @@ In |NCS|, you can build and program the :zephyr:code-sample:`smp-svr` as any oth
164
167
west build -b nrf54l15dk/nrf54l15/cpuapp -T sample.mcumgr.smp_svr.bt.nrf54l15dk.ext_flash
165
168
west flash
166
169
170
+
.. group-tab:: nRF54l15 DK with SPI Flash as update image (DTS partitioning)
171
+
172
+
To build with the DTS partitioning, run the following command:
173
+
174
+
.. parsed-literal::
175
+
:class: highlight
176
+
177
+
west build -b nrf54l15dk/nrf54l15/cpuapp -d build/smp_svr_54l_d zephyr/samples/subsys/mgmt/mcumgr/smp_svr -T sample.mcumgr.smp_svr.bt.nrf54l15dk.ext_flash.pure_dts
178
+
167
179
Make sure to indicate the :file:`overlay-bt.conf` overlay configuration for the Bluetooth transport like in the command example.
168
180
This configuration was carefully selected to achieve the maximum possible throughput of the FOTA update transport over Bluetooth with the help of the following features:
169
181
@@ -193,13 +205,12 @@ Build configuration additions for MCUboot in the direct-xip mode
193
205
FOTA updates are also supported when MCUboot is in the direct-xip mode.
194
206
In this mode, the MCUboot bootloader boots an image directly from a given slot, so the swap operation is not needed.
195
207
It can be used either with or without the revert mechanism support.
196
-
For more information about the direct-xip mode and the revert mechanism support, go to the Equal slots (direct-xip) section on the :doc:`mcuboot:design` page.
197
-
198
-
.. note::
199
-
direct-xip mode can not be combined with the image encryption.
208
+
For more information about the direct-xip mode and the revert mechanism support, go to the *Equal slots* (direct-xip) section on the :doc:`mcuboot:design` page.
200
209
201
210
.. note::
202
-
building a project with direct-xip for nRF54l15 SoC target mode requires static partition manager file for partitioning, see known issues.
211
+
Direct-xip mode cannot be combined with image encryption.
212
+
In addition, when building a project with direct-xip for the nRF54L SoC targets, a static partition manager file is required for partitioning.
213
+
See NCSDK-30119 issue on the :ref:`known_issues` page.
203
214
204
215
To use MCUboot in the direct-xip mode together with FOTA updates, do the following:
0 commit comments