-
Notifications
You must be signed in to change notification settings - Fork 349
xtensa-build-zephyr: parse SOF versions from new versions.json instead of generated sof_versions.h #7661
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
|
Only one test in https://sof-ci.01.org/sofpr/PR7661/build8213/devicetest/index.html?model=MTLP_RVP_SDW&testcase=check-runtime-pm-status failed like this. This failure looks new but it can't be caused by this PR, it's unrelated: https://sof-ci.01.org/sofpr/PR7661/build8214/devicetest and everything else are all green. |
For rimage parameters, parse new, static versions.json file instead of generated sof_versions.h file. This will make possible to configure rimage before west build. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
In some cases it was difficult to separate the command's output from the extra environment it ran in. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Zero functional change, pure clean-up. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This makes no difference now because it has no side-effect yet but it will make a difference once it starts using `west config`. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
We used to use `-- -c rimage/config/platf.toml` for the IPC4 overlay and
the older `--tool-data rimage/config/` for the rest. This was confusing,
inconsistent and used to print this warning:
```
WARNING: --tool-data /var/home/mherber2/SOF/sof/rimage/config ignored,
overridden by: -- -c ...
```
`--tool-data` was always a bad idea. It looks generic but it's not; it
allows changing only a config directory that is always in the same
location.
Copy what `west sign` does with `--tool-data`, drop it and use `-- -c`
always.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Unlike rimage_configuration(), rimage_options() will be kept free of side-effect. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Zero functional change. This will allow excluding some options. Signed-off-by: Marc Herbert <marc.herbert@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.
OK I won't be blocking this because there are dependencies to Zephyr as @marc-hb described in the feature request. Python code looks ok. We just need to find the time to improve this solution.
+ move some rimage-related code around to prepare for the switch to
west build(1st part of successfully tested draft TEST PR #7595)No functional change.
One of the last parts for this v2.6 requirement: