Set SoC Environment Variable
更新时间: 2026/08/06
在Gitcode上查看源码Set SoC Environment Variable
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Set SoC environment variables.
Privilege
Permissions vary depending on parameters. For details about parameters and permissions, see Table 1 Parameters for setting the SoC environment variable.
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, sub command=80h |
| 2 | Parameter Selector, function number, Table 1 |
| 3 | Data Length |
| 4:N | For details about configuration parameter data, see Table 1. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Table 1 Parameters for setting the SoC environment variables
| Parameter | Operation Rights | # | Parameter Data | Description |
|---|---|---|---|---|
| Set Host Gmac | BasicSetting | 01h | Request: data3: Data Length 7 data4: HostGmacIndex data[5-10]: MacAddr | NA |
| Set Coprocessor Boot Mem Limit | SecurityMgmt | 02h | Request: data3: Data Length 4 data[4-7]: MemSize | For equipment use only |
Command Example
Set the GMAC address of the SoC environment variable.
Request:
bash
ipmitool raw 0x30 0x90 0x01 0x06 0x60 0x61 0x62 0x63 0x64 0x65Response:
text