Page MenuHomeFreeBSD

ipmi: add Block Transfer interface support.
ClosedPublic

Authored by ae on Jun 5 2023, 6:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 3:59 AM
Unknown Object (File)
Thu, Nov 14, 1:50 AM
Unknown Object (File)
Tue, Nov 12, 1:56 PM
Unknown Object (File)
Tue, Nov 12, 10:28 AM
Unknown Object (File)
Mon, Nov 11, 8:49 AM
Unknown Object (File)
Mon, Nov 11, 7:40 AM
Unknown Object (File)
Sat, Nov 9, 6:14 PM
Unknown Object (File)
Sat, Nov 9, 1:00 PM
Subscribers

Details

Summary

Patched module is now able to detect and attach to BMC:

ipmi0: <IPMI System Interface> on isa0
ipmi0: BT mode found at io 0xe4 alignment 0x1 on isa
ipmi0: IPMI device rev. 1, firmware rev. 6.48, version 2.0, device support mask 0xaf
ipmi0: Number of channels 0
ipmi0: Attached watchdog
ipmi0: Establishing power cycle handler

ipmitools also works:

# ipmitool channel info
Channel 0xf info:
  Channel Medium Type   : System Interface
  Channel Protocol Type : BT-15
  Session Support       : session-less
  Active Session Count  : 0
  Protocol Vendor ID    : 7154

dmidecode:

Handle 0x0037, DMI type 38, 18 bytes
IPMI Device Information
        Interface Type: BT (Block Transfer)
        Specification Version: 2.0
        I2C Slave Address: 0x10
        NV Storage Device: Not Present
        Base Address: 0x00000000000000E4 (I/O)
        Register Spacing: Successive Byte Boundaries

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ae held this revision as a draft.
ae published this revision for review.Jun 5 2023, 6:40 AM

This looks generally good.
I think I have an arm server with bt mode. Any chance it will work?

This revision is now accepted and ready to land.Jun 5 2023, 3:02 PM
In D40421#920356, @imp wrote:

This looks generally good.
I think I have an arm server with bt mode. Any chance it will work?

I hope this should work. It would be nice if you try test it.

This revision was automatically updated to reflect the committed changes.