commit | 0a3f40b92c44bb196e355f845c6aafd1d2dce5fe | [log] [tgz] |
---|---|---|
author | John Chung <john.chung@arm.com> | Wed Jan 22 18:07:52 2025 -0600 |
committer | Vernon Mauery <vernon.mauery@gmail.com> | Tue Apr 15 16:35:50 2025 +0000 |
tree | 89652c5d2c4176633351428ee9f7f9faa40ac3ee | |
parent | 2738b9ea0d0609df5a6c86087eaeade0799af6ba [diff] |
SBMR Get/Send Boot Progress Code support Implement IPMI commands for boot progress codes by following DEN0069E_SBMR_2.1. Add configure option `arm-sbmr` to enable SBMR IPMI commands. Boot progress code will update to Redfish BootProgress property. 1. Send boot progress code (NetFn 0x2C, Command 0x2) 2. Get boot progress code (NetFn 0x2C, Command 0x3) Test: 1. Send boot progress code $> ipmitool raw 0x2C 0x02 0xAE 0x1 0x00 0x00 0x00 \ 0x01 0x10 0x01 0x02 0x00 ae 2. Get boot progress code $> ipmitool raw 0x2C 0x3 0xAE ae 01 00 00 00 01 10 01 02 00 3. Redfish BootProgess LastState - /redfish/v1/Systems/system { ... "BootProgress": { "LastState": "PCIResourceConfigStarted", "LastStateTime": "2024-11-14T19:14:22.432272+00:00" } } Signed-off-by: John Chung <john.chung@arm.com> Change-Id: I58e6e322006039fceb8d4212c4f9f6a4b4f9e225
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage