-
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
suit: nRF9280 SUIT support #18496
base: main
Are you sure you want to change the base?
suit: nRF9280 SUIT support #18496
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 0d323164a2bd9d0c579bfb9bcf524c249c1fdc60 more detailssdk-nrf:
Github labels
List of changed files detected by CI (27)
Outputs:ToolchainVersion: 342151af73 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
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.
2 comments are optional, rest are required
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. |
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
ce5733a
to
5625d67
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 Publish GitHub Action. |
Memory footprint analysis revealed the following potential issuessample.matter.template.debug[nrf7002dk/nrf5340/cpuapp]: High ROM usage: 912198[B] - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic) Note: This message is automatically posted and updated by the CI (latest/sdk-nrf/PR-18496/45) |
57e182a
to
13bb933
Compare
config/suit/templates/nrf9280/default/v1/app_recovery_envelope_direct.yaml.jinja2
Outdated
Show resolved
Hide resolved
f3dd4ad
to
1643daf
Compare
fc4dd63
to
7f276c1
Compare
7f276c1
to
63692db
Compare
63692db
to
3658d2e
Compare
16405ab
to
6cef595
Compare
default SUIT_STORAGE_LAYOUT_TEST if !SOC_SERIES_NRF54HX | ||
|
||
config SUIT_STORAGE_LAYOUT_NRF54H20 | ||
bool "nRF54H20" | ||
select PSA_WANT_ALG_SHA_256 if SUIT_CRYPTO | ||
|
||
config SUIT_STORAGE_LAYOUT_NRF9280 |
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.
same thing here as the other PR @tomchy
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.
Tried to fix this like @tomchy had done with MCI.
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.
FYI: #20064
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.
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.
so this symbol now needs to vanish as the CMake code will handle this when SUIT_STORAGE_LAYOUT_SOC
is selected
subsys/suit/validator/Kconfig
Outdated
@@ -18,6 +18,11 @@ config SUIT_VALIDATOR_IMPL_NRF54H20_SDFW | |||
depends on SOC_SERIES_NRF54HX | |||
depends on SUIT_PLATFORM_VARIANT_SDFW | |||
|
|||
config SUIT_VALIDATOR_IMPL_NRF9280_SDFW | |||
bool "nRF9280: Secure domain" | |||
depends on SOC_SERIES_NRF92X |
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.
and here
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.
Tried to fix this like @tomchy had done with MCI.
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.
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 do not see any blockers to merge this
return false; | ||
} | ||
|
||
mci_err_t suit_mci_signing_key_id_validate(const suit_manifest_class_id_t *class_id, |
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.
There is an upcoming change to this function (it will be renamed + little change in functionality in here): https://github.com/nrfconnect/sdk-nrf/pull/20050/files#diff-5f831b3a82f1e14d189946f985f443439e1f68e17d67551dc146b0f47735fe18R161 - depending on which PR will come first we will have to align this in one PR or the other
6cef595
to
8defc10
Compare
Add SUIT support for nRF9280 EngB product. Signed-off-by: Tuomas Parttimaa <[email protected]>
e00722d
to
0d32316
Compare
default y if SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_ENGB_CPUSEC) && SUIT | ||
default y if SOC_SERIES_NRF54LX && PSA_CRYPTO_DRIVER_CRACEN | ||
default y if SOC_SERIES_NRF54HX && SOC_NRF54H20_CPUSEC |
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.
this really shouldn't be here, this should move to the out of tree soc in the Kconfig.defconfig
file as something like:
config MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS
default y if NRF_SECURITY && SOC_NRF9280_CPUSEC
# This is for internal use only. | ||
config SOC_NRF9280_CPUSEC | ||
bool | ||
|
||
config SOC_NRF9230_ENGB_CPUSEC | ||
bool |
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.
then these symbols that wrongly duplicate existing symbols and hide bugs can vanish
depends on (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX || \ | ||
(SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_ENGB_CPUSEC)) |
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.
this should also be reworked to have a new symbol:
config SUPPORTS_CRACEN
bool
default y if (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX
this would be the whole definition here, this symbol would then become:
config CRACEN_LOAD_MICROCODE
bool "Load CRACEN microcode"
depends on SUPPORTS_CRACEN
default y
then in your out of tree soc for cpusec inside the Kconfig.defconfig
file:
config SUPPORTS_CRACEN
default y if (SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_ENGB_CPUSEC))
then you have everything properly isolated with no dummy symbols here, and no leakage of information
default SUIT_STORAGE_LAYOUT_TEST if !SOC_SERIES_NRF54HX | ||
|
||
config SUIT_STORAGE_LAYOUT_NRF54H20 | ||
bool "nRF54H20" | ||
select PSA_WANT_ALG_SHA_256 if SUIT_CRYPTO | ||
|
||
config SUIT_STORAGE_LAYOUT_NRF9280 |
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.
so this symbol now needs to vanish as the CMake code will handle this when SUIT_STORAGE_LAYOUT_SOC
is selected
config SUIT_MPI_SOC_NRF9280 | ||
bool | ||
default y if SOC_SERIES_NRF92X | ||
|
||
if SUIT_MPI_SOC_NRF9280 |
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.
config SUIT_MPI_SOC_NRF9280 | |
bool | |
default y if SOC_SERIES_NRF92X | |
if SUIT_MPI_SOC_NRF9280 | |
if SOC_SERIES_NRF92X |
Add SUIT support for nRF9280 EngB product.