Skip to content

Add support for checking if power LED lit up on APU platforms #695

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

Open
wants to merge 11 commits into
base: seabios-support
Choose a base branch
from

Conversation

filipleple
Copy link
Member

No description provided.

@filipleple filipleple requested a review from miczyg1 February 25, 2025 10:45
@miczyg1
Copy link
Contributor

miczyg1 commented Feb 25, 2025

@filipleple pre-commit fails, please fix

keywords.robot Outdated
@@ -745,6 +745,18 @@ Power Cycle On
END
IF '${DEFAULT_POWER_STATE_AFTER_FAIL}' == 'Powered Off' Rte Power On

IF '${CHECK_POWER_LED_SUPPORT}' == '${TRUE}'
FOR ${i} IN RANGE 50
Copy link
Contributor

Choose a reason for hiding this comment

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

50*0.5s will give 25s. It is too much. 10 iterations should be enough. if the platform doesn't turn on in 5s, there is something wrong.

Copy link
Contributor

Choose a reason for hiding this comment

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

We also should have respective checks for power off (the LED should be off after powering off)

Copy link
Contributor

Choose a reason for hiding this comment

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

@filipleple Seems like the last trivial fix, can we do this and merge?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

The number of iterations changed indeed, but this: We also should have respective checks for power off (the LED should be off after powering off) has not been addressed as far as I can see

Copy link
Member Author

Choose a reason for hiding this comment

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

ahh right, added that one as well: 223d5c2

Copy link
Contributor

Choose a reason for hiding this comment

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

That's not sufficient. The power LED check must be done after each Rte Power Off call and inside the Execute Poweroff Command as well probably.

Other poweroff ocurrences where the power LED check would probably fit:

  • DTS008.001 DTS option power-off DUT works correctly
  • PSF002.001 Powered Off State Restoration Test
  • PSF004.001 Previous Power State Restoration Test - Powered Off

There may be more.

@filipleple filipleple requested a review from miczyg1 June 25, 2025 14:40
@macpijan macpijan closed this Jul 3, 2025
@macpijan macpijan deleted the apu-check-led branch July 3, 2025 13:45
@macpijan macpijan restored the apu-check-led branch July 3, 2025 14:12
@macpijan macpijan deleted the apu-check-led branch July 3, 2025 14:30
@macpijan macpijan restored the apu-check-led branch July 3, 2025 14:30
@macpijan macpijan reopened this Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants