mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
uhd: mpm: Expose filesystem version information on MPM tree
This allows UHD clients to determine, for example, whether the currently loaded filesystem is up-to-date.
This commit is contained in:
parent
8dfc671885
commit
aaac1f47e8
@ -101,6 +101,14 @@ void mpmd_impl::init_property_tree(
|
||||
.set(mb->device_info.get("fpga_version", "UNKNOWN"));
|
||||
tree->create<std::string>(mb_path / "fpga_version_hash")
|
||||
.set(mb->device_info.get("fpga_version_hash", "UNKNOWN"));
|
||||
tree->create<std::string>(mb_path / "token").set(mb->get_token());
|
||||
tree->create<uhd::device_addr_t>(mb_path / "args").set(mb->mb_args);
|
||||
tree->create<std::string>(mb_path / "mender_artifact")
|
||||
.set(mb->device_info.get("mender_artifact", "UNKNOWN"));
|
||||
tree->create<std::string>(mb_path / "mpm_sw_version")
|
||||
.set(mb->device_info.get("mpm_sw_version", "UNKNOWN"));
|
||||
tree->create<std::string>(mb_path / "fs_version")
|
||||
.set(mb->device_info.get("fs_version", "UNKNOWN"));
|
||||
|
||||
/*** Clocking *******************************************************/
|
||||
tree->create<std::string>(mb_path / "clock_source/value")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user