Skip to content

Conversation

@crazoes
Copy link
Contributor

@crazoes crazoes commented Jul 13, 2020

In renaming of $j -> $platform one instance of variable was missed which
has led to wrong configs being used.

Signed-off-by: Shreeya Patel shreeya.patel23498@gmail.com

@crazoes crazoes requested a review from jajanusz as a code owner July 13, 2020 05:08
@crazoes
Copy link
Contributor Author

crazoes commented Jul 13, 2020

Fixes #2711 (comment) spotted by @marc-hb. Also, sorry about missing this one instance of renaming 😓

@marc-hb
Copy link
Collaborator

marc-hb commented Jul 13, 2020

Considering some of the CI failures in https://sof-ci.01.org/sofpr/PR3167/build6570/devicetest/ are on BYT, I think we need to pay them more attention than usual.

@crazoes can you diff the .config files before vs after this fix and share the diff in a comment here if it's not too big? Thx

Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

For small but potentially impactful fixes like this the commit message is important. Can you please add Fixes: 941dfcccb03 ("use switch case") in the body and change the subject to something more meaningful like: xtensa-build-all: fix gcc _defconfig for byt|cht|cnl|sue. Thx.

sorry about missing this

shellcheck is your friend.

Copy link
Collaborator

@paulstelian97 paulstelian97 left a comment

Choose a reason for hiding this comment

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

GH came back online :) Also, this change looks good for me.

@crazoes
Copy link
Contributor Author

crazoes commented Jul 13, 2020

CC: @dbaluta

@crazoes
Copy link
Contributor Author

crazoes commented Jul 13, 2020

I've pushed the amended commit however, it does not reflect in github. I pushed it when github was down, maybe they have some processing that failed and hence, not showing up here. 😕

@crazoes
Copy link
Contributor Author

crazoes commented Jul 13, 2020

Will amend again so hash changes

@crazoes crazoes force-pushed the xtensas-build-all-fix branch from aee7ce1 to 5c2a456 Compare July 13, 2020 12:51
In renaming of $j -> $platform one instance of variable was missed which
has led to wrong configs being used.

Fixes: 941dfcc ("use switch case")

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
@lgirdwood
Copy link
Member

Alsabat CI clipping. @aiChaoSONG Btw - the sof-logger output on BSW/BYT tests does not align to the topology. i.e. I see component IDs 4.20 and 1.6 that are not in topology diagram.

@lgirdwood lgirdwood merged commit d434dbc into thesofproject:master Jul 14, 2020
@crazoes
Copy link
Contributor Author

crazoes commented Jul 14, 2020

Configs prior and post fix and diff between the same - https://gist.github.com/crazoes/f8fd5557ba1d3e418f887a0704a434e5

cc @marc-hb

@aiChaoSONG
Copy link
Collaborator

aiChaoSONG commented Jul 15, 2020

Alsabat CI clipping. @aiChaoSONG Btw - the sof-logger output on BSW/BYT tests does not align to the topology. i.e. I see component IDs 4.20 and 1.6 that are not in topology diagram.

@lgirdwood There are graph section and widget section in the topology binary, right? The graph drawing is from the graph section. As I observed, not all widgets are linked in the graph. Take sof-byt-rt5640.tplg for example, besides the widgets you can see from the graph, there are extra widgets in the widget section: codec_out0, PIPELINE.1.SSP2.OUT, codec_out1, PIPELINE.2.SSP2.IN, codec_in0, PIPELINE.3.SSP2.OUT, codec_in1, ssp2 Rx, ssp2 Tx, ssp0 Tx, ssp0 Rx, modem_out, modem_in

Maybe some legacy m4 need a fix?

@lgirdwood
Copy link
Member

@aiChaoSONG the sof-log showed these as buffers ?

@aiChaoSONG
Copy link
Collaborator

@lgirdwood No, they are dumped from binary topology(*.tplg), but seems I couldn't see them from the sof-logger

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.

6 participants