Add more diagnostics to backplane I2C
This issue is related to #114 and continues an email thread.
A nice-to-have feature would be ability to read the PB status over BP_I2C, things like:
- FPGA DONE pin status (over I2C-GPIO extender)
- power rails status (at least PGOOD, but ideally voltage/current as well)
- temperature
This would be very useful for remote hardware debugging i.e. a scenario like - one of the PBs has stopped responding and we want quick diagnostics before sending people to the lab.
And if we have I2C-GPIO extender we can think what other features it could provide (per-board power cycle? ALERTs?), but I don't want to over-engineer this.
Bonus points if we could somehow standardize and incorporate it into diot_util
software or a similar app.
It would be great if I could use a single tool to have full visibility into the whole crate - the status of each peripheral board etc.