Closed
Labels
BSWBraswellFix confirmedFix for the issue has been found and verifiedbugSomething isn't working as expected
Description
Describe the bug
the sof-logger error checks are broken:
root@chrx:~# ./sof-logger -e -l sof-cht.ldc
error: fw version in sof-cht.ldc file does not coincide with fw version in /sys/kernel/debug/sof/fw_version file.
error: version_file ABI Version is 3:17:0
error: snd ABI Version is 5:0:0
This is obvious confusion between firmware and debug ABI
To Reproduce
use sof-logger -e option
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
firmware master 1c53b8e
plus added patch to show the issue:
diff --git a/tools/logger/convert.c b/tools/logger/convert.c
index 1f26e4411..94d24f29b 100644
--- a/tools/logger/convert.c
+++ b/tools/logger/convert.c
@@ -678,6 +678,19 @@ static int verify_fw_ver(const struct convert_config *config,
log_err(config->out_fd,
"fw version in %s file does not coincide with fw version in %s file.\n",
config->ldc_file, config->version_file);
+
+ log_err(config->out_fd,
+ "version_file ABI Version is %d:%d:%d\n",
+ SOF_ABI_VERSION_MAJOR(ver.abi_version),
+ SOF_ABI_VERSION_MINOR(ver.abi_version),
+ SOF_ABI_VERSION_PATCH(ver.abi_version));
+
+ log_err(config->out_fd,
+ "snd ABI Version is %d:%d:%d\n",
+ SOF_ABI_VERSION_MAJOR(snd->version.abi_version),
+ SOF_ABI_VERSION_MINOR(snd->version.abi_version),
+ SOF_ABI_VERSION_PATCH(snd->version.abi_version));
+
return -EINVAL;
}
Metadata
Metadata
Assignees
Labels
BSWBraswellFix confirmedFix for the issue has been found and verifiedbugSomething isn't working as expected
Activity
lgirdwood commentedon Aug 3, 2020
@slawblauciak can we close now ?
marc-hb commentedon Aug 4, 2020
A pointer to the fix would not hurt.
slawblauciak commentedon Aug 10, 2020
@lgirdwood I'd leave it open until the PR gets merged.
@marc-hb apologies, it's the PR mentioned above, #3195
slawblauciak commentedon Aug 18, 2020
@plbossart PR has been merged, can you please verify?