From 9d57980189e52b79f365cb58214f1b23dbd63813 Mon Sep 17 00:00:00 2001 From: Vineela Kukkadapu Date: Mon, 4 Jun 2018 18:48:06 -0700 Subject: [PATCH] Flip to fscd- wedge100 Summary: This diff flips the switch to fscd for wedge100. Test Plan: Lab testing: root@bmc-oob:/tmp/tests/wedge100/unittests# python fscd_test.py [FSCD Testing] Setting (userver=23.0C, switch=23.0C ,intake=23.0C, outlet=23.0C) [FSCD Testing] PWM test,expected=38% [PASSED] [FSCD Testing] Setting (userver=23.0C, switch=28.0C ,intake=28.0C, outlet=23.0C) [FSCD Testing] PWM test,expected=38% [PASSED] [FSCD Testing] Setting (userver=30.0C, switch=32.0C ,intake=33.0C, outlet=30.0C) [FSCD Testing] PWM test,expected=38% [PASSED] [FSCD Testing] Setting (userver=32.0C, switch=32.0C ,intake=37.0C, outlet=32.0C) [FSCD Testing] PWM test,expected=51% [PASSED] [FSCD Testing] Setting (userver=32.0C, switch=32.0C ,intake=39.0C, outlet=32.0C) [FSCD Testing] PWM test,expected=51% [PASSED] [FSCD Testing] Setting (userver=32.0C, switch=38.0C ,intake=42.0C, outlet=32.0C) [FSCD Testing] PWM test,expected=74% [PASSED] [FSCD Testing] Setting (userver=40.0C, switch=41.0C ,intake=50.0C, outlet=40.0C) [FSCD Testing] PWM test,expected=100% [PASSED] [FSCD Testing] Setting (userver=46.0C, switch=47.0C ,intake=85.0C, outlet=46.0C) [FSCD Testing] PWM test,expected=100% [PASSED] [FSCD Testing] System should shutdown because temperature limit reached. Verifying... [FSCD Testing] Host action test: Expected userver to power off due to high temperature event [PASSED] [FSCD Testing] Recovering system for next test... [FSCD Testing] Setting (userver=40.0C, switch=41.0C ,intake=44.0C, outlet=40.0C) [FSCD Testing] PWM test,expected=74% [PASSED] [FSCD Testing] Ready for next test... g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM) [FSCD Testing] Host action test: Expected userver to power off due to read failure event [PASSED] [FSCD Testing] PWM test,expected=100% [PASSED] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM) [FSCD Testing] Host action test: Expected userver to power on due to fan RPM read failure event but fantray status is GOOD [PASSED] FSCD Testing [PASSED] Accton Testing: Based on chat with vii, data from FSCD is similar to Fand. On startup there is improvement. Reviewed By: covracer fbshipit-source-id: 53db311 --- .../meta-wedge100/recipes-core/images/wedge100-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-facebook/meta-wedge100/recipes-core/images/wedge100-image.bb b/meta-facebook/meta-wedge100/recipes-core/images/wedge100-image.bb index 302f9dcf9a8..54e8a497c24 100644 --- a/meta-facebook/meta-wedge100/recipes-core/images/wedge100-image.bb +++ b/meta-facebook/meta-wedge100/recipes-core/images/wedge100-image.bb @@ -35,7 +35,7 @@ IMAGE_INSTALL += " \ spatula \ trousers \ tpm-tools \ - fan-ctrl \ + fscd \ " IMAGE_FEATURES += " \