Skip to content
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

Test tests/crypto/rand32 hangs on nrf51_pca10028 #9356

Closed
pswarnak opened this issue Aug 9, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@pswarnak
Copy link
Contributor

commented Aug 9, 2018

The test tests/crypto/rand32/ hangs on nrf51_pca10028.

Arch: arm
Board: nrf51_pca10028
Zephyr version: commit d003d0e.

Error Console Log:

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.12.0-1252-gd003d0e (delayed boot 1000ms) *****
Running test suite common_test
===================================================================
starting test - test_rand32

Steps to reproduce:

cd zephyr/tests/crypto/rand32/
rm -rf build && mkdir build && cd build
cmake -D BOARD=nrf51_pca10028 ../
make BOARD=nrf51_pca10028 flash

Check the console log.
@carlescufi

This comment has been minimized.

Copy link
Member

commented Aug 9, 2018

@cvinayak can you please take a look? must be the entropy driver

cvinayak added a commit to cvinayak/zephyr that referenced this issue Aug 10, 2018

drivers: entropy: nrf5: Fix ENTROPY_BUSYWAIT implementation
Fixed the ENTROPY_BUSYWAIT implementation from vectoring to
RNG ISR which was preventing the busywait loop to hang
waiting on the VALRDY event which was getting cleared in the
ISR.

Fixes zephyrproject-rtos#9356.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

carlescufi added a commit that referenced this issue Aug 10, 2018

drivers: entropy: nrf5: Fix ENTROPY_BUSYWAIT implementation
Fixed the ENTROPY_BUSYWAIT implementation from vectoring to
RNG ISR which was preventing the busywait loop to hang
waiting on the VALRDY event which was getting cleared in the
ISR.

Fixes #9356.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

dleach02 added a commit to dleach02/zephyr that referenced this issue Sep 10, 2018

drivers: entropy: nrf5: Fix ENTROPY_BUSYWAIT implementation
Fixed the ENTROPY_BUSYWAIT implementation from vectoring to
RNG ISR which was preventing the busywait loop to hang
waiting on the VALRDY event which was getting cleared in the
ISR.

Fixes zephyrproject-rtos#9356.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.