summaryrefslogtreecommitdiff
path: root/meta-facebook
AgeCommit message (Collapse)AuthorFilesLines
2023-04-24fb-ipmi-oem: srcrev bump 4ae63e71c5..7430e8d26aAndrew Geissler1-1/+1
Delphine CC Chiu (1): usb-dbg: critical sel frame: Support critical sel show on debug card Change-Id: I39bc1b1a74e35e69724cc4492b6e35498c24f3c1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-24meta-facebook: greatlakes: Support ocp debug card postcode configDelphine CC Chiu1-0/+5
Description: - As title Change-Id: I26e174d63fe06c2eb1ebb142a8b7bfe0c0c89381 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-04-21Add socket-id for the first consoleNinad Palsule1-0/+1
This drop adds socket-id for first console. This was left out before but with the new design this parameter is required and enforced by obmc-console code. It is decided to set "socket-id = console0" initially because that is the current path used by bmcweb but in future you can change this value to whatever is appropriate. The console information is now available through the DBUS interface. Each console server register it's object path on DBUS. The leaf node of the object path is used to create a console path. For example in the following console0 the leaf node "console0" is used to make up the console path and the GUI will use console path "/console/console0" to connect to the console. busctl tree xyz.openbmc_project.Console.console0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/console `-/xyz/openbmc_project/console/console0 Here is a discord thread where new design was discussed. https://discord.com/channels/775381525260664832/1083551792094249051 Tested: Tested on the rainier system. Related commits: 1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486 2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496 3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525 Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
2023-04-21meta-phosphor: obmc-console: Convert recipe to mesonAndrew Jeffery1-1/+1
Upstream obmc-console now supports the meson build system. I consider the autotools build system deprecated and intend to remove it. Change-Id: Ic8eea195bee0b3bea1cb9418593596ce1aaceeae Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-04-14meta-facebook: greatlakes: shellcheck fixesPatrick Williams2-3/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifcfed957ff406235a657e02179ee5dffe1c565c3
2023-04-14meta-facebook: fix up new shellcheck warningsAndrew Geissler5-10/+10
New docker container is flagging some issues in this shell script: ``` SC2004 (style): $/${} is unnecessary on arithmetic variables. SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). ``` Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I9806a097ca417d8677374efd666f2a8865a0a2fd
2023-04-13meta-facebook: switch to openssh on BletchleyPatrick Williams1-1/+7
We expect to run openssh on production systems at Meta, so switch Bletchley over to run openssh. We will eventually move other systems as well but first need to unravel the dropbear/obmc-console dependency. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2cad0ca17883876c2cd4e8fcce6649b7a4f22c8e
2023-04-11meta-bletchley: add bletchley-net-utilPotin Lai2-0/+104
Add bletchley-net-util for link status checking and port registers dumping. Test results: - show link status ``` root@bmc:~# bletchley-net-util --link-st ======================================== Link Status ======================================== Switch: Port 10 (BMC): up Port 3 (SLED1): down Port 2 (SLED2): down Port 1 (SLED3): down Port 7 (SLED4): up Port 6 (SLED5): down Port 5 (SLED6): down Retimer: Inner Port (XFI): up Outer Port (SFI): up ======================================== ``` - show port registers dumping ``` root@bmc:~# bletchley-net-util --port-reg-dump ======================================== Port 10 (BMC) **************************************** [00]: 0F4D [01]: 0003 ... [1E]: 0000 [1F]: 005D ======================================== ======================================== Port 3 (SLED1) **************************************** [00]: 100F [01]: 0003 ... [1E]: 0000 [1F]: 0000 ======================================== ======================================== Port 2 (SLED2) **************************************** [00]: 100F [01]: 0003 ... [1E]: 0000 [1F]: 0000 ======================================== ======================================== Port 1 (SLED3) **************************************** [00]: 100F [01]: 0003 ... [1E]: 0000 [1F]: 0000 ======================================== ======================================== Port 7 (SLED4) **************************************** [00]: DE4F [01]: 0003 ... [1E]: 0000 [1F]: 0166 ======================================== ======================================== Port 6 (SLED5) **************************************** [00]: 100F [01]: 0003 ... [1E]: 0000 [1F]: 0000 ======================================== ======================================== Port 5 (SLED6) **************************************** [00]: 100F [01]: 0003 ... [1E]: 0000 [1F]: 0000 ======================================== ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ic4464c0b466b4d6c02246d013fc4d99ca857cbdc
2023-03-31meta-facebook: switch to static-norootfs layoutPatrick Williams3-0/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie8cb1db003e1ebc09e601ec0497d4e062841b830
2023-03-30fb-ipmi-oem: srcrev bump 5a4537b897..4ae63e71c5Andrew Geissler1-1/+1
Bonnie Lo (1): IPMI OEM Get 80 Port Record Delphine CC Chiu (1): IPMI OEM: Fix that the boot order we get by IPMI is not the same as we set Jayashree Dhanapal (1): IPMI OEM BIC - Clear CMOS Change-Id: I1d79cd079d4c32a86db594efe46e02fdc15cdeee Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-30meta-facebook: greatlakes: Pass POST_CODE_BYTES to fb-ipmi-oemDelphine CC Chiu1-0/+1
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: I2733a2c50fb68ed5c106365c7572c0c99f69616b
2023-03-30meta-facebook: greatlakes: add post code byte definition in greatlakes.confDelphine CC Chiu1-0/+1
Description: - Add post code byte definition in greatlakes.conf. Design: - Originally, there is a default value(1) to define how many bytes post code that CPU sends each time in phosphor-host-postd - Define a parameter in conf file to tell BMC the exact post code size in this platform - Moreover, if other Repo. needs this information, it could direclty use in bbappend Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: Ia525e69ed0c02106a0e6ebbc8269068f55b5b51b
2023-03-29meta-facebook: add dbus-top to images by defaultPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0a1df8274fe4fd948e4e92ebdcf2aca5adb13c4b
2023-03-27meta-facebook: switch '/usr/libexec' to libexecdirPatrick Williams3-7/+7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6263aa9f0c24f53494ffc42d233bf2bd48f0c96a
2023-03-27meta-facebook: switch '/usr/share' to datadirPatrick Williams4-7/+7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7b3ad5e0a59424110790ae53cacceee4d7d4a646
2023-03-22meta-bletchley: remove bletchley-switch-diag toolPotin Lai2-41/+0
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I7b26c6ed3bebe259eeb2787420b682273a168082
2023-03-20meta-facebook: format JSON with prettierPatrick Williams3-95/+86
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib44e34dca94b94a04e47f638ef1e9bd5b8920ece
2023-03-20meta-facebook: greatlakes: Support phosphor-multi-gpio-monitor configDelphine CC Chiu3-0/+44
Description: - config for set current host state. Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: Iacd4df5c6357c6e5be2e192832351b0b9c1d9f61
2023-03-17meta-facebook: greatlakes: Set 12V and host power stateDelphine CC Chiu12-145/+240
Description: - Set 12V and host power state. Design: - Use i2c bus 12 address 0xf register 0x25 to detect 12V state - Register gpio interrupt to set host power state when 12V off - Set correct state on CurrentHostState property for host status after doing host power control - Set correcr state on CurrentPowerState property for 12V status after doing 12V power control Test Case: 1. 12V off - pass 2. 12V on - pass 3. 12V cycle - pass 4. sled cycle - pass Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: I4ccdec0a98037fd6ff405b2f534bb897d0e2e010
2023-03-17meta-facebook: greatlakes: add draft fan tableBonnie Lo2-0/+115
Description: - Add draft fan table for Great Lakes. - Will set all PWMs to 70%. Design: - Add draft fan table to the default path for phosphor-pid-control service. Test Case: 1. Check status of phosphor-pid-control service. root@greatlakes:~# systemctl status phosphor-pid-control -l ... Mar 09 04:40:55 greatlakes swampd[2808]: Zone Id: 1 Mar 09 04:40:55 greatlakes swampd[2808]: PID name: Stepwise_BB_INLET_TEMP_C Mar 09 04:40:55 greatlakes swampd[2808]: inputs: BB_INLET_TEMP_C, Mar 09 04:40:55 greatlakes swampd[2808]: PID name: fan0 1 2 3 Mar 09 04:40:55 greatlakes swampd[2808]: inputs: BB_FAN0_TACH_RPM, BB_FAN1_TACH_RPM, BB_FAN2_TACH_RPM, BB_FAN3_TACH_RPM, Mar 09 04:40:55 greatlakes swampd[2808]: pushing zone 1 Mar 09 04:40:55 greatlakes swampd[2808]: PID Zone 1 max SetPoint 70 requested by Stepwise_BB_INLET_TEMP_C BB_FAN0_TACH_RPM BB_FAN1_TACH_RPM BB_FAN2_TACH_RPM BB_FAN3_TACH_RPM 2. Check fan PWM was set to 70%. root@greatlakes:~# busctl get-property \ xyz.openbmc_project.FanSensor \ /xyz/openbmc_project/sensors/fan_pwm/Pwm_1 \ xyz.openbmc_project.Sensor.Value Value d 69.8039 root@greatlakes:~# busctl get-property \ xyz.openbmc_project.FanSensor \ /xyz/openbmc_project/sensors/fan_pwm/Pwm_2 \ xyz.openbmc_project.Sensor.Value Value d 69.8039 root@greatlakes:~# busctl get-property \ xyz.openbmc_project.FanSensor \ /xyz/openbmc_project/sensors/fan_pwm/Pwm_3 \ xyz.openbmc_project.Sensor.Value Value d 69.8039 root@greatlakes:~# busctl get-property \ xyz.openbmc_project.FanSensor \ /xyz/openbmc_project/sensors/fan_pwm/Pwm_4 \ xyz.openbmc_project.Sensor.Value Value d 69.8039 Change-Id: Id2240fe7d2f4dd6521ef88fce8f95f221988ee4c Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-03-17meta-facebook: Support airflow sensorDelphine CC Chiu1-0/+73
Support airflow sensor for single/duo rotor(per fan) unit. Tested: Get airflow sensor reading from D-bus. Change-Id: Icac292f79f58a9c60df754cc24ad3ad6606cfceb Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-03-11meta-facebook: add BMC compatible strings for all platformsPatrick Williams4-0/+8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Idedb1dd9459b649cacbbb31284e137cc3f52327c
2023-03-11meta-facebook: enable com.meta dbus interfacesPatrick Williams1-0/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20bf3e8a7dc9bb18447e5d9c991157b6ad65282f
2023-03-10meta-bletchley: phosphor-nvme: add nvme config scriptPotin Lai3-0/+93
In Bletchley, we use PCIE_PWR_EN pin as NVME power good pin from each interposer board. Because PCIE_PWR_EN is form the I/O expander, it won't have fixed GPIO pin number. Add script to generate a nvme_config.json with correct GPIO pin number before nvme management service start. Tested: - nvme_config.json generated ``` root@bletchley:~# cat /etc/nvme/nvme_config.json { "config": [ { "NVMeDriveIndex": 1, "NVMeDriveBusID": 0, "NVMeDrivePwrGoodPin": 779 }, { "NVMeDriveIndex": 2, "NVMeDriveBusID": 1, "NVMeDrivePwrGoodPin": 759 }, { "NVMeDriveIndex": 3, "NVMeDriveBusID": 2, "NVMeDrivePwrGoodPin": 739 }, { "NVMeDriveIndex": 4, "NVMeDriveBusID": 3, "NVMeDrivePwrGoodPin": 719 }, { "NVMeDriveIndex": 5, "NVMeDriveBusID": 4, "NVMeDrivePwrGoodPin": 699 }, { "NVMeDriveIndex": 6, "NVMeDriveBusID": 5, "NVMeDrivePwrGoodPin": 679 } ], "threshold": [ { "criticalHigh": 68, "criticalLow": 0, "warningHigh": 67, "warningLow": 1, "maxValue": 127, "minValue": -127 } ] } ``` - nvme sensor available (host on) ``` root@bletchley:~# busctl introspect xyz.openbmc_project.nvme.manager \ < /xyz/openbmc_project/sensors/temperature/nvme6 \ < xyz.openbmc_project.Sensor.Value NAME TYPE SIGNATURE RESULT/VALUE FLAGS xyz.openbmc_project.Sensor.Value interface - - - .MaxValue property d 127 emits-change writable .MinValue property d -127 emits-change writable .Unit property s "xyz.openbmc_project.Sensor.Value.Uni... emits-change writable .Value property d 36 emits-change writable root@bletchley:~# busctl introspect xyz.openbmc_project.nvme.manager \ > /xyz/openbmc_project/sensors/temperature/nvme6 \ > xyz.openbmc_project.State.Decorator.Availability NAME TYPE SIGNATURE RESULT/VALUE FLAGS .Available property b true emits-change writable ``` - nvme sensor not available (host off) ``` root@bletchley:~# busctl introspect xyz.openbmc_project.nvme.manager \ > /xyz/openbmc_project/sensors/temperature/nvme6 \ > xyz.openbmc_project.Sensor.Value NAME TYPE SIGNATURE RESULT/VALUE FLAGS .MaxValue property d 127 emits-change writable .MinValue property d -127 emits-change writable .Unit property s "xyz.openbmc_project.Sensor.Value.Uni... emits-change writable .Value property d -127 emits-change writable root@bletchley:~# busctl introspect xyz.openbmc_project.nvme.manager \ > /xyz/openbmc_project/sensors/temperature/nvme6 \ > xyz.openbmc_project.State.Decorator.Availability NAME TYPE SIGNATURE RESULT/VALUE FLAGS .Available property b false emits-change writable ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I2cda2e5e252fdfdd66ba6f9e0ea006c425cbf43b
2023-03-10meta-bletchley: elimiate gpiomon event messagesPotin Lai1-1/+1
Add silent option to elimiate event log messages from gpiomon command. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I15726bdeb510b7b7771a040656a41d84aae64d7f
2023-03-10meta-bletchley: move chassis and host power control service into ↵Potin Lai13-35/+57
phosphor-state-manager Move chassis and host power control services as part of PSM package to align with other platforms in meta-facebook. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I6e6afc0ad62d3b872b330202a4696b704d245911
2023-03-03meta-facebook: greatlakes: System state initializationDelphine CC Chiu5-0/+114
Description: - System state initialization. Design: - Use script to determine 12V and host current state 12V: use BMC gpio host: Use BIC gpio - Set correct state on CurrentHostState property for host status - Set correcr state on CurrentPowerState property for 12V status Test Case: 1. 12V on and host off 2. 12V on and host on 3. 12V off and host off Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: Ibff1f6e79290cfb39dc5442c240e324b38c18ecd
2023-02-28meta-facebook: enable Busybox wall for flashyPatrick Williams2-0/+2
The `flashy` utility expects `wall` to be present. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie765bc47f1e872f34ae092cfb0a57ef88ab17f87
2023-02-24meta-bletchley: use gpiomon instead of polling gpio valuePotin Lai3-32/+22
Remove gpio polling of switch detect pin in power-ctrl and motor-init. Use gpiomon and timeout commands instead to improve performance and timing issue. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I9e1eb26b070a57f424b341890733dc63c170bf79
2023-02-24meta-facebook: busybox: add timeout commandPotin Lai2-0/+6
Add extra config to enable timeout command feature. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I0754e75856794d9a6cb3ec476d6ad5dd88d97739
2023-02-16meta-facebook: bletchley: reduce mapper-waitsPatrick Williams2-42/+30
There is not much value in the mapper-wait invocations since the providing service is well-known. Wait directly on the service. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9be5922229778faedf3cd6b85fba928866583672
2023-02-14treewide: remove Logging service dependenciesBrad Bishop1-2/+0
The logging service is dbus activated now, so explicitly declaring dependencies is unnecessary and redundant. Change-Id: I87d61fbeb04a251caf88aa86cb21631e7fc2a1c4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2023-02-14meta-phosphor: mapper cleanupsBrad Bishop1-2/+0
Mapper ships with systemd unit and dbus configuration files now, so remove unnecessary bitbake classes. Mapper is dbus-activated, so obmc-mapper.target dependencies are redundant and no longer necessary. obmc-mapper.target is the last target in obmc-targets, so remove that recipe and any dependencies on it. Change-Id: I59ff8dcd480b4449d0ef59422ba80c12848dade9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2023-02-13Revert "meta-bletchley: phosphor-network: temporary revert SRCREV"Patrick Williams1-2/+0
This reverts commit 7503b441052575d49568f80c236a228edc8d2aae. There is a proposed fix now in phosphor-networkd as change Icf18e3d80f6d1f8c4567603fe51d774e9090334c. Remove the bletchley-specific SRCREV in prep for the merge of this commit. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ida0b77f5bf0cc6a94e2341888b545a4226e59bf8
2023-02-10meta-bletchley: add 99-platform-initPotin Lai2-0/+25
Add 99-platform-init to archive following items 1. Disable FMC_WDT2 AST2600 use FMC_WDT2 to archive ABR feature. Disable FMC_WDT2 before systemd start. 2. Detect boot flash source Write boot source into /run/media/slot 0: boot from primary 1: boot from alternate Tested result: - In u-boot, FMC_WDT2 is enabled and timer is counting down ``` U-Boot 2019.04 (Nov 10 2022 - 00:12:58 +0000) SOC: AST2620-A3 RST: WDT1 SOC PCI RST: #2 RST: External FMC 2nd Boot (ABR): Enable, Dual flashes, Source: Primary Set FMC_WDT2 timer reload value to 0x0BB8 eSPI Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RMII/NCSI, MAC1: RMII/NCSI, MAC2: RGMII, MAC3: RMII/NCSI Model: Facebook Bletchley BMC DRAM: already initialized, 2 GiB (capacity:2048 MiB, VGA:0 MiB, ECC:off) MMC: Loading Environment from SPI Flash... SF: Detected w25q01jv with page size 256 Bytes, erase size 4 KiB, total 128 MiB *** Warning - bad CRC, using default environment In: serial@1e784000 Out: serial@1e784000 Err: serial@1e784000 Model: Facebook Bletchley BMC Net: Could not get PHY for eth2: addr 0 Failed to initialize PHY: -19 eth-1: ftgmac@1e670000 Hit any key to stop autoboot: 0 ast# md.l 0x1e620064 2 1e620064: 00000001 0b560bb8 ......V. ``` - After BMC boot into Linux OS, FMC_WDT2 is disabled ``` bletchley login: root Password: root@bletchley:~# devmem 0x1e620064 0x00000000 root@bletchley:~# devmem 0x1e620068 0x0BB80BB8 ``` - check boot source (primary) ``` root@bletchley:~# cat /run/media/slot 0 ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: If5e41dd9745ba5c4ec45637772136e847954c56e
2023-02-10meta-facebook: bletchley: board-type-checker: use /var/lib for sensor configPatrick Williams1-1/+5
phosphor-virtual-sensors now supports loading the config json from a `/var/lib` as high precedence over `/usr/share` and since `/var` is a writable file system, we should prefer this location for adding the config symlink. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Idfddd091e126b812ac68bbd06acc626ee137e437
2023-02-10meta-facebook: enable static no-rootfs image for bletchleyPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iab4db4492e15f0c637fb5f9c0ba7fd93a4471d4c
2023-02-09meta-facebook: systemd: remove watchdog overridePatrick Williams2-17/+0
Watchdog enable is now handled at a meta-phosphor level. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I47f3e9c33ba4b010e703ed550e6b2801c8d08337
2023-02-09meta-bletchley: phosphor-state-manager: fix BMC not readyPotin Lai1-0/+8
Temproary workaround for fixing some services stuck on waiting non-existing objecj path. phosphor-reset-chassis-running@{}.service |--> mapper-wait@-org-openbmc-control-power%i.service Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I61130d03b7cabc3cc94c662062b19526b4a50a8a
2023-02-09meta-bletchley: apply power restore policy when host ac-onPotin Lai1-0/+1
We need to apply power restore policy when host ac from off to on. Add post command in host-ac-on@.service to restart phosphor-discover-system-state@.service. Tested results: ``` root@bletchley:~# busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host6/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOn root@bletchley:~# busctl get-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host6/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s "xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOn" root@bletchley:~# obmcutil -i=6 chassisoff root@bletchley:~# obmcutil -i=6 state CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Ready CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.Off CurrentHostState : xyz.openbmc_project.State.Host.HostState.Off BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive root@bletchley:~# obmcutil -i=6 chassison root@bletchley:~# obmcutil -i=6 state CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Ready CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.On CurrentHostState : xyz.openbmc_project.State.Host.HostState.Running BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive ``` Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I57dd159725dd75da651beec2c72410c187f9fc17
2023-02-08meta-bletchley: phosphor-pid-control: remove fan configurationPotin Lai2-350/+1
Move fan configuration to EM. This commit relies on the commit listed below: https://gerrit.openbmc.org/c/openbmc/entity-manager/+/59525 Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ie04abd9b64af8270ee74d764fd687d83daf67676
2023-02-06meta-bletchley: update led manager configPotin Lai1-32/+109
Update led manager config to match the new LED behavior table. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ie7db06c4cff51455fe970e7bee8e4ae935a4a225
2023-02-04fb-ipmi-oem: srcrev bump 41027b9698..5a4537b897Andrew Geissler1-1/+1
Delphine CC Chiu (1): usb-dbg: Support sensor out of threshold message present Kumar Thangavel (1): IPMI OEM BIC - Get Bios Flash Size Potin Lai (1): configs: bletchley: fix post_desc.json issue Change-Id: I26cdd92818c4092e60a38661fa50fbee295d195f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-03meta-facebook: rsyslog: update packageconfigPotin Lai1-1/+1
Add klog and imfile support required by internal rsyslog configuration. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I97769996fdcf285f3776e3b18dbb85ec0e1ed617
2023-02-03meta-facebook: support hardware watchdogBonnieLo-wiwynn1-4/+4
Append exiting systemd config under recipes-core for all facebook platform. Tested: tested and verified on greatlakes platform. Change-Id: If723c65de35995e545393c577c41979c11399373 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-02-03meta-facebook: phosphor-ipmi-config: update channel_configPotin Lai1-0/+143
Fill up the unconfigured channels and keep it as "RESERVED" Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Iba4a2ea26720ce32f8f19de422f34f452134e608
2023-02-02greatlakes: Fix NIC OTP 12V off bugDelphine CC Chiu3-10/+12
BMC should 12V-off GL once NIC temperature exceed UNR threshold, the OTP triggered but didn't link to the 12V-off service. The root cause is the pkg_postinst was for ${PN} (i.e., phosphor-fan), but meta-facebook only required "sensor-monitor", which is the sub-package in phosphor-fan. We also fixed some misspelling and deleted unused statement for folder creation. Note: - Customized meson config for specific project were also be added. Test Case: - When NIC temperature touch the UNR threshold, all four slot should 12V Off. --pass Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: Ic86f0571ce8fbfeef3774cbed9036b58a48d638f
2023-02-02meta-facebook: Move phoshphor-state-manager scripts into subdirectoryDelphine CC Chiu16-23/+23
Description: Move scripts under /usr/libexec/ to /usr/libexec/phosphor-state-manager/. Test Case: Check file path under BMC console. Change-Id: Ia4178b62653e90dd6e0ae567df693f03468257bb Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-02-02meta-facebook: Add service for power control initialization in ↵Delphine CC Chiu3-1/+46
phosphor-state-manager Description: Add service to for power control initialization use. Test Case: Get corresponding BMC register configuration. Change-Id: I8d227da66ddca4e38142744606ee130c1ce7aa7f Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-02-02meta-facebook: phosphor-state-manager: support host power reset and chassis ↵Delphine CC Chiu7-4/+128
power cycle Summary: Add service and script to support host reset and chassis power cycle. Tested: Change property to trigger host and chassis target and check the power status. Change-Id: Ie21903f5bc5bbebeaf31153c52d1605cd35619a0 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>