| commit | 4983b138ea8fc70bd66fe4d30500e6252629fa5d | [log] [tgz] |
|---|---|---|
| author | Alexander Hansen <alexander.hansen@9elements.com> | Wed Feb 26 16:55:14 2025 +0100 |
| committer | Alexander Hansen <alexander.hansen@9elements.com> | Thu Feb 27 11:33:05 2025 +0100 |
| tree | 79bba39b0b3f1da70ffcc7861649400a9a11d804 | |
| parent | 0a457ff82b1b6de4826e7bd4380fe206a8488f18 [diff] |
common: fetch nested configuration
Config for a code updater is provided via dbus, the common
'FirmwareInfoDef' becomes a nested dbus interface.
For BIOS code updater, it looks like this:
```
xyz.openbmc_project.Configuration.BIOS.FirmwareInfo
```
Update the common code to query this configuration from the nested dbus
interface.
Tested: BIOS code updater can query its configuration with following
EM config json fragment:
```
{
"Name": "HostSPIFlash",
"SPIControllerIndex": 1,
"SPIDeviceIndex": 0,
"HasME": false,
"Layout": "Flat",
"Tool": "None",
"MuxOutputs": ["BMC_SPI_SEL"],
"MuxGPIOValues": [1],
"FirmwareInfo": {
"VendorIANA": "6653",
"CompatibleHardware": "com.tyan.Hardware.S8030.SPI.Host"
},
"Type": "BIOS"
},
```
Change-Id: I1d7241537b759ee74ce4a1f932b5597ac7d95e52
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson buildninja -C buildTo clean the repository run rm -r build.