Uh oh!
There was an error while loading. Please reload this page.
UUID tplg support - #2919
Conversation
the corresponding Firmware PR: #2920 |
There was a problem hiding this comment.
It's better here to have a uuid.m4 file that contains all UUIDs and is included by all topologies.
# uuid.m4 - set default UUIDs if NOT already set in topology.
# allows users to override the UUID if needed.
ifndef UUID_SRC
define UUID_SRC "blah blah blah"
endif
# and so on
There was a problem hiding this comment.
As discussed, will implement a m4 helper to generate this UUID byte array from the string copied from the firmware source directly.
There was a problem hiding this comment.
Could you document the format used for uuid in this token?
If this is just a byte array, is endianess correct? There are uint32, uint32, uint8.
Example from the fw source code:
/* c4b26868-1430-470e-a089-15d1c77f851a */DECLARE_SOF_UUID("demux", demux_uuid, 0xc4b26868, 0x1430, 0x470e,
0xa0, 0x89, 0x15, 0xd1, 0xc7, 0x7f, 0x85, 0x1a);So if it is byte array and little-endian is assumed, it should rather be 68:68:b2:c4:30:14....
There was a problem hiding this comment.
You are right, thanks for spotting this.
keyonjie
commented
May 28, 2020
@lgirdwood@mmaka1 I want to let this (adding UUID tokens to toplogies) go first, they are verified with the corresponding FW and kernel changes, but the topology changes can go first as they won't be used if driver and FW is not ready yet, no any regression with these changes applied. |
Not all components are covered until now, there will be more commits added for them, e.g. asrc/buffer/dai/dcblock/eq/mixer/pcm/pga/src/tone... |
lgirdwood
left a comment
There was a problem hiding this comment.
I guess there is nothing stopping this being merged after kernel token is updated ? i.e. it's not used so wont change anything ?
keyonjie
commented
May 29, 2020
Right. We can merge this even before the kernel token is updated, which means we provide those tokens in tplg, but the kernel doesn't parse them so nothing will change to others. |
keyonjie
commented
Jun 1, 2020
That is the third commit of the driver PR, thesofproject/linux@04a7e7a @kv2019i@plbossart I think we are all aligned on adding this token on both tplg and driver side? |
plbossart
commented
Jun 1, 2020
I am not, there are 4 parallel threads (sof-developers, sof-docs, sof, linux), it's beyond my reviewer ability quite frankly to figure out what the big picture looks like. |
kv2019i
commented
Jun 1, 2020
@plbossart wrote:
I suggest looking at the sof-docs: .. let's all align on that first. If we all approve, then reviewing the others should be easier as they should all comply with the sof-docs. Ok @plbossart@keyonjie@lgirdwood ? |
keyonjie
commented
Jun 2, 2020
Good point, ack. |
Move the including of utils.m4 to first as it is needed by other component m4 files. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to smart_amp widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to muxdemux widgets for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to detect widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to ch_sel widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to kpb widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to asrc widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to dai widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to dcblock widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to eq_fir widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to eq_iir widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to mixer widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to host widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to volume widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to src widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Add the uuid token to tone widget for the future use. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
lgirdwood
commented
Aug 10, 2020
keyonjie
commented
Aug 10, 2020
I can't see the QB log, instead seeing all SUCCESS while it reports Tools failed. And for the alsa-lib version in CI, yes, let's align using latest version for building. |
keyonjie
commented
Aug 10, 2020
@slawblauciak could you help to take a look? |
keyonjie
commented
Aug 10, 2020
SOFCI TEST |
keyonjie
commented
Aug 11, 2020
@lgirdwood , @xiulipan told me that it is known issue for QB on TGL, so I think we are good to go with this. |
keyonjie
commented
Aug 11, 2020
@zrombel please make sure the QB server is using alsa-lib later than v1.2.1 |
marc-hb
commented
Aug 11, 2020
I have a branch that lets you build 1.2.3.2 .deb files for Ubuntu in two commands: Feedback appreciated there. |
keyonjie
commented
Aug 13, 2020
@zrombel forgot to mention, please upgrade both alsa-lib and alsa-utils to the same version v1.2.3. |
zrombel
commented
Aug 13, 2020
Process Team is working on updating QB machines with newest alsa-lib and utils. We were able to run one test build on updated machine on this PR and it'a PASS so this PR can be merged. Rest of the machines are still under update. QB should be fully ready at the end of the day. |
keyonjie
commented
Aug 13, 2020
Thanks @zrombel . @lgirdwood Let's merge this and then kernel PR will go together. |
keyonjie
commented
Aug 13, 2020
SOFCI TEST |
zrombel
commented
Aug 13, 2020
QB CI is now fully updated. |
This is the series for UUID support -- tplg part, it should be used together with the FW part and kernel part.