ast2600: Add FTGMAC100 Ethernet MAC and Aspeed MDIO controller#192
Open
garybeihl wants to merge 1 commit intorenode:masterfrom
Open
ast2600: Add FTGMAC100 Ethernet MAC and Aspeed MDIO controller#192garybeihl wants to merge 1 commit intorenode:masterfrom
garybeihl wants to merge 1 commit intorenode:masterfrom
Conversation
Full FTGMAC100 Ethernet MAC implementation with DMA descriptor ring TX/RX, inheriting from NetworkWithPHY and implementing IMACInterface for integration with Renode's network switch infrastructure. TX path: walks descriptor ring, reads buffer data via sysbus, fires FrameReady on last segment. RX path: MAC filtering (broadcast, multicast, unicast, RX_ALL), writes frame data to RX descriptors with FRS/LRS/VDBC flags, queues frames when no descriptors available. Aspeed MDIO controller for external PHY register access, matching the AST2600 hardware which uses a separate MDIO bus at 0x1E650000 rather than the FTGMAC100's built-in PHYCR registers. Embeds RTL8211E PHY register defaults with link-up status. Together these eliminate the 90-second eth0 systemd timeout during OpenBMC boot by allowing the Linux ftgmac100 driver to successfully probe all four MACs and attach to their PHYs. Signed-off-by: Gary Beihl <garybeihl@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NetworkWithPHYand implementingIMACInterfaceFTGMAC100 features
FrameReadyon last segment (LTS)Aspeed MDIO
Impact
Eliminates the 90-second eth0 systemd timeout during OpenBMC boot. All four AST2600 MACs probe successfully with RTL8211F PHY driver attached.
Test plan
ftgmac100 1e660000.ethernet eth0: Link is up