-
Notifications
You must be signed in to change notification settings - Fork 322
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
cmocka: support for xtensa-gcc #736
Comments
@lgirdwood |
@lgirdwood any comment? |
@jajanusz qemu simulates bare metal DSP from BYT -> ICL so it's missing C library support. In order to run the UTs on qemu (including CI) we would have to follow ROM test approach. i.e.
It seems we are missing qemu build instructions on sof-docs atm so (in qemu directory)
Then you can run it by
|
@jajanusz In this script, there are some example about how to read DSP => HOST IPC payload(IPC ready message) |
@xiulipan would you be able to add some instructions on sof-decs for building and using qemu. You can aslo copy and pase the docs from the SOF wiki on alsa-project.org |
@lgirdwood good idea. |
With these instructions I get:
I used |
@jajanusz what distro and version are you using, it could be an older version of a dependency library.... |
@jajanusz see here too, could be old dependency systemd/systemd#8099 |
|
@jajanusz 16.4 is ancient, 3 years old. Please update. In general using LTS versions > 1 year old is not good for development. Fwiw I'm on 18.10, will be moving to 19.04 soon. |
@lgirdwood I thought we support Ubuntu 16 & 18 (because docs refer to them), that's why I assumend qemu will also work on 16.04. |
out of curiosity has anyone used 19.04 for SOF work since it was released on April 19? |
@lgirdwood @plbossart |
@xiulipan don't autobuild qemu for each SOF PR (too long, travis will timeout), just use the latest prebuilt binary in container. I will tag it in future so you can keep uptodate. |
@lgirdwood Related PR here: thesofproject/qemu#4 |
@lgirdwood I checked with ubuntu 19.04 and QEMU built successfully. |
cmocka must also be able to use xtensa GCC as compiler.
The text was updated successfully, but these errors were encountered: