Elektrine lite

← Feed

@sven@social.treehouse.systems

2026-01-11 13:26 UTC

Working on USB4 for #AsahiLinux and documenting the various components right now. Here's a simplified ASCII drawing: (1/2)

Replies (3)

  • USB4 allows tunneling of USB3, PCIe and DisplayPort and all that is managed by a Host Router. On Apple Silicon that thing is called acio. The host router contains various protocol adapters which convert the incoming data from e.g. PCIe to the tunneled package format and combines that stream with other tunneled protocols to send it out to the Type-C PHY. The PHY then converts the packets to the on-wire protocol sent over the Type-C port. ACIO also contains an IOMMU and the Native Host Interface (NHI) which controls setting up all these tunnels. This is reason why supporting that entire thing is so complicated: All the various components have to interact with each other and on x86 machines that's mostly abstracted away by firmware running on the router. Here, we don't get that luxury and have to implement all the management ourselves. That also means the first Thunderbolt series will be very boring for end-user: It'll just be the Host Router and the NHI such that tunnels can be established. They will be useless though before we then later implement the protocol adapters. (2/2)

    Open ##1548881

  • @callin@hachyderm.io 2026-01-11 18:39

    @sven thank you so much for your work

    Open ##1548903

  • @awws@mastodon.social 2026-01-12 22:06

    @sven This is kinda great. Thanks for posting (and your hard work on Asahi). Out of curiosity, what did you use tool wise to build this? Is it a custom ascii diagrams tool or perhaps something for nvim or emacs?

    Open ##1548904