Skip to content

Commit

Permalink
config: platforms-chromeos: Add serial delay for some Mediatek platforms
Browse files Browse the repository at this point in the history
Add test_character_delay to the Spherion, Tomato and Steelix 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 18, 2024
1 parent 3c2b63c commit 71be8ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/platforms-chromeos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ platforms:
flash_kernel:
url: https://storage.chromeos.kernelci.org/images/rootfs/chromeos/chromiumos-corsola/20240514.0/arm64
image: 'Image'
context:
test_character_delay: 10
rules:
<<: *arm64-chromebook-device-rules
min_version:
Expand All @@ -128,6 +130,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 +142,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 71be8ba

Please sign in to comment.