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

intel_adsp_cavs15: All the testcases run failed on ADSP #35082

Closed
KangJianX opened this issue May 11, 2021 · 3 comments
Closed

intel_adsp_cavs15: All the testcases run failed on ADSP #35082

KangJianX opened this issue May 11, 2021 · 3 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Milestone

Comments

@KangJianX
Copy link
Collaborator

Describe the bug
All the testcases run failed with same error on ADSP

To Reproduce
Steps to reproduce the behavior:

  1. twister -p intel_adsp_cavs15 --device-testing -T tests/kernel/mutex/mutex_api/ --west-flash="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/intel_adsp_cavs15/tools/flash.sh,/home/ztest/work/zephyrproject/modules/audio/sof/keys/otc_private_key.pem,/home/ztest/work/zephyrproject/modules/audio/sof/zephyr/ext/rimage/config,/home/ztest/work/zephyrproject/modules/audio/sof/zephyr/ext/rimage/build/rimage" --device-serial-pty="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/intel_adsp_cavs15/tools/adsplog.py,--no-history"

Logs and console output
twister-out/intel_adsp_cavs15/tests/.../Device.log

ERROR: --tool-path /home/ztest/work/zephyrproject/modules/audio/sof/zephyr/ext/rimage/build/rimage: not an executable
FATAL ERROR: refusing to proceed without --force due to above error

Environment:
OS: Fedora28
Toolchain: Zephyr-sdk-0.12.4
Commit id: 660d147

@KangJianX KangJianX added the bug The issue is a bug, or the PR is fixing a bug label May 11, 2021
@KangJianX
Copy link
Collaborator Author

ADSP can not run testcases because of commit ID: 168e9ed
This commit removed directory of module/audio/sof/zephyr/ext which is used to run testcases, thus all testcases can not be signed by rimage tool. Or it has new command to run testcases what I do not know?

@galak galak added this to the v2.6.0 milestone May 11, 2021
@galak galak added the priority: medium Medium impact/importance bug label May 11, 2021
@nashif nashif assigned nashif and unassigned andyross May 11, 2021
@nashif
Copy link
Member

nashif commented May 11, 2021

You need to install rimage on your own, do not rely on rimage from SOF tree. ADSP testcases need to pass without SOF.

@nashif nashif added priority: low Low impact/importance bug and removed priority: medium Medium impact/importance bug labels May 11, 2021
@nashif
Copy link
Member

nashif commented May 11, 2021

ok, verified all works fine if you build rimage and use it standalone without SOF module..., closing.

@nashif nashif closed this as completed May 11, 2021
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 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants