Age | Commit message (Collapse) | Author | Files | Lines |
|
The targets are within the phosphor-state-manager repository so the
relationship between them should be defined within the corresponding
recipe.
Adding these to phosphor-state-manager also allows us to remove the
duplicate logic in the bletchley layer.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I8bc789ed25a937ed38840e398dd728782f8f368b
|
|
For Bletchley, the flash is not embedded on the Chassis Controller
Board (CCB), and the phosphor-network is only sync MAC address on first
boot by default, the BMC may use the wrong MAC address after replacing
the CCB.
Enable the force-sync-mac option to ensure that the BMC loads the
correct MAC address from the CCB on every boot.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ic55c5a11bea89618c429f855f2791e94e2c17a81
|
|
Bonnie Lo (1):
appcommands: support multi-host set/get fw version
Change-Id: Id2fbed8ae2572617c303c338cf12517cefbe3110
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Enable lamp testing feature for Bletchley (and all other systems).
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9bfb937a46bd1784bf156d459536ea060e572dc8
|
|
Add timezone support for all systems.
Tested on bletchley:
root@bletchley:~# timedatectl | grep "Time zone"
Time zone: PST8PDT (PDT, -0700)
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ic1e6da1cf4e84d2b0a907fd0969dd290fef30153
|
|
When using PSM, phosphor-fan is not responsible for installing
some of the target files and bitbake fails with two packages
installing the same files. Add some detection as a quick workaround
so that Greatlakes can successfully build.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Idf7b49baa9a030cbf5afc983459d66f2557e085b
|
|
Support power and thermal sensor in `redfish/v1/chassis/{board_name}/sensor`.
Tested:
Check redfish `redfish/v1/chassis/{board_name}/sensor` API
Signed-off-by: DelphineCCChiu <Delphine_CC_Chiu@wiwynn.com>
Change-Id: If72f685810c43381fffb2dabbe651c5b9f995e7f
|
|
Added machine layer support for greatlakes to support control the
BMC, Chassis, and Host. It supports requests to power on and off
the system by the user.
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Ie62cc289783d47d8b50cd0c555157749f160c253
|
|
Add a log only warning threshold at 70% memory usage.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I74c49efeaedacff20f59a646c2a8e37ec76b5e7f
|
|
Introduce mdio-tools package to replace mdio-util script.
This commit relies on the linux kernel patch below.
LINK: https://lore.kernel.org/all/20221025055046.1704920-1-potin.lai.pt@gmail.com/
Tested Result:
Check host status by power-ctrl which will call mdio internally.
root@bletchley:~# power-ctrl sled6 status
On
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I482dde297acb7797896d9b7ae07580104fb21540
|
|
The Host on Bletchley doesn't support IPMI and ME feature.
Disable ME support for Bletchley.
This commit relies on the patch below:
https://gerrit.openbmc.org/c/openbmc/fb-ipmi-oem/+/58233
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I753c07af0ea58c45ace837a4ddffd1b64a879184
|
|
Bonnie Lo (1):
biccommands: post code handler
Potin Lai (3):
usb-dbg: modify HostSelector interface
usb-dbg: add meson option for enabling ME support
usb-dbg: get MaxPostion from DBus
Change-Id: I3669f106420f3f5656d58077379ceda3aa607ed6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
TESTED : Verified phosphor-gpio-monitor package enabled for
facebook platforms.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: If5aae60ab27d8be4c0204df82b06af23df7f707d
|
|
Add a service for monitoring host power state by query port status via
mdio bus.
Test Results:
- Poweron SLED6
root@bletchley:~# obmcutil -i=6 poweron
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
root@bletchley:~# journalctl -u bletchley-host-state-monitor
...
Oct 24 07:55:17 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 5
Oct 24 07:55:18 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 4
Oct 24 07:55:22 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 5
Oct 24 07:55:23 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 4
Oct 24 07:55:27 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 5
Oct 24 07:55:29 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 4
Oct 24 07:55:30 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 3
Oct 24 07:55:31 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 2
Oct 24 07:55:33 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 1
Oct 24 07:55:34 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed, update host state to ON
- Poweroff SLED6
root@bletchley:~# obmcutil -i=6 poweroff
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:~# journalctl -u bletchley-host-state-monitor
Oct 21 09:38:21 bletchley systemd[1]: Started Bletchley host state monitoring.
...
Oct 24 07:55:17 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 5
Oct 24 07:55:18 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 4
Oct 24 07:55:22 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 5
Oct 24 07:55:23 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 4
Oct 24 07:55:27 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 5
Oct 24 07:55:29 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 4
Oct 24 07:55:30 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 3
Oct 24 07:55:31 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 2
Oct 24 07:55:33 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:OFF, current:ON), check count: 1
Oct 24 07:55:34 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed, update host state to ON
Oct 24 08:03:38 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:ON, current:OFF), check count: 5
Oct 24 08:03:39 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:ON, current:OFF), check count: 4
Oct 24 08:03:40 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:ON, current:OFF), check count: 3
Oct 24 08:03:42 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:ON, current:OFF), check count: 2
Oct 24 08:03:43 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed (previous:ON, current:OFF), check count: 1
Oct 24 08:03:44 bletchley bletchley-host-state-monitor[905]: SLED6: detected state changed, update host state to OFF
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I5916cd411c0d7d625b54f74c888aa380e00a1853
|
|
Add ACPIPowerState interface to phosphor-settings for each host.
Test Results:
```
root@bletchley:~# busctl call xyz.openbmc_project.ObjectMapper \
> /xyz/openbmc_project/object_mapper \
> xyz.openbmc_project.ObjectMapper GetSubTree sias / 0 1 \
> xyz.openbmc_project.Control.Power.ACPIPowerState -j
{
"type" : "a{sa{sas}}",
"data" : [
{
"/xyz/openbmc_project/control/host1/acpi_power_state" : {
"xyz.openbmc_project.Settings" : [
"org.freedesktop.DBus.Introspectable",
"org.freedesktop.DBus.Peer",
"org.freedesktop.DBus.Properties",
"xyz.openbmc_project.Control.Power.ACPIPowerState"
]
},
"/xyz/openbmc_project/control/host2/acpi_power_state" : {
"xyz.openbmc_project.Settings" : [
"org.freedesktop.DBus.Introspectable",
"org.freedesktop.DBus.Peer",
"org.freedesktop.DBus.Properties",
"xyz.openbmc_project.Control.Power.ACPIPowerState"
]
},
"/xyz/openbmc_project/control/host3/acpi_power_state" : {
"xyz.openbmc_project.Settings" : [
"org.freedesktop.DBus.Introspectable",
"org.freedesktop.DBus.Peer",
"org.freedesktop.DBus.Properties",
"xyz.openbmc_project.Control.Power.ACPIPowerState"
]
},
"/xyz/openbmc_project/control/host4/acpi_power_state" : {
"xyz.openbmc_project.Settings" : [
"org.freedesktop.DBus.Introspectable",
"org.freedesktop.DBus.Peer",
"org.freedesktop.DBus.Properties",
"xyz.openbmc_project.Control.Power.ACPIPowerState"
]
},
"/xyz/openbmc_project/control/host5/acpi_power_state" : {
"xyz.openbmc_project.Settings" : [
"org.freedesktop.DBus.Introspectable",
"org.freedesktop.DBus.Peer",
"org.freedesktop.DBus.Properties",
"xyz.openbmc_project.Control.Power.ACPIPowerState"
]
},
"/xyz/openbmc_project/control/host6/acpi_power_state" : {
"xyz.openbmc_project.Settings" : [
"org.freedesktop.DBus.Introspectable",
"org.freedesktop.DBus.Peer",
"org.freedesktop.DBus.Properties",
"xyz.openbmc_project.Control.Power.ACPIPowerState"
]
}
}
]
}
```
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Icd573faf69d818b394cccab223c56a260a55767c
|
|
TESTED : Verified phosphor-fan and sensor-monitor package enabled
for facebook platforms.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I01798e122d75f078f011538b5032056106912727
|
|
Enable obmc-phosphor-buttons and add gpio_defs.json to support the
feature of debug card button.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I673db3587232bfc57dabc5fa157ae9945cb25974
|
|
1. Move nvme_config.json to meta-facebook layer
2. Update nvme thermal sensor thresholds base as suggested by thermal
team.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ia444afa2a27032c88302e913eb07909f7123c608
|
|
Add a switch diagnostics script to dump port register via mdio bus.
Tested:
root@bletchley:~# /usr/libexec/bletchley-switch-diag
========================================
Port 10 (BMC)
****************************************
[00]: 0E07 (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07FE (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0001 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0000 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 001B (Debug Counters)
========================================
========================================
Port 3 (SLED1)
****************************************
[00]: 100F (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07FD (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0002 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0033 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 0000 (Debug Counters)
========================================
========================================
Port 2 (SLED2)
****************************************
[00]: 100F (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07FB (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0004 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0033 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 0000 (Debug Counters)
========================================
========================================
Port 1 (SLED3)
****************************************
[00]: 100F (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07F7 (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0008 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0033 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 0000 (Debug Counters)
========================================
========================================
Port 7 (SLED4)
****************************************
[00]: 100F (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07EF (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0010 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0033 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 0000 (Debug Counters)
========================================
========================================
Port 6 (SLED5)
****************************************
[00]: 1D4F (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07DF (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0020 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0033 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 0075 (Debug Counters)
========================================
========================================
Port 5 (SLED6)
****************************************
[00]: 1D4F (Port Status)
[01]: 0003 (Physical Control)
[02]: 0000 (Flow Control)
[03]: 1920 (Switch Identifier)
[04]: 007F (Port Control 0)
[05]: 0000 (Port Control 1)
[06]: 07BF (Port Based VLAN Map)
[07]: 0001 (Default VLAN ID & Priority)
[08]: 2080 (Port Control 2)
[09]: 0001 (Egress Rate Control)
[0A]: 8000 (Egress Rate Control 2)
[0B]: 0040 (Port Association Vector)
[0C]: 0000 (Port ATU Control)
[0D]: 0000 (Override)
[0E]: 0000 (Policy & MGMT Control)
[10]: 0000 (Extended Port Control Operation)
[11]: 0000 (Extended Port Control Data)
[16]: 0033 (LED Control)
[17]: 0000 (IP Priority Mapping Table)
[18]: 0000 (IEEE Priority Mapping Table)
[19]: 0000 (Port Control 3)
[1B]: 8000 (Queue Counters)
[1C]: 0000 (Queue Control)
[1D]: 0000 (Queue Control 2)
[1E]: 0000 (Enable & Cut Through)
[1F]: 0058 (Debug Counters)
========================================
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I3915e0747beeb8f8a3d06d3409ac55ed0cd50b41
|
|
Because Bletchley does not have IPMI between Bmc & Host, the Host init
state will set to Off after Bmc booted. We require an extra service to
check and set Host state & Chassis power state to correct state before
doing any power action or power policy restore.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I680bc62559ea6f7df6dbe171b54d2cda0c7ae0d4
|
|
In order to add mdio-tools and mdio-netlink package, enable kernel
loadable module support.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7ce0634fdac5e2e400c3eded32ab9fe490794fb4
|
|
Update inlet based FSC configuration R06.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I8ad53ec0eace157af47503892beae3820a8520ac
|
|
obmc-host-ctl is defined as a MACHINE, DISTRO, and IMAGE feature.
The IMAGE feature pulls in a virtual provider only if the COMBINED
feature (MACHINE + DISTRO) is enabled. This is only done on openpower
machines. There are a lot of other places where machines are half-way
disabling this feature and/or changing variables which have zero effect
anyhow. Clean up almost all references to `obmc-host-ctl`.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I090d782bb6a34dc4e3c43df97e8ccf6e1812fed5
|
|
Bonnie Lo (1):
oemcommands: set system guid
Change-Id: I274b644e69922287393910b49760352f4e54355a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
All of these abstractions have exactly one implementation. Remove the
indirection to improve at a glance comprehension.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5d701aff6d0876fa3b2d16c841cbdcb0433b221f
|
|
Karthikeyan Pasupathi (1):
greatlakes: Added config files for debug card
Change-Id: I514789b3882a5d83095d30fe8da9af84cd90e23f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add dependencies so that the `emmc-init` service only runs if the
device is present. Add a timeout parameter to the fstab entry
for the device so that the timeout is a reasonably short amount,
since we expect the device to always be immediately available.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I405a6773ff71f9eb047c4bb9d684fdd9b5d97948
|
|
BMC health monitor json file is added for Facebook platform to
monitor the CPU, Memory and Storage usage. It will reboot the
target, once it exceeds the critical threshold value.
Tested: Tested in Facebook YosemiteV3.5 platform
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: Ieb7486b558de087fac7e9acaba1d88771a5b7626
|
|
Add a few recipe tweaks in order to enable idevicerestore to run
on 32-bit platforms like AST2600.
- Add large file support (-D_FILE_OFFSET_BITS=64):
- idevicerestore
- libzip
- Modify usbmuxd.service to discard "--user usbmuxd" and move PIDFile
under /run.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I5dc3c925b4b61207b17e3739c42336d6da5c512c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Add a service and script for detecting the state of the eMMC
device and formatting it if needed.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I4618d1691dedcff582772a0749c5797ad052f238
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
* Define a MACHINE_FEATURE that enables a secondary eMMC device.
* Add kernel and base-files support for mounting the eMMC device
using btrfs.
* Enable machine feature for Bletchley.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3fde3b285720c137c4e5bbbad233e4ef40b84d54
|
|
We are increasing the RAM for PVT to 2G. In order for userspace
to be able to access larger amounts of RAM (and mmap'd files),
move the VMSPLIT up to 3G.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I96f095f3ea3f6e9e585764d14bbe17ef67df9a8a
|
|
This change adds phosphor-buttons gpio configs for
the following :
1. Power button
2. Reset button
3. Host selector
4. Debug host selector button
5. serial uart mux
To keep the install method common for copying gpio_defs.json file
in supported platforms the install method is moved to
obmc-phosphor-buttons_git.bb file.
Signed-off-by: Naveen Moses <naveen.mosess@hcl.com>
Change-Id: I91a106fdc5ac9aa83eec63cbd41a9615b380c37d
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
|
|
Patrick Williams (1):
selcommands: add include for flat_map
Change-Id: I803a54069a2a0e9758d085493e115cafdb8fcaa9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add xyz.openbmc_project.Inventory.Item.Panel interfae into
/system/chassis/bmc inventory object papth because bmcweb uses
xyz.openbmc_project.Inventory.Item.Panel to determine if the FRU has
LED indicators.
Also add both enclosure_identify enclosure_identify_blink led group
difinition in led.yaml, which are required by redfish.
Tested Results:
1. Enable LED indicator
[potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \
> -X PATCH https://$bmc_ip/redfish/v1/Chassis/bmc \
> -d '{"LocationIndicatorActive":true}'
[potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \
> https://$bmc_ip/redfish/v1/Chassis/bmc 2>/dev/null \
> | grep Indicator
"IndicatorLED": "Blinking",
"LocationIndicatorActive": true,
2. Disable LED indicator
[potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \
> -X PATCH https://$bmc_ip/redfish/v1/Chassis/bmc \
> -d '{"LocationIndicatorActive":false}'
[potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \
> https://$bmc_ip/redfish/v1/Chassis/bmc 2>/dev/null \
> | grep Indicator
"IndicatorLED": "Off",
"LocationIndicatorActive": false,
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ice0fd7ab6fbdc82e87ac314396db4b33b313234b
|
|
We notice the spi-aspeed-smc driver failed to
Tested on QEMU with 2GB memory:
- vmalloc=512M: spi-aspeed-smc shows ioremap failed
root@bletchley:~# dmesg | grep "Kernel command line:"
[ 0.000000] Kernel command line: console=ttyS4,57600n8 root=/dev/ram rw vmalloc=512M
root@bletchley:~# dmesg | grep spi-aspeed-smc
[ 2.410462] spi-aspeed-smc 1e620000.spi: CE0 read buswidth:2 [0x203b0641]
[ 4.908989] spi-aspeed-smc 1e620000.spi: Calibration area too uniform, using low speed
[ 4.909416] spi-aspeed-smc 1e620000.spi: CE1 read buswidth:2 [0x203b0041]
[ 4.968292] spi-aspeed-smc 1e631000.spi: ioremap failed for resource [mem 0x50000000-0x5fffffff]
[ 4.969035] spi-aspeed-smc 1e631000.spi: missing AHB mapping window
[ 4.969301] spi-aspeed-smc: probe of 1e631000.spi failed with error -12
- vmalloc=768M: spi-aspeed-smc probe successfully
root@bletchley:~# dmesg | grep "Kernel command line:"
[ 0.000000] Kernel command line: console=ttyS4,57600n8 root=/dev/ram rw vmalloc=768M
root@bletchley:~# dmesg | grep spi-aspeed-smc
[ 2.672402] spi-aspeed-smc 1e620000.spi: CE0 read buswidth:2 [0x203b0641]
[ 2.844554] spi-aspeed-smc 1e620000.spi: Calibration area too uniform, using low speed
[ 2.845442] spi-aspeed-smc 1e620000.spi: CE1 read buswidth:2 [0x203b0041]
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7ad7a2127a103db7cbefd6d89d42bd780294ceb0
|
|
We also need to move the conf-notes.txt files.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
|
|
The latest poky commit is requiring us to have all of
our template configs in a subdirectory instead of directly in
the `conf` directory. Without this we end up with errors during
setup like:
```
Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name
```
Fix this by moving all of our template files into the 'default'
template subdirectory (following the pattern of poky) and modifying
`setup` as necessary to follow.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
|
|
Add board-type-checker-fpb service for checking the board type
(main or 2nd source) of front panel board.
Base on the board type result, this service help probing i2c device
with compatable driver and creating a softlink to link virtual sensor
configuration to corresponding json file.
This commit require a kernel patch to remove hdc1080 node from
devicetree.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I2b9aabb41c9749f525fe5444fb519871f0a7796d
|
|
Add virtual sensor configuration for each front panel board type, and
the phosphor-virtual-sensor require board-type-checker-fpb to setup the
softlink of configuration.
This patch relies on the patch below:
https://gerrit.openbmc.org/c/openbmc/openbmc/+/56384
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I8537985682228aa651d6286aaac3aa5dac285795
|
|
Bletchley doesn't have IPMI support, skip
xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service service
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I5a302d92cbfbaeabf921b46fe3026d48bf0ce6fb
|
|
Mapping AC relay on/off to chassis power on/off:
- host-ac-on@.service --> obmc-chassis-poweron@.target
- host-ac-off@.service --> obmc-chassis-poweroff@.target
Mapping host power button on/off to host starting/stopping
- host-poweron@.service --> obmc-host-starting@.target
- host-poweroff@.service --> obmc-host-stopping@.target
Test Results:
root@bletchley:~# obmcutil -i=6 poweron
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
root@bletchley:~# obmcutil -i=6 poweroff
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
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I1fa2ec6d9233be61117149ac7f7d46f0417a6930
|
|
In Bletchley, we check host link status from switch to identify the
host power state. During the power on process, the host (MAC mini)
need some extra times to stable link status.
Add extra 10 seconeds delay into do_action_on() to avoid get wrong
host power state during stress testing of host power on/off.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ica628df42e29912029b44675aacdf555263cb6fa
|
|
Logananth Sundararaj (1):
Add BIC to handle the DCMI commands
Change-Id: Ic747c6b2c172d8506642755d533082aa98558d8f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Added IPMI restriction mode as Whitelist by default mode for all
the hosts in machine layer for Facebook YosemiteV2 platform.
TESTED : Built Facebook YosemiteV2 images and loaded on the target
hardware. Verified restriction mode as whitelist by default.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Ib3e98615a2ec80d241f1677ac1838de5a837c6d0
|
|
The option that tells the code to use the host state as the power state
was renamed in the code.
phosphor-fan-presence: srcrev bump bf8e56f699..b7dd3e222c
Matt Spinler (2):
control: Display locked targets in debug dump
meson: Rename host power state checking option
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic4dfd0c600b31a3aa0d0c9b8101c27e488812bb2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
The phosphor-fan-presence repository added meson support, so start using
it.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: If850d3d379ad82dc8f9691efd7a0561f350543dc
|
|
Change-Id: Ia7e6bbf0506e9e6acb99fdf67fc7d55a20588a0d
Signed-off-by: Peter Delevoryas <peter@pjd.dev>
|
|
1. Add IPMB channel configuration for USB debug card.
2. Enable both phosphor-ipmi-ipmb and fb-ipmi-oem.
This patch relies on the kernel patch below:
https://lore.kernel.org/all/20220810004338.329832-2-potin.lai.pt@gmail.com/
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I10c0a99530519e9533dbf0ac5b22a31051f91f98
|