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, May 12, 9:30 AM
Unknown Object (File)
Thu, May 9, 5:00 PM
Unknown Object (File)
Thu, May 9, 12:16 PM
Unknown Object (File)
Thu, May 9, 1:32 AM
Unknown Object (File)
Wed, May 1, 5:21 AM
Unknown Object (File)
Fri, Apr 26, 12:44 AM
Unknown Object (File)
Mon, Apr 22, 4:43 PM
Unknown Object (File)
Apr 17 2024, 5:04 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.