Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPGA: i2c/3c controller #164

Open
rmustacc opened this issue May 20, 2024 · 3 comments
Open

FPGA: i2c/3c controller #164

rmustacc opened this issue May 20, 2024 · 3 comments
Assignees
Labels
cosmo SP5 Platform

Comments

@rmustacc
Copy link

This implements support for the i2c and i3c basic controller logic that will be required for the DRAM proxy and related access. These are blocks that provide the SP access as an initiator.

@Aaron-Hartwig
Copy link
Collaborator

Thanks to @nathanaelhuffman we have a capture of IxC DDR5 things from Ruby: https://drive.google.com/file/d/1A_qxI4eRBv3MXRqyqjgfUS8hg8s13Sgo/view?usp=drive_link

@Aaron-Hartwig
Copy link
Collaborator

I have some stream of consciousness notes here, but I figured a summary is warranted at this point.

The system we have been doing investigation on is an AMD Ruby with a DDR5 DIMM at A1 and G1. The capture above is on that GHIJKL DIMM1 bus. The main takeaways are:

  • We can see the SP5 attempt to talk to all six potential DDR5 channels, with the communication to G1 being successful (HID b000).
  • All comms are happening at 100KHz
  • We do not observe any attempt to move from I2C to I3C Basic. i.e., no 7'h7E address broadcasts with CCCs.
  • We can see communications with the SPD/Hub, PMIC, and RCD.
    • While in I2C mode, the Hub can page in the SPD contents in the upper 128-bytes it exposes in its own memory map.

All this was running a ?? version of firmware that is definitely out of date. We should do another analysis with the latest bits we have access to.

@Aaron-Hartwig
Copy link
Collaborator

Nathanael uploaded a capture from turin 1.0.0.1 here. Still appears to be completely I2C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmo SP5 Platform
Projects
None yet
Development

No branches or pull requests

3 participants