Skip to content

abi: user: make userspce ABI usage more obvious - #1517

Merged
lgirdwood merged 3 commits into
masterfrom
lrg/topic/abi-user
Jun 5, 2019
Merged

abi: user: make userspce ABI usage more obvious#1517
lgirdwood merged 3 commits into
masterfrom
lrg/topic/abi-user

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Clear the fog around usage of ABI header for userspace applications. Also make the sof-eqctl generic as there is nothing that tightly coupes it to equalizers (except strings).

lrgirdwo added 3 commits June 4, 2019 13:54
This tool is generic and can be used with any binary kcontrol to
send data to/from components at runtime.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Dump the ABI header from source CSV or DSP data. This will make it
obvious if there are any ABI differences.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add more comments describing usage of header from userspace.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
@lgirdwood lgirdwood added this to the 1.3 milestone Jun 4, 2019
Comment thread tools/ctl/ctl.c
@@ -9,29 +9,24 @@
#include <stdint.h>
#include <errno.h>
#include <alsa/asoundlib.h>

#define SOF_CTRL_CMD_BINARY 3 /* TODO: From uapi ipc */

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, thanks for cleaning up this!

@singalsu singalsu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@xiulipan

xiulipan commented Jun 5, 2019

Copy link
Copy Markdown
Contributor

@lgirdwood
I can see some some internal error in CI as we have changed the name of sof-eqctl => sof-ctl as well as
the folder. I will temporarily remove the storage for eqctl or ctl until the naming is stable.

@lgirdwood

Copy link
Copy Markdown
Member Author

@zrombel does this sof-ctl binary name change impact internal CI like @xiulipan is reporting on Jenkins ? It looks like it's been pending a while ?

@zrombel

zrombel commented Jun 5, 2019

Copy link
Copy Markdown

@lgirdwood this change doesn't affect FW CI. It's good to go.

@lgirdwood
lgirdwood merged commit f0eedcb into master Jun 5, 2019
@lgirdwood
lgirdwood deleted the lrg/topic/abi-user branch September 12, 2019 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants