Skip to content
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

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

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

Conversation

filipleple
Copy link
Member

No description provided.

keywords.robot Outdated
FOR ${i} IN RANGE 5
${out}= Rte Check Power Led
IF '${out}' == 'high' RETURN
Sleep 1s
Copy link
Contributor

Choose a reason for hiding this comment

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

1s seems very long. On some faster platforms it may result in losing the prompt. Do we have any estimated interval of polling the GPIOs with the API which will be safe?

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed the polling rate. I've estimated that 0.25 seems optimal - 0.1 already causes a too many requests crash

@@ -29,6 +29,7 @@ ${INTERNAL_PROGRAMMER_CHIPNAME}= "Opaque flash chip"
${FLASHING_METHOD}= external
${SNIPEIT}= yes
${SEABIOS_BOOT_DEVICE}= ${EMPTY}
${CHECK_POWER_LED_SUPPORT}= ${FALSE}
Copy link
Contributor

Choose a reason for hiding this comment

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

Aren't there more platform which support LED, than those which don't?

It would be good to enforce the support and disable it just as an exception for platform, where it is not possible.

Copy link
Member Author

Choose a reason for hiding this comment

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

Inverted the support logic

Comment on lines 9 to 11
${BIOS_LIB}= seabios
${FW_STRING}= F10
${SEABIOS_BOOT_DEVICE}= 4
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm. We also have UEFI variant of the firmware. How will we deal with it? IS there a separate PC Engines config for UEFI variant?

Copy link
Member Author

Choose a reason for hiding this comment

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

The seabios-support branch will probably evolve many times, but for now i've added a pcengines-support config and included it in all pcengines-apu*-seabios configs here

@@ -22,7 +22,7 @@ MarkupSafe==2.1.5
mdurl==0.1.2
nodeenv==1.8.0
oauth2client==4.1.3
osfv @ git+https://github.com/Dasharo/osfv-scripts.git@36a030eb006391c3761c25d6972036a5a34fb73b#subdirectory=osfv_cli
osfv @ git+https://github.com/Dasharo/osfv-scripts.git@solve-pwon#subdirectory=osfv_cli
Copy link
Contributor

Choose a reason for hiding this comment

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

Just leaving it as a comment, so we won't forget.

This has to be an exact SHA1 revision in the final PR form.

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.

2 participants