-
Notifications
You must be signed in to change notification settings - Fork 7.3k
boards: nordic: nrf54h20dk iron board MCUBoot support #88298
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
boards: nordic: nrf54h20dk iron board MCUBoot support #88298
Conversation
Hello @nordic-mik7, and thank you very much for your first pull request to the Zephyr project! |
Provide proper adaptions as bootloader ROM offset, flash load offset and dts definitions for the nRF54H20 iron board to make it ready for the MCUBoot bootloader. Signed-off-by: Michal Kozikowski <[email protected]>
4cf4c1e
to
2c20897
Compare
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config SMP_SVR_NRF54H20_SAMPLE | ||
bool | ||
default y if SOC_NRF54H20_CPUAPP | ||
select EXPERIMENTAL | ||
|
||
source "Kconfig.zephyr" |
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.
file to go
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.
It was requested to deliver this sample as experimental.
# If cpusec_cpuapp_ipc node is present in dtc, it automatically enables canonical ZCBOR encoding. | ||
# Canonical ZCBOR encoding needs legacy RC behaviour to work with mcumgr-client and other PC tools. | ||
# When tools are updated, this can be removed. | ||
CONFIG_MCUMGR_SMP_LEGACY_RC_BEHAVIOUR=y |
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.
I don't follow this, this hasn't been a problem with any other board and has not been set for others in years, even when used with that garbage tool does not refer to the go tool. If there is a problem with a tool, report it to the tool author. Gold standard is AuTerm, if it works with that then other tools are broken.
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.
nrf54h20 IPC communication with secdom enforced canonical ZCBOR encoding so far. Canonical ZCBOR is not working with AuTerm unless we use legacy RC codes. This CONFIG is set here to indicate that if we enable IPC node for nrf54h20 in the future, legacy RC behavior must be set.
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.
I have an nrf5340dk here with this sample, CONFIG_ZCBOR_CANONICAL=y
and CONFIG_MCUMGR_SMP_LEGACY_RC_BEHAVIOUR=n
using AuTerm 0.35a and MCUmgr is working perfectly over the UART so if it doesn't work for you on nrf54h20 then would suggest trying an nrf52/nrf53 dev board and if that works, indicates there is an issue with something else
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.
removed it. You are right, it seems that there were some issues related to IPC itself in previous Ironside SDFW. To be investigated, currently IPC with secdom is turned off.
Adding sample configuration for nRF54H20dk 'iron' board. Signed-off-by: Michal Kozikowski <[email protected]>
c83e43b
to
e30da54
Compare
slot0_partition: partition@3c000 { | ||
label = "image-0"; | ||
reg = <0x3c000 DT_SIZE_K(400)>; | ||
}; | ||
|
||
slot1_partition: partition@6E000 { | ||
label = "image-1"; | ||
reg = <0x6E000 DT_SIZE_K(400)>; |
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.
I guess the size of these partitions was supposed to be 200 kB, not 400.
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 in the new PR
Please do not review this PR, write your comments in #88576 The author of this PR is out of office, and we do not have write access to his fork. |
Provide proper adaptions as bootloader ROM offset, flash load
offset and dts definitions for the nRF54H20 iron board to make it
ready for the MCUBoot bootloader.
Adding smp_svr sample configuration for nRF54H20dk 'iron' board.