-
Notifications
You must be signed in to change notification settings - Fork 349
config: intel: use PCH name for tigerlake #3451
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
Conversation
We switch to PCH-based names instead of CPU config names for tigerlake+ platforms, because we need to support multiple variants of PCHs based on one CPU famile - for example TGL-H & TGL-LP. Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
|
Please do not merge before CI is ready for that (it has to be green). We need to wait for CI guys to update fw names. |
|
@zrombel @aiChaoSONG please approve when CI is ready and this PR is good to merge. |
Which CI, firmware only? I would think this has no impact on kernel tests, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jajanusz I think this patch only change the defconfig name. How about the ri file name? I think for both tgph_defconfig and tgplp_defconfig they both generated sof-tgl.ri
PS: can we make this change more backward compatible, eg: add a soft-link to tigerlake_defconfig → tgplp_defconfig.
The release 1.6 and TGL-10 drop still need to use tigerlake_defconfig
I have an old PR to change the FW binary name, you can use this as reference. #3204
It applies only to our CI cos steps for building are written there... Your CI doesn't have this problem because you just run shell script from this repo and it is updated with PR. |
It doesn not change file name because file name is not linked to PCH, it is by default named after signing config for RIMAGE. |
|
@jajanusz IIUC, we will build different binaries, one binary for each PCH variant with it's own kconfig. |
We don't need to change default binary filename, kernel team renames them anyway while upstream. F.e. you have sof-cnl for cnl,cml,whl and currently we end up with kernel team renaming them / doing symlinks, so no change here. There is no upcoming PR, #3385 can just be optionally used for better release notes for clients. I think that you want to have something like that for |
I always wondered what was the naming logic and I would have never suspected something like RIMAGE_SIGNING_SCHEMA! Based on this interesting discussion it looks like I was not the only one missing some parts of the whole picture. The toolchain names make this even more confusing: https://thesofproject.github.io/latest/getting_started/build-guide/build-from-scratch.html#toolchains @jajanusz as you sound like the only one on top of this all, please submit a separate documentation PR with a summary of how names like "tgl" are used now (platform, signing scheme, toolchain, defconfig,...) and also how they should be used and not be used going forward. So the naming logic and directions are clearly stated, agreed (through the doc review) and easily found. Otherwise the discussions in #3385 and here are likely to repeat themselves plus these PRs are not the most convenient place to find information. I can think of two places for this summary: either sof-docs or the top of PS: I agree that |
|
@plbossart are you good regarding binary file naming from kernel side ? |
|
@jajanusz Agreed with @marc-hb. We have some rename with "RIMAGE_SIGNING_SCHEMA" in jasperlake. It used sof/src/arch/xtensa/configs/jasperlake_defconfig Lines 1 to 8 in 52e82f4
|
|
@xiulipan Sorry I think it shouldn't be done like this. As I wrote Kconfig shouldn't have something like file names and info about which config should be used for which platform is in defconfig name already, alternatively info like that can be in build scripts. Also JSL is patological situation here that should never happen. Someone duplicated icl machine definition in rimage and named it jsl just to have "jsl" in file name... @marc-hb I agree, docs need updates. |
|
@xiulipan @lgirdwood so can we merge it? I guess 1.6 is out so should be safe. |
|
This unsurprisingly broke various TGL things in CI; just before the majority of our CI team went for one-week national holiday. @fredoh9 is trying to pick up the pieces. Internal issue number is 576 |
Mystery solved: a "quick defconfig hack" was manually put in Jenkins to test the final force push of this PR (Sep 23rd) before merge. This temporary hack was gone when this PR was merged later on Sep 30th, which broke the TGL build in Jenkins, which had a cascade effect on other CI things after Sep 30th. Things look OK now. Great job @fredoh9; thanks for covering for the CI team during the holiday. |
ADL and ADL-S binaries share FW build configuration with TGL and TGL-H. See also issue thesofproject#3491 and commit 15e03fd ("config: intel: use PCH name for tigerlake") and the corresponding review in PR thesofproject#3451. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
ADL and ADL-S binaries share FW build configuration with TGL and TGL-H. See also issue thesofproject#3491 and commit 15e03fd ("config: intel: use PCH name for tigerlake") and the corresponding review in PR thesofproject#3451. Signed-off-by: Marc Herbert <marc.herbert@intel.com> (cherry picked from commit 5a7a135)
We switch to PCH-based names instead of CPU config names for tigerlake+
platforms, because we need to support multiple variants of PCHs based
on one CPU famile - for example TGL-H & TGL-LP.
Signed-off-by: Janusz Jankowski janusz.jankowski@linux.intel.com