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

Twister failing due to missing nrf-regtool #79380

Open
rettichschnidi opened this issue Oct 3, 2024 · 0 comments · May be fixed by #79381
Open

Twister failing due to missing nrf-regtool #79380

rettichschnidi opened this issue Oct 3, 2024 · 0 comments · May be fixed by #79381
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx

Comments

@rettichschnidi
Copy link
Contributor

Describe the bug

To Reproduce

Steps to reproduce the behavior:

  1. twister --all -s sample.drivers.crypto.mbedtls
  2. Encounter various build errors for nrf54h20dk and nrf9280pdk boards:
INFO    - The following issues were found (showing the top 10 items):
INFO    - 1) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf9280pdk/nrf9280/cpuapp error (Cmake build failure)
INFO    - 2) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf9280pdk/nrf9280/cpuppr/xip error (Cmake build failure)
INFO    - 3) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf9280pdk/nrf9280/cpurad error (Cmake build failure)
INFO    - 4) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf54h20dk/nrf54h20/cpuapp error (Cmake build failure)
INFO    - 5) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf54h20dk/nrf54h20/cpuppr error (Cmake build failure)
INFO    - 6) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf54h20dk/nrf54h20/cpuppr/xip error (Cmake build failure)
INFO    - 7) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf54h20dk/nrf54h20/cpurad error (Cmake build failure)
INFO    - 8) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf54h20dk/nrf54h20/cpuflpr error (Cmake build failure)
INFO    - 9) samples/drivers/crypto/sample.drivers.crypto.mbedtls on nrf54h20dk/nrf54h20/cpuflpr/xip error (Cmake build failure)

Expected behavior

Running twister successfully on all supported architectures without needing to install extra/undocumented dependencies.

Impact

Can not run Twister for all architecture without encountering errors.

Logs and console output

The errors in build.log files look like this:

CMake Error at <snip>/zephyr/modules/hal_nordic/CMakeLists.txt:15 (find_package):
  Could not find a configuration file for package "nrf-regtool" that is
  compatible with requested version "5.6.0".

  The following configuration files were considered but not accepted:

    <snip>/modules/hal_nordic/nrf-regtool/nrf-regtoolConfig.cmake, version: unknown

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: Zephyr SDK 0.16.8
  • Commit: 44d101a

Workaround

  • pip install nrf-regtool
@rettichschnidi rettichschnidi added the bug The issue is a bug, or the PR is fixing a bug label Oct 3, 2024
@rettichschnidi rettichschnidi linked a pull request Oct 3, 2024 that will close this issue
@fabiobaltieri fabiobaltieri added the platform: nRF Nordic nRFx label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants