Set partition config Command
更新时间: 2026/08/06
在Gitcode上查看源码Set partition config Command
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to set the partition configuration (for 8P servers or later).
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 97h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, subcommand = 06h |
| 5 | Parameter selector. For details, see Table 1. |
| 6:N | Configuration parameter datar |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 80h=parameter not supported. 81h=attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' sate. (This completion code provides a way to recognize that another party has already 'claimed' the parameters.) 82h=attempt to write read-only parameter |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
Reference Information
Table 1 Switch Info Parameters
| Parameter | # | Description |
|---|---|---|
| partition config | 00h | data1-cpu num (Total number of CPUs in a physical partition) ffh initial (initial state) data2-role (BMC role in a physical partition) 00h: resource type 01h Ultra BMC 02h Intra BMC 1 03h Intra BMC 2 ...... 08h Intra BMC 7 ffh initial (initial state) |
| hardware interface config | 01h | data1-interface type Selector (function to be switched) 00h DVD 01h VGA 02h USB 03h LCD FFh ALL data2-board to attach (BMC to which the port is switched) 00h Active BMC 01h slave BMC |
| partition map | 02h | data1-node num (Number of nodes in a physical partition, corresponding to N. The 9032 nodes are a collection of objects managed by a single BMC.) data2 corresponds to the slot of the Ultra node. data3 corresponds to the slot of Intra node 1. data4 corresponds to the slot of Intra node 2. dataN+1 corresponds to the slot of Intra node N+1. |
| logic partition config (write only) | 03h | data1-N-config data (including creation, modification, deletion, logical partition, virtual switch, and virtual storage pool) |
| partition status | 04h | data1-type Selectordata2-status |
| flash spi | 05h | data1-interface type Selector (function to be switched) 00h BIOS FLASH data2-while FALSH (which flash memory is switched to) 00h FALSH1 01h FALSH2 |
| Unmount and mount | 06h | data1-interface type Selector (function to be switched) 00h: unsuspension 01h-Mounting data2: progress |
Table 2 partition status
| Parameter | Parameter Data data2 -status | # (decimal) data1 -type | |
|---|---|---|---|
| BIOS CTRL | write-only | 00h cold reset 01h clear setup cfg data | 0 |
| physical partition | write-only | 00h started ok | 1 |
| NC STAGE | write-read | NC configuration phase | 2 |
| NC config | write-only | NC status | 3 |
| PWB status | write-only | 01h short press 02h long press | 4 |
| Unmounting, mounting type | write-read | 01h: disclaim missing 02h-Mounting | 0 |
| Queries the unmounting and mounting progress. | read_only | 01h: disclaim missing 02h-Mounting | 1 |
Command Example
Set the partition configuration to 4P.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN