-
Notifications
You must be signed in to change notification settings - Fork 625
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
entropy: Enable the PSA RNG for nRF54H20 #2008
base: main
Are you sure you want to change the base?
Conversation
41b421a
to
521042c
Compare
I will add the equivalent code for nrf9280 soon, since I saw that this was using the PRNG as well. |
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.
Since the fake entropy driver is removed, you need to add the real one for the radio core as well. Random numbers are needed by the Bluetooth controller running on the radio core. The softdevice controller uses the chosen entropy device.
150d2d7
to
b822ae1
Compare
a14ae71
to
11de823
Compare
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.
Can you clean up the commits (e.g. you have [nrf noup] boards: nordic: Enable SSF PSA and reqs
and the next commit reverts it) so it would be easier to review?
11de823
to
b6b627f
Compare
b6b627f
to
2250853
Compare
1918bb1
to
20616a5
Compare
20616a5
to
ea69b6c
Compare
ea69b6c
to
aff98c6
Compare
57ae764
to
5dcbb55
Compare
8622c0c
to
f134485
Compare
…it timeouts Some code that automatically gets embedded on some platforms relies on having `CONFIG_TIMEOUT_64BIT` enabled. Do not force disabling that Kconfig option in the test configuration, as that will make the test fail to compile on those platforms. Signed-off-by: Tomi Fontanilles <[email protected]> (cherry picked from commit 4b9c588)
The ram0x partitions seem to be not compliant with nRF54H20 architecture and it causes that in the application dts overlay file it is difficult to extend cpuapp_ram0x_region without modifying whole layout. It is better to place cpurad_ram0x_region at the beginning at 2f010000 address and then cpuapp_ram0x_region right after that. Thanks to that, if the application needs to have more than 256 kB of RAM, in the application dts overlay file, a user can increase cpuapp_ram0x_region size up to 2f0be000. Signed-off-by: Arkadiusz Balys <[email protected]> (cherry picked from commit a53cb73)
There is a mistake and the cpuapp_ram0x_region "reg" value should start from 0x2f011000. Signed-off-by: Arkadiusz Balys <[email protected]> (cherry picked from commit 1e69738)
Enable the cpusec IPC and the bellboard nodes for the nrf54h20dk cpuapp and cpurad targets to enable communication between domains. Also enables the region cpurad_ram0x_region since it is also required for the communication. Upstream PR #: 80929 Signed-off-by: Georgios Vasilakis <[email protected]>
…BYTES The mechanism for communication between domains requires extra threads. So change the default value MAX_THREAD_BYTES to allow usage of more threads. Upstream PR #: 81060 Signed-off-by: Georgios Vasilakis <[email protected]>
Disable the IPC communication between the domains for the arm_thread_swap test since it is not needed and it causes a flash oveflow for the no opmitization test case. Upstream PR #: 80929 Signed-off-by: Georgios Vasilakis <[email protected]>
Increase the stack size for hci_ipc on nRF54H20 since the IPC communication increases stack usage. Upstream PR #: 82255 Signed-off-by: Georgios Vasilakis <[email protected]>
Noup since secdom is not available upstream and it is required for PSA RNG. This enables the PSA RNG as the default Zephyr entropy provider for the nrf54h20dk cpuapp and cpurad targets. Signed-off-by: Georgios Vasilakis <[email protected]>
Noup since secdom is not available upstream and it is required for PSA RNG. This adds the Kconfig requirements for the PSA RNG service. This affects the nrf54h20dk cpuapp and cpurad targets. Signed-off-by: Georgios Vasilakis <[email protected]>
When the PSA crypto secure domain service is enabled. Noup since this service is not available upstream. This is temporary since we expect to add support for data cache later. This affects the nrf54h20dk cpuapp and cpurad targets. Signed-off-by: Georgios Vasilakis <[email protected]>
Disable the mbedtls legacy tests for the nRF54H20. We now enable the PSA entropy driver for the nRF54H20 which is incompatible with the mbedtls legacy APIs. Noup since we only enable the PSA entropy driver in NCS and not upstream. Signed-off-by: Georgios Vasilakis <[email protected]>
d4a3984
to
c741ec9
Compare
Check commits messages