代码仓
中
Get SoC Environment Variable
更新时间: 2026/08/06
在AtomGit上查看源码

Get SoC Environment Variable ​

Change History ​

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information ​

Function Description ​

Query the SoC environment variables.

Privilege ​

Permissions vary depending on parameters. For details about parameters and permissions, see Table 1 Parameters for querying SoC environment variables.

Command Information ​

Request Information ​

ByteData Field
NetFn30h
CMD90h
1Sub command, sub command=81h
2Parameter Selector, function number, Table 1

Response Information ​

ByteData Field
1Completion Code
2Data Length
3:NFor details about Parameter Data, see Table 1.

Table 1 Parameters for querying SoC environment variables

ParameterOperation Rights#Parameter DataDescription
Get Host GmacBasicSetting01hRequest: Data Length: 1; data4: HostGmacIndex
Response: Data Length: 6; data[3-8]: MacAddr
NA
Get Coprocessor Boot Mem LimitSecurityMgmt02hRequest: Data Length: 0
Response: Data Length: 4; data[3-6]: MemSize, hexadecimal
For equipment use only

Command Example ​

Query the GMAC address of the environment variable. ​

Request:

bash
ipmitool raw 0x30 0x90 0x01

Response:

text
0x06 0x60 0x61 0x62 0x63 0x64 0x65

Back to Index ​