U-boot usage am4150 u-boot bootloader – Kontron AM4150 U-Boot Bootloader User Manual
Page 22
U-Boot Usage
AM4150 U-Boot Bootloader
Page 22
ID 1052-5678, Rev. 1.0
P R E L I M I N A R Y
USAGE:
Send IPMI “Get Device ID” command (lun 0, NetFn 6, cmd 1, no data)
using the “kcs raw” option
COMMAND / RESPONSE:
=> kcs raw lun 0x00 0x06 0x01
KCS transaction successfully completed, rsp_size: 18
(dec)
1c 01 00 10 80 01 00 51 b9 98 3a 00 00 d0 10…
05 00 00
=>
Response bytes:
- first byte presents return NetFn combined with lun
- second presents command number
- third presents completion code
- further bytes are response data
In this example, the first byte (0x1c) is decoded as lun 0 (two least
significant bits) and NetFn 7 (six most significant bits).
Send IPMI “Get FRU Inventory Area” command to get information about
FRU 0 repository (lun 0, NetFn 16, cmd 10, data byte 0x00)
COMMAND / RESPONSE:
=> kcs raw 0x0a 0x10 0x00
KCS transaction successfully completed,… rsp_size: 6
(dec)
2c 10 00 00 10 00
=>
kcs
(continued)