-
Notifications
You must be signed in to change notification settings - Fork 716
Ironside v22.0.0+8 tmpfixes #2959
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…P is re-enabled Add a simple non-XIP transaction before deactivating the QSPI after a XIP transaction is performed. This prevents a CPU hang from occuring when another XIP transaction is attempted after the QSPI is activated again. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit fb1d078)
Add a shim that allows using the nRF TDM (Time division multiplexed audio interface) HAL by I2S Zephyr API. Upstream PR #: 82144 Signed-off-by: Adam Kondraciuk <[email protected]>
Some of nRF54's has TDM peripheral instead of I2S. Upstream PR #: 82144 Signed-off-by: Adam Kondraciuk <[email protected]> (cherry picked from commit 3ed0fca)
…o Kconfig Moved target dependent startup time from header file to Kconfig option to allow adding new targets with new .conf file rather that modyfing source of the test. Adjusted startup time for nRF54L09 and nRF54L20. Signed-off-by: Michał Stasiak <[email protected]> (cherry picked from commit c8bda86)
Also update memory map to leverage unused MRAM and move sysctrl IPC to RAM20 to free global RAM. Upstream PR #: 88932 Signed-off-by: Håkon Amundsen <[email protected]> (cherry picked from commit ee48332)
For reasons other than system off, the retained data should be cleared. Upstream PR #: 89044 Signed-off-by: Adam Kondraciuk <[email protected]> (cherry picked from commit 9a575d1)
SoftAP operation needs around 5700 bytes of stack. With a buffer of 100 bytes, set the supplicant stack size to 5800. Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit eb9d98a)
The parameter length for this command was missing the additional length from the arrayed parameters. Signed-off-by: Olivier Lesage <[email protected]> (cherry picked from commit f4aa29d)
…lation When test is run with enabled coverage, additional RAM is required to store coverage data. Digital Microphone test is reserving most of the available RAM to store audio samples. Thus, test fails to build with coverage enabled due to RAM overflow. Decrease size of the audio buffer when coverage is enabled. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 687f4ce)
IRONside calls are remote procedure calls which comprise the runtime interface of Nordic IRONside SE. They are realized using a simple IPC mechanism. A local domain (client) issues requests to the server by exchanging data in shared memory, which is divided into evenly sized buffers. The client selects a buffer, writes a request into it, and sends it to the server. The server processes that request and writes a response into the same buffer before returning it to the client. This patch adds the initial client-side implementation on top of MBOX. It features cache management and a blocking alloc/dispatch/release API for synchronous, zero-copy transfers. A new devicetree binding is added to support this implementation. It is patterned after the `zephyr,ipc-*` bindings, where each node associates a pair of mailboxes and a shared memory region. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 47df9ec)
Applied as noup because of conflicts with: 246cb42 [nrf fromlist] soc: add ironside boot report Upstream PR #: 88937 Define `ipc_conf_iron.dtsi` and `memory_map_iron.dtsi`. In the future, they will be merged with the base `ipc_conf.dtsi` and `memory_map.dtsi` respectively. For now, they are used to replace a few devicetree nodes when building for `nrf54h20dk/nrf54h20/*/iron` board targets. Additional changes are included: * The IPC configuration includes new "nordic,ironside-call" nodes. * The memory map includes an updated RAM20 layout. Its subregions are placed under the `/reserved-memory` node like before. * The memory map also includes an updated MRAM layout. Partitions are now placed under a plain "fixed-partitions" node. MCUboot-specific node labels are applied in `cpuapp.dts`. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit e250890)
This is needed for next generation Secure Domain firmware. Upstream PR #: 89333 Signed-off-by: Sebastian Bøe <[email protected]> (cherry picked from commit 018e72d)
Port SYS_INIT to use soc_early_init_hook as SYS_INITs are legacy. Due to moving dmm_init() from PRE_KERNEL_1 SYS_INIT to soc_early_init_hook(), the DMM test is also updated to ensure that its setup function runs before dmm_init(). Upstream PR #: 89333 Signed-off-by: Sebastian Bøe <[email protected]> Signed-off-by: Jonathan Nilsen <[email protected]>
…service Add an IPC service API for booting local domain cores. Upstream PR #: 89333 Signed-off-by: Sebastian Bøe <[email protected]> (cherry picked from commit 3030d5b)
…nit_hook Boot the radiocore from the app in soc_late_init_hook. Upstream PR #: 89333 Signed-off-by: Sebastian Bøe <[email protected]>
…/cpuapp/iron Add support for nrf54h20dk/nrf54h20/cpuapp/iron to the samples/sysbuild/hello_world sample. Upstream PR #: 89333 Signed-off-by: Sebastian Bøe <[email protected]> (cherry picked from commit 1c48c65)
… test nrf54h should be capable of operating the CAN interface when GPD is enabled. Signed-off-by: Bartosz Miller <[email protected]> (cherry picked from commit a1a8d28)
…RF_IRONSIDE Add a promptless symbol that can be selected by different drivers. It is there to ensure that the corresponding library is not added to the build unless it contains at least one source file. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 3353bbc)
Events used in `call.c` should've been defined as static. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 52f8340)
…pdate service Add a sample demonstrating how to use the IRONside update service to update the IRONside SE firmware on the nrf54h20dk/nrf54h20/cpuapp/iron board. Upstream PR #: 89333 Co-authored-by: Håkon Amundsen <[email protected]> Signed-off-by: Jonathan Nilsen <[email protected]> (cherry picked from commit 42306b7)
…o 26 The tx-en-settle-time-us is set to 26 to take into account the time needed for the RF output power rise time of the nRF5 SoC. Signed-off-by: Andrzej Kuros <[email protected]> (cherry picked from commit 024deb4)
…XTO during restart Some SoCs generates unexpected RXTO event during restart. Restart happens when ENDRX_STARTRX short is enabled and STOPRX is triggered (via short or by CPU). STOPRX starts closing procedure and ENDRX event is generated at some point which triggers STARTRX and closing procedure is interrupted. RXTO should not be triggered in that case. Due to internal timings some SoC on fast UARTE instance will trigger RXTO followed by RXSTARTED. This RXTO event shall be cleared as receiver is actually restarted and not stopped. Affected SoC is not in tree so Kconfig is added which enables the workaround. Upstream PR #: 88935 Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit d5e944b)
…nect#292 Pull in zephyrproject-rtos/hal_nordic#292. Signed-off-by: Carles Cufi <[email protected]> (cherry picked from commit c5033a2)
…, not select Turn the MBEDTLS_RSA_FULL selects into depends on. This is how the other MBEDTLS_KEY_EXCHANGE_* Kconfig options are defined. This is done to avoid circular dependencies. At the same time update uses of the affected MBEDTLS_KEY_EXCHANGE_* Kconfig options to enable/disable the dependencies which used to be automatically handled. Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit 35f7eda)
Update the casting of the 'attr' parameter in pthread_cond_init to use the correct variable name 'att'. Thanks clang for spotting the typo. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit f412cc6)
Fix ethernet_hw_caps initialization in ethernet.h for strict type checking. g++-12: include/zephyr/net/ethernet.h:957:38: error: invalid \ conversion from 'int' to 'ethernet_hw_caps' [-fpermissive] Signed-off-by: Daniel Nicoletti <[email protected]> (cherry picked from commit b4f940d)
…for ZLL BT_TICKER_LAZY_GET is a ZLL only kconfig and should not be selected for other controllers. Signed-off-by: Timothy Keys <[email protected]> (cherry picked from commit cc9279e)
…TO_PRNG PSA Crypto API always allow psa_generate_random() to be called (i.e. there is no PSA_WANT_xxx symbol that can be used to disable it). How random numbers are generated internally is a library internal detail, but the end user (Bluetooth) does not need to worry about this. Signed-off-by: Valerio Setti <[email protected]> (cherry picked from commit 52dcb25)
Replace `CONFIG_NET_L2_IEEE802154` with `CONFIG_NET_L2_PHY_IEEE802154` as `NET_LINK_ADDR_MAX_LENGTH` should be set to `8` for all IEEE 802.15.4 based L2, e.g. OpenThread. Signed-off-by: Adrian Gielniewski <[email protected]> (cherry picked from commit 39e051f)
…ning Theoretically (if either `height` or `width` in `config` is set to 0), the `ret` variable might be returned from `st7567_clear()` without being initialized. Add initialization of this variable to avoid compiler warnings. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit fee8edd)
Add a shim that allows using the nRF TDM (Time division multiplexed audio interface) HAL by I2S Zephyr API. Signed-off-by: Adam Kondraciuk <[email protected]> (cherry picked from commit 5676c65)
nrf-squash! [nrf noup] modules: hal_nordic: adjust nrfx reservations to NCS nrf-squash! [nrf noup] modules: hal_nordic: use Kconfig symbols in NCS reservation nrf-squash! [nrf noup] modules: hal_nordic: nrfx: Add SoftDevice PPI resources Add peripherals used by MPSL and SDC on nRF71-series matching nRF54L. Signed-off-by: Aleksandar Stanoev <[email protected]>
…ation CONF_FILE parameter in testcase.yaml overwrites board specific configurations. Change it to EXTRA_CONF_FILE to apply both configurations. Upstream PR #: 90869 Signed-off-by: Michał Stasiak <[email protected]>
Adds a function which can be used to get the integer value of a devicetree property in Kconfig from a nodelabel Signed-off-by: Adam Kondraciuk <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit a9d0a36)
Some minor improvements. Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit b87befb)
…ility Instead of checking for CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_*_CUSTOM, check for any of the existing providers. This allows downstream users to expand the choices with more options Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit 9379678)
…e of transform.h Some ITS store module implementations may make use of them. This is the case of the custom one in the secure_storage.psa.its.secure_storage.custom.store test. Instead of making transform.h conditionally available, move the definitions to common.h and simply make them available whenever the ITS transform module is enabled. At the same time, remove unneeded/redundant includes/build asserts. Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit 001d054)
Instead of checking whether a custom implementation is present, check whether the AEAD one is used. This allows downstream users to expand the implementation choice with more options. Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit 18b14e7)
This was referenced Jun 16, 2025
Conflicts resolved in this commit, will be fixed once this is rebased --- Add support for generating UICR and associated artifacts in a format compatible with IronSide SE, to be used for nRF SoCs in the Haltium family. The main feature added with this is the ability to configure certain global domain peripherals that are managed by the secure domain through setting UICR.PERIPHCONF. This register points at a blob of (register address, register value) pairs which are loaded into the peripherals by IronSide SE ahead of the application boot. The added helper macros in uicr.h can be used to add register configurations to the PERIPHCONF. Entries added through these macros are then extracted by a script, post-processed and placed in a blob located at specific part of MRAM. A default PERIPHCONF configuration has been added for the nrf54h20 soc to support the standard BLE use case (matching the configuration in the soc devicetree). Signed-off-by: Jonathan Nilsen <[email protected]>
…if present Upstream PR #: 91005 Program the new UICR and PERIPHCONF artifacts if they are generated. These are required for the application to operate properly if they are in use. Signed-off-by: Jonathan Nilsen <[email protected]>
…rf54l Fix building/running for nrf54h and nrf54l. Signed-off-by: Piotr Kosycarz <[email protected]> (cherry picked from commit 39ae9c3)
Upstream PR #: 91413 s/IRONside/IronSide/g Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit d6ad386)
…variants Upstream PR #: 91413 This replaces the legacy SDFW compatible board configuration with the IronSide SE compatible one, thus removing support for running samples and tests on nRF54H20 devices with the old firmware. All applications are expected to work on `nrf54h20dk/nrf54h20/cpuapp` out of the box. For other board targets, all applications are expected to boot, but may require additional peripheral configuration in UICR. Build system support for the new UICR format is to be added separately. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 7c7ad80)
Upstream PR #: 91413 CONFIG_USE_DT_CODE_PARTITION had to be disabled to add MCUboot support. As a result, CONFIG_FLASH_LOAD_SIZE was left at zero, which means that the linker would claim all available MRAM for the app core. For now, we can't allow that, because the default nRF54H20 DK memory map divides MRAM between multiple cores in order to support various samples. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit d4ea476)
…F54H Upstream PR #: 91413 nrf-regtool will not be used as part of IronSide SE compatible builds. It will remain in use for the nRF92 series, until that too receives a port of IronSide SE. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 2baf83a)
Enable the `empty_app_core` image when building for `cpurad`. Signed-off-by: Grzegorz Swiderski <[email protected]>
Signed-off-by: Jonathan Nilsen <[email protected]>
For testing now; will be added upstream. Signed-off-by: Jonathan Nilsen <[email protected]>
Disable inclusion of the empty app core image when building for cpurad. This may be better solved in a different way. Signed-off-by: Jonathan Nilsen <[email protected]>
IronSide SE reserves all memory up to 0x0e030000, update memory map accordingly. Signed-off-by: Håkon Amundsen <[email protected]>
20b417c
to
b5c58f4
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.