Skip to content

cpu/sam0_eth: fix hang with broken PHY#21172

Merged
dylad merged 1 commit intoRIOT-OS:masterfrom
benpicco:cpu/sam0_common/eth-hang
Jan 30, 2025
Merged

cpu/sam0_eth: fix hang with broken PHY#21172
dylad merged 1 commit intoRIOT-OS:masterfrom
benpicco:cpu/sam0_common/eth-hang

Conversation

@benpicco
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
@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