Skip to content

Conversation

@softwarecki
Copy link
Collaborator

Add missing uuids entries for brngup and cold modules in the uuid-registry.txt file.

Instruct the toml file preprocessor to also use the definitions from the uuid-registry.h file. This will allow the values ​​placed in the uuid-registry to be used in toml files.

Separate the sof_llext_write_uuids function into a new file, llext_write_uuids.cmake. Add support for lowercase uuids. Fix invalid
escape before -. Retrieve the identifiers from a preprocessed rimage_config.toml file, where the uuids names have been replaced with the actual identifiers. To enable this, run the created script after building the module.

In all preprocessed toml files, replace uuid values with their corresponding identifiers from the uuid-registry.

Change the identifier defined in the code to the one retrieved from the uuid-registry.

Add missing uuids entries for brngup and cold modules in the
uuid-registry.txt file.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Instruct the toml file preprocessor to also use the definitions from the
uuid-registry.h file. This will allow the values ​​placed in the
uuid-registry to be used in toml files.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Separate the sof_llext_write_uuids function into a new file,
llext_write_uuids.cmake. Add support for lowercase uuids. Fix invalid
escape before -. Retrieve the identifiers from a preprocessed
rimage_config.toml file, where the uuids names have been replaced with
the actual identifiers. To enable this, run the script after building
the module.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
In all preprocessed toml files, replace uuid values with their
corresponding identifiers from the uuid-registry.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Change the identifier defined in the code to the one retrieved from the
uuid-registry.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Change the identifiers defined in the code to the one retrieved from the
uuid-registry.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Copy link
Contributor

@marcinszkudlinski marcinszkudlinski left a comment

Choose a reason for hiding this comment

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

Removing repetitions of magic UUIDs is always welcome

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

Nice !

@lgirdwood
Copy link
Member

DUT configuration failure using old 6.9 kernel https://sof-ci.01.org/sofpr/PR9861/build11133/devicetest/index.html?model=PTLH_HDA_AIOC&testcase=check-sof-logger and unrelated to this PR.

@lgirdwood lgirdwood merged commit 194435d into thesofproject:main Feb 27, 2025
47 of 51 checks passed
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.

5 participants