Jump to content

[Armbian build PR] - fixes failing 10Mbit built-in Ethernet -- https://armbian.atlassian.n…


Recommended Posts

Posted

…et/browse/AR-1904

Description

Using the Rock Pi S with 10mbps Ethernet connection is not possible. A connection is shown but data transmission is not possible.

Note that this patch is only for the "current" kernel. The "edge" kernel no longer boots RockPI-S.

Jira reference number AR-1904

How Has This Been Tested?

Built 23.05 Minimal image for RockPI-S

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Verified Ethernet transfer @100Mbit/s initially
  • ethtool -s end0 advertise 3
  • Verified Ethernet transfer rate now only 10Mbit/s
  • ethtool -s end0 advertise f
  • Verified Ethernet transfer rate restored to 100Mbit/s

Bug was a regression first seen in the 5.15 Armbian kernel caused by a rewrite of speed setting for rk3308 in dwmc-rk.c that for some bizarre reason completely omitted the code needed to reprogram the MAC clock as appropriate for the selected Ethernet speed.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines