Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
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 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>
|
|
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
|
|
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
|
|
Facebook systems should default to "Restore" for RestorePolicy.
This will ensure a system is automatically restored to the last
state prior to the power loss.
Tested: Built Facebook image and verified generated source file
had correct default in it.
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Ifccec4ef88ca8fe01e7d90a57af2411db3311736
|
|
sensor values crossed thresholds
Added support to trigger hard shutdown alarms and power off the
slots of the platform if the Fan/NIC sensors values getting low
compared to threshold values.
Added platform specific service file and script to take
platorm specific actions.
TESTED : Verified all the slots getting powered Off when fan/nic
sensor values crossed threshold values.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Icd1f761c08e8b829eef4f1d28ef68732600c296b
|
|
Fan/NIC sensor values crossed thresholds
Added support to trigger hard shutdown alarms and power off the
slots of the platform if the Fan/NIC sensors values getting low
compared to threshold values.
Added platform specific service file and script to take
platorm specific actions.
TESTED : Verified all the slots getting powered Off when fan/nic
sensor
values crossed threshold values.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I6deb6707e574a375fac8f2379f47661a5a0ed332
|
|
The FB phosphor-nvme recipe requires this json file for all platforms,
even if they're not using it. If it's missing, the fby35 build fails.
In the future, we should really refactor the nvme recipe to make this
file optional.
Change-Id: Ib80c0f06efae98555a6b08e47eb23b4526261888
Signed-off-by: Peter Delevoryas <peter@pjd.dev>
|
|
New yocto enforces the files being under the machine being built. For
now just make some empty files to get through compile and then facebook
team can come back if needed to put some content in them.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I01eda9f403df1bb9262b4fce039c9e09072d22ae
|
|
Added obmc-console multi host support for yosemiteV3.5 platform.
Tested : Verified this on Yosemite V3.5 platform by launching all 4
server instance and verified SoL output from hosts.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Iefca7af84e2f442575e29f0634d2d7e6612686d3
|
|
Added support in the machine layer for current sensor as virtual
sensor to display NIC_IOUT and FAN_IOUT based on the FAN and NIC
voltage sensor which is displayed under ADCSensor.
TESTED : Tested and verified the D-Bus path and Interface for
current virtual sensor for FAN_IOUT and NIC_IOUT.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: Ia774cd84d6bb71869a5900dc6f0dc2e5464950ab
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Added hostlogger support to store console
histories for all the host.
TESTED : Built the openbmc image targetting
Facebook YosemiteV3.5 hardware. Verified all
the host log were generated.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I5adf9b1a9284c398e683f1699f7e8f678b321672
|
|
Build success.
Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com>
Change-Id: I6f16791045cfa7389363177816da765b19b1ef28
|
|
The machine layer changes to configure the phosphor-host-postd to
support multi-host(yosemitev2). The yosemite V2 has 4 hosts.
Tested:
Tested systemd service for Yosemitev2.
Tested systemd service for Tiogapass.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Ie26b357b6a7d3fe1e9335e43f8564c7ce59b1030
|
|
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Ib6d6f6dc5f4af68e2eadce88e07cf5f4306ec4da
|
|
Tested:
Tested in FBY35 platform.
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Ifaeb89d76fc9b99823f133b75fd5895db85e0fbf
|
|
1. enable `send-to-logger` option in phosphor-sel-logger, handle logs by
Phosphor Log Manager.
2. enable `redfish-dbus-log` in bmcweb to add redfish support for
event logs.
Tested results:
- Redfish
$ curl -u root:0penBmc -k https://10.10.11.203/redfish/v1/Systems/system/LogServices/EventLog/Entries/15
{
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/15",
"@odata.type": "#LogEntry.v1_8_0.LogEntry",
"AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/15/attachment",
"Created": "2022-05-04T06:17:21.948000+00:00",
"EntryType": "Event",
"Id": "15",
"Message": "xyz.openbmc_project.Logging.SEL.Error.Created",
"Modified": "2022-05-04T06:17:21.948000+00:00",
"Name": "System Event Log Entry",
"Resolved": false,
"Severity": "OK"
}
- CLI
root@bletchley:~# obmcutil listlogs
{
"type" : "as",
"data" : [
[
"/xyz/openbmc_project/logging/entry/15",
"/xyz/openbmc_project/logging/entry/16",
"/xyz/openbmc_project/logging/entry/17",
"/xyz/openbmc_project/logging/entry/18",
"/xyz/openbmc_project/logging/entry/19",
"/xyz/openbmc_project/logging/entry/20",
"/xyz/openbmc_project/logging/entry/21",
"/xyz/openbmc_project/logging/entry/22",
"/xyz/openbmc_project/logging/entry/23",
"/xyz/openbmc_project/logging/entry/24"
]
]
}
root@bletchley:~# obmcutil showlog /xyz/openbmc_project/logging/entry/15
{
"type" : "a{sv}",
"data" : [
{
"Id" : {
"type" : "u",
"data" : 15
},
"Timestamp" : {
"type" : "t",
"data" : 1651645041948
},
"Severity" : {
"type" : "s",
"data" : "xyz.openbmc_project.Logging.Entry.Level.Informational"
},
"Message" : {
"type" : "s",
"data" : "xyz.openbmc_project.Logging.SEL.Error.Created"
},
"EventId" : {
"type" : "s",
"data" : ""
},
"AdditionalData" : {
"type" : "as",
"data" : [
"EVENT_DIR=1",
"GENERATOR_ID=32",
"RECORD_TYPE=2",
"SENSOR_DATA=520007",
"SENSOR_PATH=/xyz/openbmc_project/sensors/fan_tach/FAN3_TACH_IL",
"_PID=327"
]
},
"Resolution" : {
"type" : "s",
"data" : ""
},
"Resolved" : {
"type" : "b",
"data" : false
},
"ServiceProviderNotify" : {
"type" : "b",
"data" : false
},
"UpdateTimestamp" : {
"type" : "t",
"data" : 1651645041948
}
}
]
}
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ie4094c8e20224506474b75ae18ede97adfdd5bb7
|
|
Add libtss2-tcti-device package to support access tpm via device node
/dev/tpm0
Tested Results:
root@bletchley:~# /usr/bin/tpm2_getcap properties-fixed 2>/dev/null | grep -A1 TPM2_PT_FIRMWARE_VERSION_1
TPM2_PT_FIRMWARE_VERSION_1:
raw: 0x7003E
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I67784a34aeffc38c66f98a3c0dbe995bb098394b
|
|
Added BootType property and interface in host-template.yaml
for multi-host support to determine the BIOS boot options
which supports Legacy and EFI.
TESTED : Tested on Facebook Yosemitev2 platform and verified
the results.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I8f85b9b63019b683b0062c45f793d4b363c82482
|
|
As mentioned by I970e06ca6f9d0a9792af122eb25da1bb9a06f058, append and
remove directives with '+=' are no longer valid Yocto syntax and raise a
warning.
See https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n40
One interesting caveat has to do with the difference between "append"
and "+=".
foo:append = "a"
foo:append = "b"
Results in `foo = "ab"`, but
foo += "a"
foo += "b"
Results in `foo = "a b"`. When `:append +=` is used it has behavior
like the `+=` operator. Therefore, in some cases we need to insert
additional whitespace after the `:append = "` to ensure concatenation
behaves as expected. I've manually reviewed the results to ensure there
is no ill side-effects from an additional space potentially being added.
Fix up the entire tree with the following one-liner (and similar for
`remove`):
git ls-files -- ':!:poky/**' ':!:meta-security/**' \
':!:meta-raspberrypi/**' ':!:meta-openembedded/**' \
| grep "\.bb" | xargs grep -l ":append.*+=" \
| xargs sed -i 's/:append\(.*\)+=\([^"]*\)" */:append\1=\2" /'
or ...
| xargs grep -l ":remove.*+=" \
| xargs sed -i "s/:remove\(.*\)+=/:remove\1=/"
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iea6235e7c76e252f4d473652957c2925f6b8845a
|
|
Builds done using facebook/openbmc do not use the 'obmc-phosphor-image'
image name, but instead use 'MACHINE-image'. This means that bbappend
files have no effect and we need a different method to get consistent
sets of include files. Introduce 'fb-phosphor-image.inc' and
'fb-MACHINE-phosphor-image.inc' as the replacements for the
obmc-phosphor-image.bbappend.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I166342c1744d1cd0237f8c75d90d87153fb19b35
|
|
This script runs at startup as systemd service.
It checks if the bmc time is in sync from NTP server.
otherwise it reads the host time via ipmb interface
and updates as bmc time.
This change was tested and verified in yosemitev2 and tiogapass
platforms.
Signed-off-by: Naveen Moses <naveen.mosess@hcl.com>
Change-Id: I8c937c16415b2dd05d05155facadc0bed797db07
|
|
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I3e576e5f9f831a4f73cf9d048859f37d471f3ed7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I62cf17d414795e91d673d468a196d4f0a6c0a71b
|
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
|
|
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and
fixed up a few by hand that were missed.
Tested: Built bletchley and tiogapass.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
|
|
This makes it possible for us to change out build specific settings.
Change-Id: Iebcf178e7f392381d06480c72a193907b3a61f96
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
TESTED: Tested and verified in YosemiteV2.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I7bbea7c0caf51fc1fc4acfc6923a795e8b280e6e
|
|
phosphor-virtual-sensors was crashing on bletchley due to an
empty file, which is invalid JSON. Add a valid JSON file,
which is just an empty array, instead.
Tested: Ran in QEMU and ensured service no longer crashes.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibf30771a158344cbce519260d44ea945a0e12723
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5801ad2ce5b7e421a62619c57787465bfa585e95
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I629b298d659f5e593e2b04e702ccfe92867d1c1d
|
|
Tested:
Tested in Yosemitev2 with OCP debug card.
Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com>
Change-Id: I6260a84862f71012dc07cea372dccea02de77f54
|
|
Added support in the machine layer for Airflow sensor as
virtual sensor.
TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware.
Verified the airflow sensor values in the phosphor-virtual-sensor
dbus objects.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I46b377cc119a31f76286ba2d03f14764f578283f
|
|
Added hostlogger support to store console
histories for all the host.
TESTED : Built the openbmc image targetting
Facebook Tiogapass and YosemiteV2 hardware.
Verified all the host log were generated.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: Iee494d8ce025a253f0e7f915ec893acc44fd84a1
|
|
Added settings manager support to create multiple dbus path
for boot order configuration.
TESTED: Tested in tiogapass and yosemitev2 hardware.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I51424a463804d3a59833abc5b230c0bd1f31553a
|
|
support in ipmbbridge.
Added json configurations to support multi host channels
or more than two channels in ipmbbridge.
TESTED : Built Facebook YosemiteV2 images and loaded on
the target hardware. We are able to see BMC to all
host communications through Ipmb
(From meta-facebook rev: 2d70e814173a16d601e9b829669a766182776551)
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I79c960fa3940afdb6d1b69807d206480be875f8d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
As per latest yocto update, following error reported so fixing it.
URL: 'file://*.conf' has invalid parameters. file:// urls using
globbing are no longer supported. Please place the files in a
directory and reference that instead.
(From meta-facebook rev: 66b327f6b7b70c3ed3752ed89b9b18de463b3c36)
Change-Id: I3c1eca1f3fd3fb8acb6166cb3bfb8c8857cb09fc
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Yosemite build was failing after bios upgrade file moved
(From meta-facebook rev: 9472c0f096924d2a44d6bb86c1713dcd3f9646e4)
Change-Id: Ibaf4b3d2ec0b0207a4d08713f6fce6ac6a44751d
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
flash feature was included earlier for bios upgrade but by mistake
it added a new directory structure meta-facebook under meta-facebook.
So corrected this here.
(From meta-facebook rev: 515339cf26a50d544156bdff80e754ff0bead63f)
Change-Id: I67fd0b2f06cdd95e13aefb56b87bd89fb0a8e429
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Added obmc-console log support for all the hosts of yosemiteV2
platform.
TESTED : Built Facebook YosemiteV2 images and loaded on
the target hardware. We are able to see all the host
console logs.
(From meta-facebook rev: 5a93819c4470490ea826931a6c6a98083fef1125)
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I2efa5a251da4a1d7c3a71e2be2f379a0c440979d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|