-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: nrf: app_dev: bootloaders_dfu: Add sysbuild image ID docs #18152
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:more detailsGithub labels
List of changed files detected by CI (0)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
@greg-fer would you be able to have a quick once over of this documentation? I've disabled the doc build as it requires a previous PR to be merged for the Kconfig options |
def9e51
to
eef2e3d
Compare
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits, incl. for cross-linking.
|
||
.. _sysbuild_assigned_images_ids_mcuboot_only: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. _sysbuild_assigned_images_ids_mcuboot_only: | |
See :ref:`configuring_kconfig` for information about how to configure these options. | |
.. _sysbuild_assigned_images_ids_mcuboot_only: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
This setup supports features like shared secondary slots. | ||
Currently, MCUboot uses this capability to update itself, which can be enabled with secure boot. | ||
MCUboot then shares the main application's secondary slot for firmware updates. | ||
However, it directly transfers the update to the designated MCUboot image slot, which is then booted by |NSIB|. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, it directly transfers the update to the designated MCUboot image slot, which is then booted by |NSIB|. | |
However, it directly transfers the update to the designated MCUboot image slot, which is then booted by :ref:`bootloader`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
*********************************** | ||
|
||
When building with sysbuild, the image IDs are provided to the application through Kconfig values and can be used in the code as needed. | ||
These image IDs are also used in |NCS| hooks for tasks such as nRF5340 network core updates, so no additional configuration is required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this an allusion to https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/serial_recovery.html ? Can we link there?
These image IDs are also used in |NCS| hooks for tasks such as nRF5340 network core updates, so no additional configuration is required. | |
These image IDs are also used in |NCS| hooks for various tasks (such as :ref:`nRF5340 network core updates <ug_nrf5340_serial_recovery>`), so no additional configuration is required. |
or maybe to https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/simultaneous_multi_image_dfu_nrf5340.html ? (In such case, the ref is ug_nrf5340_multi_image_dfu
.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed to second link
If the version in the update is lower than the current version, MCUboot will reject the update and not transfer it to the opposing secure boot firmware slot. | ||
|
||
Additionally, make sure to load the correct update image onto the device. | ||
If MCUboot is currently running from the s0 slot, then you must use the s1 update, and if it is running from the s1 slot, then you must use the s0 update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If MCUboot is currently running from the s0 slot, then you must use the s1 update, and if it is running from the s1 slot, then you must use the s0 update. | |
If MCUboot is currently running from the `s0` slot, then you must use the `s1` update, and if it is running from the `s1` slot, then you must use the `s0` update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, assuming these should have been ``
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, correct, ``.
Adds documentation describing this feature Signed-off-by: Jamie McCrae <[email protected]>
Adds documentation describing this feature