tests: disable NRF5 entropy driver on some bsim/qemu tests
CONFIG_ENTROPY_GENERATOR is now enabled by default as soon as "zephyr,entropy" is set in the device-tree. Since the sub-Kconfig CONFIG_ENTROPY_NRF5_RNG is also enabled by default on nrf boards, this means that the driver is pulled in the build and intialized at boot. This might cause runtime issues during some IRQ/kernel tests, so it's better to remove "zephyr,entropy" on these tests. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
e3817d0ffc
commit
22e30e04f5
9 changed files with 51 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
/ {
|
||||
chosen {
|
||||
/* The test is setting up a custom interrupt table which only allows a very
|
||||
* limited number of platform IRQs and that is not the "standard" table generated
|
||||
* by CONFIG_GEN_ISR_TABLES. The problem is that NRF5 entropy driver would enable
|
||||
* an IRQ which is not in this list, therefore causing a runtime crash in the
|
||||
* test. As a consequence we need to disable this driver.
|
||||
*/
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
5
tests/kernel/context/boards/nrf52_bsim_native.overlay
Normal file
5
tests/kernel/context/boards/nrf52_bsim_native.overlay
Normal file
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
5
tests/lib/p4workq/boards/nrf52_bsim_native.overlay
Normal file
5
tests/lib/p4workq/boards/nrf52_bsim_native.overlay
Normal file
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
5
tests/lib/p4workq/boards/qemu_cortex_m0_nrf51822.overlay
Normal file
5
tests/lib/p4workq/boards/qemu_cortex_m0_nrf51822.overlay
Normal file
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
/delete-property/ zephyr,entropy;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue