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

alveo_u250: Add PCIe x4 support #106

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

daveshah1
Copy link

Based on the implementation in xcu1525.

Note that enjoy-digital/litepcie#39 needs to be fixed before this builds out-of-the-box.

scratch_test seems to work correctly:

$ ./litepcie_util scratch_test
Write 0x12345678 to scratch register:
Read: 0x12345678
Write 0xdeadbeef to scratch register:
Read: 0xdeadbeef

I haven't tested any further than that. I also found I needed to reboot for the device to appear correctly, but my setup is somewhat unusual as it involves Thunderbolt on a X399 motherboard without the proper BIOS support.

Based on the implementation in xcu1525

Signed-off-by: David Shah <dave@ds0.me>
@daveshah1
Copy link
Author

I also found I needed to reboot for the device to appear correctly, but my setup is somewhat unusual as it involves Thunderbolt on a X399 motherboard without the proper BIOS support.

The solution to this is almost enjoy-digital/litepcie#36 (comment), but in my case I have to direct the rescan just to the Alpine Ridge device and not the whole PCI subsystem; or my machine totally locks up.

@enjoy-digital enjoy-digital merged commit ad4c483 into litex-hub:master Sep 4, 2020
@enjoy-digital
Copy link
Member

Thanks, merged. The naming issue with be fixed soon and more testing will be done in the next days with LitePCIe/Ultrascale+ devices.

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

Successfully merging this pull request may close these issues.

None yet

3 participants