amd / esmi_oob_library Goto Github PK
View Code? Open in Web Editor NEWfor hosting E-SMI Out-of-band code
License: Other
for hosting E-SMI Out-of-band code
License: Other
Is it possible to run esmi_oob_tool
with EPYC Rome CPUs? I'm trying to run esmi_oob_tool
under OpenBMC on the ASPEED AST2500 in the AMD EthanolX CRB. esmi_oob_ex
runs fine, but esmi_oob_tool
fails on the last read_esb_boost_limit
function:
root@ethanolx:~# esmi_oob_ex 0x3c
-----------------------------------------
Power(Watts) | 34.218 |
PowerLimit(Watts) | 155.000 |
PowerLimitMax(Watts) | 155.000 |
-----------------------------------------
root@ethanolx:~# esmi_oob_tool 0 0x3c
=============== APML System Management Interface ===============
*** SB-RMI SUMMARY ***
----------------------------------------------------------------
| Power (Watts) | 34.142
| PowerLimit (Watts) | 155.000
| PowerLimitMax (Watts) | 155.000
| C0 Residency (%) | 0
| DDR Max BW (GB/s) | 0
| DDR Utilized BW (GB/s) | 0
| DDR Utilized Percent(%)| 0
| BIOS boostlimit(MHz) | 3300
| APML boostlimit(MHz) |
Invalid I2C Bus or Address
Failed: For Mailbox Err[15]: Input value is invalid
Failed: For TSI Err[7]: Unknown error
----------------------------------------------------------------
Try `esmi_oob_tool --help' for more information.
====================== End of APML SMI Log =====================
I'm using Rome EPYC CPUs:
cpu family : 23
model : 49
model name : AMD EPYC 7302 16-Core Processor
Just in case here is an output from the esmi_ib_library
which looks fine and doesn't have any errors:
esmi_ib_library/Build$ sudo ./e_smi_tool
=============== EPYC System Management Interface ===============
--------------------------------------
| CPU Family | 0x17 (23 ) |
| CPU Model | 0x31 (49 ) |
| NR_CPUS | 64 |
| NR_SOCKETS | 2 |
| THREADS PER CORE | 2 (SMT ON) |
--------------------------------------
----------------------------------------------------------------
| Sensor Name | Socket 0 | Socket 1 |
----------------------------------------------------------------
| Energy (K Joules) | 86.434 | 78.392 |
| Power (Watts) | 35.106 | 31.925 |
| PowerLimit (Watts) | 155.000 | 155.000 |
| PowerLimitMax (Watts) | 155.000 | 155.000 |
| C0 Residency (%) | 0 | 1 |
----------------------------------------------------------------
| Core[0] Energy (Joules)| 32.777 | 32.777 |
| Core[0] boostlimit(MHz)| 3300 | 3300 |
----------------------------------------------------------------
I'm trying to integrate esmi_oob_library
to the OpenBMC (48915: meta-amd: Add APML recipe | https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/48915)
Unfortunately it is not possible with the current version of CMakeLists.txt
if we don't override cmake do_install
task. The build fails with the following error:
ERROR: amd-apml-1.0+gitAUTOINC+697a8ccf50-r0 do_package: QA Issue: amd-apml: Files/directories were installed but not shipped in any package:
/usr/esmi_oob/include
/usr/esmi_oob/include/esmi_oob
/usr/esmi_oob/include/esmi_oob/esmi_rmi.h
/usr/esmi_oob/include/esmi_oob/esmi_tsi.h
/usr/esmi_oob/include/esmi_oob/esmi_common.h
/usr/esmi_oob/include/esmi_oob/esmi_mailbox.h
/usr/esmi_oob/include/esmi_oob/esmi_i2c.h
/usr/esmi_oob/include/esmi_oob/esmi_cpuid_msr.h
/usr/esmi_oob/lib/libesmi_oob64.so.0.1.0
/usr/esmi_oob/lib/libesmi_oob64.so
/usr/esmi_oob/lib/libesmi_oob64.so.0
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
amd-apml: 11 installed and not shipped files. [installed-vs-shipped]
It looks like install paths needs some correction. The path prefix should be /usr
, but not /usr/esmi_oob
.
Also it would be good to have an option for examples compilation. By them I mean:
esmi_oob_ex
esmi_oob_tool
esmi_oob_cpuid_tool
There is an issue with the links to the Users Guide on https://developer.amd.com/e-sms/apml-library/ - they point to a file that no longer exists on github.
There are two links with this problem, the "User Guide" near the upper right hand area of the page and under the Resources and Technical Support section near the bottom.
I'm guessing those links should perhaps point now to here: https://github.com/amd/esmi_oob_library/blob/master/APML_Library_Manual.pdf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.