Skip to content

cpu/sam0_eth: fix hang with broken PHY #21172

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

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

benpicco
Copy link
Contributor

Contribution description

On boards with a broken PHY the init will hang indefinitely.
This is not very nice and makes it hard to tell what's wrong - instead, bail out early if the PHY does not become IDLE at all.

Testing procedure

Issues/PRs references

@github-actions github-actions bot added Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: cpu Area: CPU/MCU ports labels Jan 29, 2025
@benpicco benpicco force-pushed the cpu/sam0_common/eth-hang branch from 2710783 to c791ff2 Compare January 30, 2025 10:16
@dylad dylad added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jan 30, 2025
@riot-ci
Copy link

riot-ci commented Jan 30, 2025

Murdock results

✔️ PASSED

c791ff2 cpu/sam0_eth: fix hang with broken PHY

Success Failures Total Runtime
10271 0 10271 09m:08s

Artifacts

Copy link
Member

@dylad dylad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK.

@dylad dylad enabled auto-merge January 30, 2025 13:02
@dylad dylad added this pull request to the merge queue Jan 30, 2025
Merged via the queue into RIOT-OS:master with commit 529a1e4 Jan 30, 2025
27 checks passed
@mguetschow mguetschow added this to the Release 2025.04 milestone Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants