40 points · by rbanffy · 4y ago · 19 comments
https://f4pga.org/ https://f4pga.github.io/prjxray-db/ https://github.com/F4PGA/prjxray
Really. But... While I like big iron and I want MANDATORY open hardware by law I have to ask: how can I really check that a piece of hw in my hand is built like it's open project spec state?
I write that because "open source" have already stared years ago a curious movement to transform free software in proprietary-alike beast and I fear something similar will happen for hw in the future.
For mechanical/discrete stuff checking an implementation might be easy or hard but it's essentially doable, a matter of unmounting and then reassemble. For integrated electronics even high end research labs have issues checking anything and that's an important point IMVHO to be discussed up front when talking about open hardware.
You can always decap the FPGA and read the HDL code that defines the BMC (or pay someone you trust) to make sure there isn't anything fishy lurking inside it.
In this case, It exposes a PCIe interface (really!), USB, multiple SPI/QSPI, and various I2C/Serial interfaces to the host to monitor various facets of the system. The high bandwidth interfaces aren't exactly easy to implement on any small micro.
Really, basically you have either a LwIP-based implementation probably in completely new C (and all the fun security issues with that kind of codebase), or something running a whole host OS. Considering how it seems basically every time any security researcher takes a quick glance at LwIP half a dozen security issues seem to fall out, I think I'd trust linux way more then anything bespoke.
What do you exactly think a BMC does?
- 13 (*Thirteen*) separate I2C interfaces
- 4 I3C interfaces (Update to I2C, still mostly proprietary)
- 2 QSPI interfaces
- 2 UART Interfaces
- 2 USB-2.0 interfaces
- PCIe 3.0 1x interface
- PCIe 5.0 4x interface
- JTAG to host system
- Various simple control signals (power, ok, etc..)
It's pretty goddamn future proof, though there's zero chance you could support all the various interfaces on anything arduino-esque.Note: Apparently this isn't exactly news, here's[2] the antmicro press-release about this thing from 2021. Here's [3] the actual docs on the DC-SCM (including kicad schematic & PCB layout!).
1: https://www.opencompute.org/documents/ocp-dc-scm-spec-rev-1-...
2: https://antmicro.com/blog/2021/07/dc-scm-open-hardware-for-f...
Also, completely agreed that this board management controller is massively (over)speced, it's really very capable. Of course the flip side of that is worrying about abuse ("with great power ...").
It may be possible, but I'm absolutely sure it's not pleasing.
It's a bit like powering up the external hard disk before turning on your Apple /// (or Lisa)