commit | 042e9db438664f964e5f41411675d5882b32341f | [log] [tgz] |
---|---|---|
author | adarshgrami <adarshgr@ami.com> | Thu Sep 15 10:34:34 2022 +0530 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Oct 17 22:50:16 2022 +0000 |
tree | 1e615d9e9a99b3bd03d436269b0d5108189d92d8 | |
parent | 45d4193137b3e23b90a210e10c65ef8ba376eb81 [diff] |
DCMI Commands: Support Get DCMI Sensor Info Dynamically When Dynamic SDR Feature is enabled the sensor record id should be get dynamically for DCMI Sensors. Tested: Case 1:Get inlet sensor information $ipmitool raw 0x2c 0x07 0xdc 0x01 0x40 0x00 0x00 dc 01 01 1a 00 Case 2:Get Baseboard sensor information ipmitool raw 0x2c 0x07 0xdc 0x01 0x41 0x00 0x00 dc 02 02 18 00 19 00 Case 3:Get CPU sensor information ipmitool raw 0x2c 0x07 0xdc 0x01 0x42 0x00 0x00 dc 01 01 1b 00 Case 4: Give a invalid sensor instance number $ipmitool raw 0x2c 0x07 0xdc 0x01 0x41 0x05 0x00 Unable to send RAW command (channel=0x0 netfn=0x2c lun=0x0 cmd=0x7 rsp=0xff): Unspecified error Result : The command should throw error Case 5:Get a specific sensor details by giving instance parameter 2 of CPU sensors $ipmitool raw 0x2c 0x07 0xdc 0x01 0x41 0x02 0x00 dc 02 01 19 00 Signed-off-by: adarshgrami <adarshgr@ami.com> Change-Id: Ib2099a49ecaebc16b5fae29a4c18ca3e788aabf1
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