-
Notifications
You must be signed in to change notification settings - Fork 327
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
modules: toml: Use values from uuid-registry in toml files #9861
Conversation
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>
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.
Removing repetitions of magic UUIDs is always welcome
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.
Nice !
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. |
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 invalidescape 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.