facebook Github contribution chart
facebook Github Stats
facebook Most Used Languages

Activity

27 Sep 2023

Kossov-it

started

Started On 27 Sep 2023 at 02:54:14

Irwin13

started

Started On 27 Sep 2023 at 02:50:50

709924470

started

Started On 27 Sep 2023 at 02:47:13

McFreely

started

Started On 27 Sep 2023 at 02:45:14

Dosyago

Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

Forked On 27 Sep 2023 at 02:43:12

00000o1

started

Started On 27 Sep 2023 at 02:42:51

MoozonWei

started

Started On 27 Sep 2023 at 02:40:30
Issue Comment

Facebook-github-bot

Artemis: cb: Support switch heartbeat for DVT

Description

  • Support to get switch heartbeat to judge whether the switch is ready.
    • Enable PWM/TACH to get Switch heartbeat RPM.
  • Add patch to avoid utilizeing the busy-wait method in tach_aspeed_sample_fetch function.

Motivation

  • Support to get switch heartbeat to judge whether the switch is ready.

Test Plan

  • Build code: Pass
  • Get Switch heartbeat rpm: Pass
  • Get Switch temperature sensor reading: Pass
  • Check switch heartbeat work on Pre-DVT/EVT2 board: Pass

Log

  • Get Switch temperature sensor reading root@bmc-oob:~# power-util mb status Power status for fru 1 : OFF root@bmc-oob:~# sensor-util cb | grep CB_PEX CB_PEX0_TEMP_C (0x5) : NA | (na) CB_PEX1_TEMP_C (0x6) : NA | (na) root@bmc-oob:~# fw-util cb --version pesw0; fw-util cb --version pesw1 CB PESW0 Version: NA CB PESW1 Version: NA root@bmc-oob:~# power-util mb on Powering fru 1 to ON state... root@bmc-oob:~# power-util mb status Power status for fru 1 : ON root@bmc-oob:~# sensor-util cb | grep CB_PEX CB_PEX0_TEMP_C (0x5) : 60.90 C | (ok) CB_PEX1_TEMP_C (0x6) : 57.81 C | (ok) root@bmc-oob:~# fw-util cb --version pesw0; fw-util cb --version pesw1 CB PESW0 Version: 53.11.00.09 CB PESW1 Version: 53.11.01.09

  • Check switch heartbeat work on Pre-DVT board

    • MB DC off uart:~$ kernel stacks 0x4e308 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4e240 mctprx_01_0a_40 (real size 4096): unused 1724 usage 2372 / 4096 (57 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......
    • MB DC on uart:~$ kernel stacks 0x82768 sw_heartbeat_thread (real size 512): unused 268 usage 244 / 512 (47 %) 0x4e308 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4e240 mctprx_01_0a_40 (real size 4096): unused 1724 usage 2372 / 4096 (57 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......
  • Check switch heartbeat work on EVT2 board

    • MB DC off uart:~$ kernel stacks 0x4d548 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4d480 mctprx_01_0a_40 (real size 4096): unused 1796 usage 2300 / 4096 (56 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......

    • MB DC on uart:~$ kernel stacks 0x4d548 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4d480 mctprx_01_0a_40 (real size 4096): unused 1796 usage 2300 / 4096 (56 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......

Forked On 27 Sep 2023 at 02:38:12

Facebook-github-bot

This pull request has been merged in facebook/OpenBIC@0386f6138cfa305472d33b03924e759c775fa519.

Commented On 27 Sep 2023 at 02:38:12

Facebook-github-bot

Artemis: cb: Support switch heartbeat for DVT

Created On 27 Sep 2023 at 02:38:08

Facebook-github-bot

Artemis: cb: Support switch heartbeat for DVT (#1376)

Summary:

Description

  • Support to get switch heartbeat to judge whether the switch is ready.
    • Enable PWM/TACH to get Switch heartbeat RPM.
  • Add patch to avoid utilizeing the busy-wait method in tach_aspeed_sample_fetch function.

Motivation

  • Support to get switch heartbeat to judge whether the switch is ready.

Pull Request resolved: https://github.com/facebook/OpenBIC/pull/1376

Test Plan:

  • Build code: Pass
  • Get Switch heartbeat rpm: Pass
  • Get Switch temperature sensor reading: Pass
  • Check switch heartbeat work on Pre-DVT/EVT2 board: Pass

Log

  • Get Switch temperature sensor reading root@bmc-oob:~# power-util mb status Power status for fru 1 : OFF root@bmc-oob:~# sensor-util cb | grep CB_PEX CB_PEX0_TEMP_C (0x5) : NA | (na) CB_PEX1_TEMP_C (0x6) : NA | (na) root@bmc-oob:~# fw-util cb --version pesw0; fw-util cb --version pesw1 CB PESW0 Version: NA CB PESW1 Version: NA root@bmc-oob:~# power-util mb on Powering fru 1 to ON state... root@bmc-oob:~# power-util mb status Power status for fru 1 : ON root@bmc-oob:~# sensor-util cb | grep CB_PEX CB_PEX0_TEMP_C (0x5) : 60.90 C | (ok) CB_PEX1_TEMP_C (0x6) : 57.81 C | (ok) root@bmc-oob:~# fw-util cb --version pesw0; fw-util cb --version pesw1 CB PESW0 Version: 53.11.00.09 CB PESW1 Version: 53.11.01.09

  • Check switch heartbeat work on Pre-DVT board

    • MB DC off uart:~$ kernel stacks 0x4e308 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4e240 mctprx_01_0a_40 (real size 4096): unused 1724 usage 2372 / 4096 (57 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......
    • MB DC on uart:~$ kernel stacks 0x82768 sw_heartbeat_thread (real size 512): unused 268 usage 244 / 512 (47 %) 0x4e308 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4e240 mctprx_01_0a_40 (real size 4096): unused 1724 usage 2372 / 4096 (57 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......
  • Check switch heartbeat work on EVT2 board

    • MB DC off uart:~$ kernel stacks 0x4d548 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4d480 mctprx_01_0a_40 (real size 4096): unused 1796 usage 2300 / 4096 (56 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......

    • MB DC on uart:~$ kernel stacks 0x4d548 mctptx_01_0a_40 (real size 2048): unused 1140 usage 908 / 2048 (44 %) 0x4d480 mctprx_01_0a_40 (real size 4096): unused 1796 usage 2300 / 4096 (56 %) 0x83be0 IPMI_thread (real size 4096): unused 3252 usage 844 / 4096 (20 %) 0x85f00 sensor_poll (real size 2048): unused 980 usage 1068 / 2048 (52 %) ......

Reviewed By: wangx6f

Differential Revision: D49627824

fbshipit-source-id: 4757f58e7325f2d256feb01b19cf376b5b995213

Pushed On 27 Sep 2023 at 02:38:06

Bom-d-van

started

Started On 27 Sep 2023 at 02:37:27

Lgq20151

idb is a flexible command line interface for automating iOS simulators and devices

Forked On 27 Sep 2023 at 02:36:26

Zillostudio

started

Started On 27 Sep 2023 at 02:34:36

DaveLak

started

Started On 27 Sep 2023 at 02:33:22

Zillostudio

started

Started On 27 Sep 2023 at 02:32:31

EricLuoisme

started

Started On 27 Sep 2023 at 02:32:30

Intltechventures

started

Started On 27 Sep 2023 at 02:28:32

Ehernandez42

started

Started On 27 Sep 2023 at 02:27:10

Github-actions

Deploying to gh-pages from @ facebook/buck2@e3796159a2c3b41ab756497ef26a61827fb55e2f 🚀

Pushed On 27 Sep 2023 at 02:26:55

Github-actions

Deploying to gh-pages from @ facebook/buck2@5d67764e16e6d011aaec7baea73a7b018bf6d190 🚀

Pushed On 27 Sep 2023 at 02:26:07

Xorange

started

Started On 27 Sep 2023 at 02:25:25

Jjx003

started

Started On 27 Sep 2023 at 02:24:43

Keyman9848

Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

Forked On 27 Sep 2023 at 02:21:33

Cq-cute

started

Started On 27 Sep 2023 at 02:19:50

Kevcmk

started

Started On 27 Sep 2023 at 02:19:04

Shinedog

started

Started On 27 Sep 2023 at 02:18:32

Lalloni

started

Started On 27 Sep 2023 at 02:18:18

Dianpeng

started

Started On 27 Sep 2023 at 02:15:08

Samstearns

started

Started On 27 Sep 2023 at 02:14:43

R-alnairab

started

Started On 27 Sep 2023 at 02:12:52