dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

S3 sleep too short on Odroid H4 Plus

Open mysteriousCzrsX opened this issue 11 months ago • 2 comments

Component

Dasharo firmware

Device

Hardkernel Odroid H4

Dasharo version

v0.9.0-rc3

Dasharo Tools Suite version

No response

Test case ID

SUSP005.001 Cyclic platform suspend and resume (Ubuntu)

Brief summary

When performing SUSP005.001 test that performs 15 s3 sleep and resume cycles using fwts 1/15 cycles is always too short 15~18s as opposed to expected 30s.

How reproducible

100%

How to reproduce

Run test suite dasharo-compatibility/platform-suspend-and-resume.

Expected behavior

Sleep and resume cycles are performed correctly - test is passed

Actual behavior

One iteration of suspend and resume cycles is too short - test fails Test log attached below:

suspend.zip

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

mysteriousCzrsX avatar Jan 17 '25 12:01 mysteriousCzrsX

I'm guessing something in the OS delayed S3 entry on one of the iterations?

mkopec avatar Jan 17 '25 12:01 mkopec

I tried to reproduce it by doing 15 S3 suspend resume cycles under Ubuntu and all logs have passes only. So the reproducibility is definitely not 100%

cat /tmp/suspend_test_log_*.log |grep failed
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
9 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.

miczyg1 avatar Mar 20 '25 10:03 miczyg1

I have run SUSP005.001 again on the newest coreboot 24.12 base on ODROID and there is no problem. I consider this issue does not reproduce.

platform-suspend-and-resume_2025_06_12_11_38_58.zip

miczyg1 avatar Jun 12 '25 09:06 miczyg1