Skip to content

Commit

Permalink
config: platforms-chromeos: Add serial delay for spherion and tomato
Browse files Browse the repository at this point in the history
Add test_character_delay to the Spherion and Tomato platforms to
workaround the fact that they're sometimes unable to process serial
input fast enough, resulting in mangled commands and consequently flaky
test results, as described in
kernelci/kernelci-project#366.

The right place to do this change would be in the device-type template
as described in LAVA's documentation [1]. This overriding in KernelCI is
meant only as a temporary workaround to verify whether this fixes the
issue. If it does, then we'll do it in LAVA upstream instead.

[1] https://docs.lavasoftware.org/lava/debugging.html#differences-in-input-speeds
Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
  • Loading branch information
nfraprado committed Jun 3, 2024
1 parent 3c2b63c commit b9c94b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/platforms-chromeos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ platforms:
<<: *mediatek-chromebook-device
base_name: asurada
dtb: dtbs/mediatek/mt8192-asurada-spherion-r0.dtb
context:
test_character_delay: 10
rules:
<<: *arm64-chromebook-device-rules
min_version:
Expand All @@ -138,6 +140,8 @@ platforms:
<<: *mediatek-chromebook-device
base_name: cherry
dtb: dtbs/mediatek/mt8195-cherry-tomato-r2.dtb
context:
test_character_delay: 10
rules:
<<: *arm64-chromebook-device-rules
min_version:
Expand Down

0 comments on commit b9c94b4

Please sign in to comment.