summaryrefslogtreecommitdiff
path: root/meta-facebook
AgeCommit message (Collapse)AuthorFilesLines
2024-05-23meta-facebook: harma: enable phosphor-powerPeter Yin1-5/+10
Add phosphor-power-contorl to initialize chassis power status. root@harma:~# busctl introspect org.openbmc.control.Power /org/openbmc/control/power0 NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - org.openbmc.control.Power interface - - - .getPowerState method - i - .setPowerState method i - - .setPowerSupplyError method s - - .pgood property i 1 emits-change .pgood_timeout property i 10 emits-change writable .state property i 1 emits-change .PowerGood signal - - - .PowerLost signal - - - Change-Id: I3bb3d4741415d772ec158385465226e355d048c0 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-05-23meta-facebook: harma: revise bios post end namePeter Yin1-1/+1
Rename host-ready-n to avoid confusion with host0-ready The host0-ready signal represents the host power good status used by the isHostRunning function check. Change-Id: I641655f2f9db13daef600f27b8d259765c728dfd Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-05-23meta-facebook: minerva: turn on the ledYang Chen1-0/+7
The LED can't be on by chassis on when the BMC reboots. Add a script to turn it on. Change-Id: Ie7b09f2e07e19c8881b234e802b334ee5ac1c124 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-05-23meta-facebook: minerva: modify chassis-powercycleYang Chen1-11/+40
1. Added 2nd source of HSC (XDP710) restart command. 2. Revise compute/network blade power control command. Change-Id: I38fc0317abbe5e67bb98865fd78a76430cd06df8 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-05-23meta-facebook: minerva: enable mdio-toolsYang Chen1-0/+5
Enable mdio-tools for communication with the PHY chip. Change-Id: I4c595fc82018648472f2cf985b6afd386c5290ef Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-05-23meta-facebook: minerva: enable USB UART configYang Chen1-0/+5
Enable USB UART configuration for smart valve implementation. Change-Id: I1032c9b4ff078b74168a6f47a0b428b3eb72d7e7 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-05-23meta-facebook: minerva: send command for enable POEYang Chen2-0/+39
Initial setting the UART device and send power source configuration command to STM32F for enable POE. Change-Id: Ic9adab1f9cd36a5aff6aac420c3da3bcc93ec706 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-05-22meta-facebook: yosemite4: Temporary disable control NIC main or aux modeDelphine CC Chiu2-18/+1
Temporary disable control NIC main/aux mode to avoid Host reboot when BMC reboot. Change-Id: If051e1bf49f535335df9abf268baebdef92205cc Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-20meta-facebook: Configure rotate behavior for redfish logDelphine CC Chiu1-0/+11
The redfish log dosen't rotate and it will fill up filesystem eventually. Configure rotation behavior for it. Tested: tested on yv4 system. Change-Id: Icc0904e36179a47c6ca1a8083d11f9a59fd9eca2 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-20meta-facebook: Revise rsyslog post rotationDelphine CC Chiu1-1/+1
rsyslog doesn't support reload, so the log rotation is not work. Changed to do restart. Tested: tested on yv4 system. Change-Id: I6b77af4bcbf83ff2dd914a8766e9f21a6a0afbb3 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-20meta-facebook: yosemite4: Add service for storage criticalDelphine CC Chiu3-1/+37
Add service for storage critical for health monitor. It will remove files /var/log/redfish and /home/root/ when threshold triggered. Change-Id: I5b9adc148dd8a0226fa56bbf8699121ceeb37723 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-15meta-facebook: yosemite4: add calibrated FIO temperature sensorsDelphine CC Chiu1-0/+280
Summary: Add virtual sensors to calibrate MB FIO temperature sensors with bellow table. For expample: if fan PWM exceed 30%, MB FIO temperature need to minus 0.6. Fan duty(%) Offset(C) 30 0.6 50 0.5 70 0.4 90 -0.1 100 -0.2 Tested: Check the calibrated MB FIO temperature sensors are created. Change-Id: Ifa33d4924e1aadd87d24d8527fe94c1bc9c6ebbd Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-15meta-facebook: meta-yosemite4: Adjust the fan numbering.Delphine CC Chiu2-432/+514
Summary: - Adjust the fan numbering to correspond with the chassis labels. - Thermal team tested and updated airflow calculation as below formula: Airflow = [(Sum of all fan speed reading)/24 *0.0725] – 14.5 Change-Id: Id63c5d2b0684b3eda62425be48f37dcafbffe30f Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-15meta-facebook: minerva: add 99-platform-initYang Chen2-0/+25
Add 99-platform-init to archive the following items: 1. Disable FMC_WDT2 AsT2600 uses the FMC_WDT2 register to archive the ABR feature. Use this script to disable FMC_WDT2 before the systemd starts. 2. Detect boot flash source Read the boot source for FMC_WDT2 and write into /run/media/slot 0: boot from primary source 1: boot from alternate source Change-Id: I1219b870381a7292394635f7ecc29040eac8f555 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-05-14meta-facebook: yosemite4: update fan tableDelphine CC Chiu1-30/+30
Description: Set feed forward gain to 0 to disable feed forward feature for the temperature sensors. Set the integralLimit_min and integralLimit_max so the integral value won't be zero. Test Case: 1. Check fan control service is functional. Change-Id: I2cf0c97581f9fdc424b04a022b566a5079ef2ce6 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-14meta-facebook: harma: support 2nd HSC sled cycle.Peter Yin1-18/+28
To support sled cycle for 2ND HSC source. Change-Id: Id51a7cf310d45db31572540d35bee7b7ab780ca6 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-05-11meta-facebook: harma: fixed ttyS3Peter Yin1-1/+2
root@harma:~# find / -iname *serial-getty\@ttyS3* /sys/fs/cgroup/system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS3.service /run/systemd/units/invocation:serial-getty@ttyS3.service /etc/systemd/system/getty.target.wants/serial-getty@ttyS3.service Change-Id: If97e95efd32272a0b88dd39dd3b1f6116e6dc04e Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-05-09meta-facebook: add tcpdump to all imagesPatrick Williams1-0/+1
Networking team asked for tcpdump to be added to facilitate debug operations. Add it to the set of debug-utilities we include by default. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie864fc23f8c22db33b41518a923185f4c737b99c
2024-05-08meta-facebook: yosemite4: Modified address of BIC power control IO EXPDelphine CC Chiu1-1/+1
The SD CPLD IO address has been changed to 0x24 to prevent conflicts with the BIC. Change-Id: I20ddfed063b650fd99e16623eca9a1d05f7b240f Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-08meta-facebook: yosemite4: Revise to 0 base to set NIC's EIDDelphine CC Chiu1-4/+4
The script to setup NICs' EID has changed to 0 base by a commit, the commit's hash: 178a2a2b4c1060abc4bea5f01042d6e8a67f4315. Change this setup script to fit that change. Also let the script call the service instead of the shell script. Change-Id: Ic4d660c8226e895de6eb4dfd4a6bd3788d4f1935 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-06meta-facebook: yosemite4: Modified code for power policyDelphine CC Chiu5-23/+26
Summary: We will using power control patch from gerrit 69903, so we add patch here. Modifed power policy behavior. Avoid gating DVT build. Motivation: Avoid power policy fail because of failed with result 'start-limit-hit'. Test Plan: 1. Build and test pass on YV4 system. pass Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: I2c2f4eba3a5757264ed2443b82266ef08cd407ae
2024-05-06meta-facebook: yosemite4: Add MCTP I3C and I3C HUB configDelphine CC Chiu1-1/+3
Add I3C hub config to enable I3C driver. Add MCTP I3C config so that BMC could communicate with BIC using pldm over mctp over i3c. Change-Id: I3d125ba7b9885ad03e19bdf7f9748c41891996b0 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-03meta-facebook: yosemite4: Control NIC main/aux modeChris Wang11-0/+417
Support NIC 1 switch to main mode when one of slot1 or slot2 Host's ACPI power status reach to S3. NIC 2 targets to slot3 and slot4, NIC 3 targets to slot5 and slot6, etc. Support NIC 1 switch to aux mode when slot1 and slot2 Host's ACPI power status are S4. NIC 3 targets to slot3 and slot4, NIC 3 targets to slot5 and slot6, etc. Tested: - Power off corresponding Hosts and check the NIC's power status. - Power on one of the corresponding Host and check the NIC's power status. - All NICs have been tested. Change-Id: I2e76ce3d18f81328789bb9a5d5be4025832b21e7 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-05-03meta-facebook: yosemite4: fix CXL EID missing issueDelphine CC Chiu1-7/+12
1. Extend EID scanning timeout to 60 seconds by the unstable CXL boot time. 2. Add error handling of EID retrieval. Tested on YV4 system. Change-Id: I46411c6007d15bf352909a2b7b1477826d7022ce Signed-off-by: Delphine CC Chiu <delphine_cc_chiu@wiwynn.com>
2024-05-01Setup NIC MCTP Endpoint after mctpd initializationChris Wang3-0/+44
Since NIC's Entity Manager configuration cannot store information of static EID for Yosemite4 platform, setup the NIC's MCTP Endpoint after mctpd is successfully initilized if the corresponding slot is plugged in. Change-Id: Ida647d60d7ed72897f641dd9783f0105c2a5c0d5 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-30meta-facebook: harma: add gpio presence monitoringDaniel Hsu3-0/+45
add gpio presence monitoring Testing: systemctl status phosphor-multi-gpio-presence.service ● phosphor-multi-gpio-presence.service - Phosphor Multi GPIO presence Loaded: loaded (/usr/lib/systemd/system/ phosphor-multi-gpio-presence.service; enabled; preset: enabled) Active: active (running) since Sun 2024-04-21 23:51:56 PDT; 3h 21min ago Main PID: 470 (phosphor-multi-) CPU: 49ms CGroup: /system.slice/phosphor-multi-gpio-presence.service └─470 /usr/bin/phosphor-multi-gpio-presence --config /usr/share/phosphor-gpio-monitor/ phosphor-multi-gpio-presence.json root@bmc:~# busctl tree xyz.openbmc_project.Inventory.Manager └─ /xyz └─ /... └─ /.../inventory └─ /.../inventory/system └─ /.../inventory/system/board └─ /.../inventory/system/board/Harma_MB ├─ /.../inventory/system/board/Harma_MB/presence_asic_modules_0 ├─ /.../inventory/system/board/Harma_MB/presence_asic_modules_1 ├─ /.../inventory/system/board/Harma_MB/presence_e1s_0 ├─ /.../inventory/system/board/Harma_MB/presence_e1s_1 └─ /.../inventory/system/board/Harma_MB/presence_ocp_0 Change-Id: I10c432c11415869ee8167fd07e7ec0b6105520be Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
2024-04-29meta-facebook: Limit times waiting for MCTP connectionDelphine CC Chiu3-6/+9
It shouldn't keep waiting for MCTP connection if mctpd somehow crashed. Limit it to wait for only 1 minutes. Change-Id: I7b6d70a849c4f2a6be2d7bfcab49ba1b2e152807 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-26fb-ipmi-oem: srcrev bump b48d6839ae..29985cb620Andrew Geissler1-1/+1
Delphine CC Chiu (1): configs: add configs for yosemite4 system Change-Id: I9bffdf66d9ea6f68c7a008360ac1faf26582fe5d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-04-25meta-facebook: Increase journal size to 10MBDelphine CC Chiu2-4/+4
There are many times we were trying to look into issues but the journal had been rotated. Increase size to 10MB so we can debug with more information in journal. Change-Id: I346508a5506101a9e22f12fcb257fc4a2dcb2fa9 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-25meta-facebook: minerva: setting mac address from eepromYang Chen2-0/+18
Add configuration in phosphor-network to get the mac address from FRU. Change-Id: I6c691aeaeb11731d6639bddf6cb2d77eb8af7b0e Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-04-24meta-facebook: minerva: Modify fan fault memberYi-Shum1-2/+5
Summary: Modify the members of fan fault group to two LEDs. Tested: - Assert/de-assert the fan fault led-manager and check the led ``` root@bmc:~# cat /sys/class/leds/fan_status_led/brightness 0 root@bmc:~# cat /sys/class/leds/fan_fault_led_n/brightness 0 root@bmc:~# busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/fan_fault xyz.openbmc_project.Led.Group Asserted b true root@bmc:~# cat /sys/class/leds/fan_status_led/brightness 1 root@bmc:~# cat /sys/class/leds/fan_fault_led_n/brightness 1 root@bmc:~# busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/fan_fault xyz.openbmc_project.Led.Group Asserted b false root@bmc:~# cat /sys/class/leds/fan_status_led/brightness 0 root@bmc:~# cat /sys/class/leds/fan_fault_led_n/brightness 0 ``` Change-Id: Ie6da366fffa8b39604d24c0d7fabadb3d79d16ed Signed-off-by: Yi-Shum <EasonChen1@quantatw.com>
2024-04-24meta-facebook: yosemite4: modify fan tableDelphine CC Chiu1-75/+3690
Description: Add fan table provided by thermal team for yosemite4. Test Case: 1. Check fan control service is functional. Change-Id: I17921097b2567441297651a87255d61c10f2dec0 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-23yosemite4: fix nic slot number from 0 to 3Potin Lai2-9/+9
Change the NIC slot number from 0 to 3 to meet with system definition. Change-Id: Ic7f10e8ca81c68ffe410ee2eae9e41b413986519 Signed-off-by: Potin Lai <potin.lai@quantatw.com>
2024-04-22meta-facebook: yosemite4: Add CONFIG_REGULATORDelphine CC Chiu1-0/+2
Add CONFIG_REGULATOR to yosemite4.cfg, triggering recompilation of the relevant code to ensure successful probing of max11615. Change-Id: I85c6c95cfe1971a1827d86d6d075ec908d1b369b Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-20meta-facebook: harma: phosphor-state-manager: enable host-gpioPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie0ed356908ab5e474760d1e0935e904a4f4c2001
2024-04-20meta-facebook: minerva: enable chassis power cycleYang Chen5-0/+89
Because CMM is without any host, we use the "Chassis" of the phosphor-state-manager which the chassis0 to indicate the "CMM sled power cycle" to control the CMM board only and the chassis1 to indicate the "CMM chassis power cycle" to control the entire system including CMM, compute, and network blades. Change-Id: I17cf0f3e711b35da2d264e1f2fcb2f44d7af26d0 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-04-18fb-ipmi-oem: remove header installPatrick Williams1-3/+1
No other applications should depend on the fb-ipmi-oem repository or its headers. Remove this install step. (If this were needed, it should show up as DEPENDS and be done in the Meson install.) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Idfb678179644302788e4159e63f04d9bb5a2a4ec
2024-04-18meta-facebook: harma: Add bios active versionPeter Yin2-0/+3
We can't retrieve the BIOS version from Redfish because the BIOS active property is null. Instead, we can get the BIOS version from /var/lib/fb-ipmi-oem/appData.json, which is updated by fb-ipmi-oem. Then, we write the version to the active property when the host post end. Test Plan: curl -u root:0penBmc -k -X GET https://10.10.12.102/redfish/v1/UpdateService/FirmwareInventory/bios_active |grep Version % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 483 100 483 0 0 2639 0 --:--:-- --:--:-- --:--:-- 2653 "Version": "F0M_1A04" Change-Id: Ia5f68ae9364f61c652ee328cab390804c2a65482 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-04-18meta-facebook: harma: add pcc configPeter Yin1-0/+6
Add PCC config to support AMD post code. Change-Id: Id68fb240f266bed881f3a4a2f4eb8ec2f6778e56 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
2024-04-17meta-facebook: yosemite4: Disable auto rebootDelphine CC Chiu2-3/+15
Disable autoReboot to avoid host unexpected host restarts. Change-Id: I03547c4e6df5253bc8c961181018ef4085b0b7ca Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-17meta-facebook: yosemite4: Extend more time for CXL boot upDelphine CC Chiu1-1/+1
There are still chance that the CXLs doesn't ready with the 30 seconds sleep. Extended to 40 seconds. Tested: Tested on YV4 system. Change-Id: I506c8d85d996fcd05fa0da4515efc7b820927f42 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-17fb-ipmi-oem: srcrev bump 7451903cdd..b48d6839aeAndrew Geissler1-1/+1
Peter Yin (1): appcommands: modify appData.json path Change-Id: I42bb9b6b1959577236ae1154f29cc7bbe3797e2d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-04-17meta-facebook: minerva: Enable RTC in the kernel configYang Chen1-0/+3
Enable RTC PCF8563 which is the new device starting from the EVT board. Change-Id: Ia92e148db48552966d7f36f7b15c1bb551438356 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-04-16meta-facebook: phosphor-state-manager: fix append directivePatrick Williams2-2/+2
`:append` calls usually need to have a space at the beginning since it does a literal direct append of the string. Without this we end up with an invalid PACKAGECONFIG of "only-allow-boot-when-bmc-readyno-warm-reboot". Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9a1f302b1b9c64b32dd6f32a1925d41916e2969f
2024-04-16meta-facebook: minerva: change the naming of the console idYang Chen1-2/+2
Since the CMM blade does not have a host, changing the console ID name from host0 to compute-blade, as the former may confuse users. Change-Id: I1f23a6677f04a535560e3c88eb3b2e7c58858bce Signed-off-by: Yang Chen <yang.chen@quantatw.com>
2024-04-15meta-facebook: yosemite4: Rescan WF BIC and CXL EIDDelphine CC Chiu7-8/+93
The WF BIC and CXL might not ready when BMC setting up MCTP network. Add rescan mechanism to make sure it get the EIDs. Change-Id: I7d57f549a4b7c9441eadab08d4df0d1e4b46e4d1 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2024-04-15treewide: linux: remove cfg files from SRC_URIPatrick Williams1-1/+0
When using a `feature.scc` file it is not necessary to also include the corresponding `feature.cfg` file in the `SRC_URI` field. Remove them to clean up. [1]: https://docs.yoctoproject.org/kernel-dev/advanced.html#recipe-space-metadata Tested: Built on Yosemite4 and observed MCTP configure options are still enabled. ``` root@yosemite4:~# zcat /proc/config.gz | grep MCTP CONFIG_MCTP=y CONFIG_MCTP_FLOWS=y # MCTP Device Drivers CONFIG_MCTP_SERIAL=y CONFIG_MCTP_TRANSPORT_I2C=y # end of MCTP Device Drivers ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I76656cf9fbbe5cd2ac44f90c46b391111ca72410
2024-04-15harma: gpio monitor: Add logging functionDaniel Hsu5-8/+164
Summary: 1. Add general gpio logging function 2. Add gpio pins to monitor Test Plan: Trigger a new GPIO pin (leakage-detect-alert) and check SEL by Redfish command Testing: { "@odata.id": "/.../EventLog/Entries", "@odata.type": "#LogEntryCollection.LogEntryCollection", "Description": "Collection of System Event Log Entries", "Members": [ { "@odata.id": "/.../EventLog/Entries/1", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/.../EventLog/Entries/1/attachment", "Created": "2024-04-15T08:13:36.320+00:00", "EntryType": "Event", "Id": "1", "Message": "xyz.openbmc_project.Logging.Error.LogsCleared", "Modified": "2024-04-15T08:13:36.320+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "OK" } ], "Members@odata.count": 1, "Name": "System Event Log Entries" } { "@odata.id": "/.../EventLog/Entries", "@odata.type": "#LogEntryCollection.LogEntryCollection", "Description": "Collection of System Event Log Entries", "Members": [ { "@odata.id": "/.../EventLog/Entries/1", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/.../EventLog/Entries/1/attachment", "Created": "2024-04-15T08:13:36.320+00:00", "EntryType": "Event", "Id": "1", "Message": "xyz.openbmc_project.Logging.Error.LogsCleared", "Modified": "2024-04-15T08:13:36.320+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "OK" }, { "@odata.id": "/.../EventLog/Entries/2", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/.../EventLog/Entries/2/attachment", "Created": "2024-04-15T08:14:07.446+00:00", "EntryType": "Event", "Id": "2", "Message": "leakage-detect-alert gpio assert", "Modified": "2024-04-15T08:14:07.446+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "Critical" } ], "Members@odata.count": 2, "Name": "System Event Log Entries" Change-Id: I341c9ba0ee8434da41f4a6535c0253de01cf42e5 Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
2024-04-03meta-facebook: yosemite4: Enable all fan input initiallyAllen.Wang2-0/+13
Summary: Fan controller need a time interval to count fan speed,to read fan speed immediately after enable fan input will get a fake zero reading. Enable all fan input to prevent bmc log fan sensor read 0 value and logging critical low threshold assert during SLED cycle. Tested: Tested pass on yosemite4 system. Before change: Log a fake low threshold assert and it deaaset 1 sec later due to fan controller success to read an actual reading { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/13", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/13/attachment", "Created": "2023-12-15T20:25:29.312+00:00", "EntryType": "Event", "Id": "13", "Message": "FANBOARD0_FAN0_TACH_IL critical low threshold assert. Reading=0.000000 Threshold=1000.000000.", "Modified": "2023-12-15T20:25:29.312+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "Critical" }, { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/15", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/15/attachment", "Created": "2023-12-15T20:25:30.226+00:00", "EntryType": "Event", "Id": "15", "Message": "FANBOARD0_FAN0_TACH_IL critical low threshold deassert. Reading=15603.000000 Threshold=1000.000000.", "Modified": "2023-12-15T20:25:30.226+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "OK" }, { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/14", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/14/attachment", "Created": "2023-12-15T20:25:30.187+00:00", "EntryType": "Event", "Id": "14", "Message": "FANBOARD0_FAN0_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13915.000000.", "Modified": "2023-12-15T20:25:30.187+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "Warning" }, After change: No fake low threshold assert/deassert occurs during sled cycle cat sledcycle.log|grep FANBOARD [2024-04-03 12:07:15.363] "Message": "FANBOARD0_FAN1_TACH_OL warning high threshold assert. Reading=13466.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.392] "Message": "FANBOARD0_FAN1_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.413] "Message": "FANBOARD0_FAN0_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.413] "Message": "FANBOARD0_FAN2_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.424] "Message": "FANBOARD0_FAN2_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.441] "Message": "FANBOARD0_FAN0_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.441] "Message": "FANBOARD1_FAN1_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.455] "Message": "FANBOARD1_FAN1_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.455] "Message": "FANBOARD1_FAN0_TACH_OL warning high threshold assert. Reading=13466.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.471] "Message": "FANBOARD1_FAN2_TACH_OL warning high threshold assert. Reading=13466.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.488] "Message": "FANBOARD1_FAN2_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.488] "Message": "FANBOARD1_FAN0_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.503] "Message": "FANBOARD0_FAN4_TACH_OL warning high threshold assert. Reading=13107.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.503] "Message": "FANBOARD0_FAN4_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.515] "Message": "FANBOARD0_FAN3_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.531] "Message": "FANBOARD0_FAN5_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.531] "Message": "FANBOARD0_FAN5_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.548] "Message": "FANBOARD0_FAN3_TACH_IL warning high threshold assert. Reading=15855.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.565] "Message": "FANBOARD1_FAN4_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.565] "Message": "FANBOARD1_FAN4_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.581] "Message": "FANBOARD1_FAN3_TACH_OL warning high threshold assert. Reading=14672.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.581] "Message": "FANBOARD1_FAN5_TACH_OL warning high threshold assert. Reading=13284.000000 Threshold=11970.000000.", [2024-04-03 12:07:15.595] "Message": "FANBOARD1_FAN5_TACH_IL warning high threshold assert. Reading=15855.000000 Threshold=13140.000000.", [2024-04-03 12:07:15.601] "Message": "FANBOARD1_FAN3_TACH_IL warning high threshold assert. Reading=15603.000000 Threshold=13140.000000.", Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com> Change-Id: I803dc113624c3693fde8f12e5c0aadd339d6dd0b
2024-04-03state-manager: remove no-warm-reboot defaultAndrew Geissler3-2/+3
Most systems are fine with supporting a warm reboot so don't make it a default. Change-Id: Ifb906f0b0d81b97265b6b6a79104408161bded7e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>