u-root / u-bmc

Open-source firmware for your baseboard management controller (BMC)

Home Page:https://u-bmc.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Supermicro X11-SSH board

bluecmd opened this issue · comments

@Keno has made excellent progress in porting u-bmc to this board.

This is the tracking bug for getting it merged.

I've forward ported his changes to u-root:master in this tree https://github.com/osresearch/u-bmc/tree/kf/x11

There are a few weirdnesses that we can document:

  • The x86 won't power on after the bmc has been relfashed sometimes and requires a hard power off
  • The x86 serial ports are not configured by the bmc, so I don't get console output
  • The x86 serial ports are muxed through the bmc, so serial config needs to happen early for x86 serial consoles to work (aspeed does it in u-boot)
  • Fan speed doesn't seem to work

Yes, I've been using host serial by sshing into the bmc so far, but we should probably have them hooked up to the physical ports by default or at least mirror to the physical ports.

Can you document how you access the host serial from the bmc? I wasn't able to get any output.

Yeah, can do. @bluecmd and I will figure out the serial setup.

I used this to dump the vendors serial setup from the registers ;-) https://github.com/c0d3z3r0/aspeedtool

You need to dump the flash, extract the squashfs, put a cross-compiled telnet/dropbear and aspeedtool into the fs, repack and reflash it ;)

Cool :), though I think you can also just puppeteer the aspeed from the host and dump the registers without reflashing since the vendor firmware doesn't disable any of those bridges.

I'm not sure if you can access all registers via the bridge

Well, you have access to RAM and the instruction pointer, so you can do ye old debugger trick for running arbitrary code ;).

The serial setup is working as of osresearch@8b7d1ae

I have the x86 ttyS0 on the db9 and the BMC console on the internal 10 pin (with supermicro special pinout)