Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
The vmalloc not automatic assigned correctly With 2048MB memory.
Manual append `vmalloc=512M` in bootargs to avoid boot issue of
vmap allocation failed.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I11d3c8babb533ac94e81017da19feadeda45f1e2
|
|
convert current patch to .cfg file
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I98ad0d5d69dd0c55ea40debd5b05ba4aa77be945
|
|
Added support for uboot-fw-utils in Facebook YosemiteV2 platform.
Tested: Tested and verified in Yosemite V2 platform
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I75d9fe20f1c4c537d2186fb00ab9a6f749d559e3
|
|
The meson flags for BIC were inverted. BIC was "enabled" on most
systems and "disabled" on Yv2. Switch to a PACKAGECONFIG and set
all `fb-compute-multihost` to enable BIC by default.
Change-Id: If5335c95cf148664b9e5724d2646d646a0f3d4c3
|
|
Potin Lai (2):
oemcommands: fix compile error of unused parameter
configs: add configs for bletchley
Change-Id: I79c23e8c7107782902c08a73c24678b264cc78a3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
fby35 uses a SPI TPM interface, not the I2C interface, and the I2C module produces compilation
warnings, and build failures with -Werror, so we should disable it
until it's fixed in the kernel.
Building fby35:
```
. setup fby35 build
bitbake obmc-phosphor-image
```
Before:
```
| /home/pdel/lfopenbmc/build/tmp/work-shared/fby35/kernel-source/drivers/char/tpm/tpm_tis_i2c.c: In function 'tpm_tis_i2c_write_bytes':
| /home/pdel/lfopenbmc/build/tmp/work-shared/fby35/kernel-source/drivers/char/tpm/tpm_tis_i2c.c:114:17: error: ISO C90 forbids mixed declarati
ons and code [-Werror=declaration-after-statement]
| 114 | struct i2c_msg msgs[] = {
| | ^~~~~~
```
After:
Compiles successfully.
Change-Id: Ib57bcad51837956d8a277d2be1ff7c887ade9606
Signed-off-by: Peter Delevoryas <peter@pjd.dev>
|
|
Enable IPMI and IPMB in kernel configuration
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I83f3a1bab0aa77b785c11a729f57fd06e42cb496
|
|
Enable si7020 driver to support 2nd source front panel board.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I3c91d1af9d8316670f946849d31d6c9608200fdf
|
|
Patrick Williams (2):
sdbusplus: use shorter type aliases
MAINTAINERS: remove file
Change-Id: I16d7f6c40706f18f85dd38d756bc60b09b0e532d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Michael is the primary system owner at Meta for yv35,
so add him to the reviewer list so he gets informed of
any changes directly affecting that system.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Icf6a8e479a04b34b6f039912aeb91bb392603d15
|
|
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
|
|
Karthikeyan Pasupathi (1):
yosemitev2:Multi-host CPU info displayed in OCP debug-card.
Change-Id: Ic1fdb055cbe02d055310fd25ebbd426718071a39
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
There is already a MACHINE_FEATURE ('tpm2') which is enabled on fby35
and pulls in all the necessary kernel config for the TPM2 hardware.
See the fby35 machine config.
```
meta-fby35/conf/machine/fby35.conf:require conf/machine/include/facebook-tpm2.inc
```
Change-Id: I7f26aa3d2d74c3b5f1d6f78d34667681e3cce882
Signed-off-by: Peter Delevoryas <peter@pjd.dev>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Patrick Williams (3):
OWNERS: switch 'matches' to 'matchers'
meson: move machine configs
meson: enable full subproject build
Change-Id: Icb1f2f55015deaf30720a86b729661d7a7e3e39e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
add below functions for flash binding on spi2
1. spi2_mux_select(): set spi2 mux by giving a sled index
2. bind_spi2_pnor(): set spi2 mux and bind pnor flash
3. unbind_spi2_pnor(): unbind pnor flash and unset spi2 mux
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I8cd626d2ee47e8812569a61b745d8181dee2f708
|
|
Add host power cycle and power reset actions
Cycle Action includes following steps:
- 1. AC Off
- 2. AC On
- 3. Power On
Reset Action includes following steps:
- 1. Power Off
- 2. Power On
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I17341ec30776413d428f35498d70534901d250b1
|
|
parsed machine name to meson from bb file to
identify and copy the machine-specific JSON to a machine.
Tested: Tested and verified with yosemitev2 and tiogapass platform.
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Ib891a9cef232f981ede61567953888870296a248
|
|
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
|
|
We notice that systemd cost long time to start after firmware update,
and it can exceed 30s timeout.
Increase the watchdog timeout to 90s to avoid BMC reset after firmware
update.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I43efde51c2465c40753400795e60a7edd1a5ea26
|
|
Jayashree Dhanapal (1):
Refactored code to support INSTANCES as string
Karthikeyan Pasupathi (2):
meta-facebook: Refactored config file for meson.
yosemitev2:Multi-host DIMM info displayed in OCP debug card
Patrick Williams (1):
fix build failure
Also switched from EXTRA_OECMAKE to EXTRA_OEMESON in bb file.
Change-Id: I8bd045ded7f2d482d559b770a980dbc8e146075f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Add target file for sled insertion and removal, add Requires for both
motor-init-calibration & host-ac-on service in seld insertion target,
and Conflicts in sled removal.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I020694f868a352b0bcd2754a54cadd4a7d5487e5
|
|
A service to monitor the presence status of sleds and perform
corresponding actions when sleds are inserted or removed.
This patch require phosphor-gpio-monitor-presence enabled and gpio-keys
defined in kernel dts file, the LORE link as below.
* https://lore.kernel.org/all/20220613095150.21917-4-potin.lai.pt@gmail.com/
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Id43c7c5c40ccad904db3e6d55870b154a68626ca
|
|
update fan config base on thermal team's request (FSC_R04)
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I46fd7d8527eb41f697cb6c999f59b04c67b2da62
|
|
update CFM sensor equation base on thermal team's request (FSC_R04)
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ic10c83b79993ef1fe20a0ff2536a15fc65410e5c
|
|
Added the Facebook machine-specific multihost file
Added the u-boot bootagrs configuration.
Tested: Tested and verified in Yosemite V3.5 platform
Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com>
Change-Id: Icb487fdecaaa1ab4c7614b887850693979065652
|
|
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
|
|
Karthikeyan Pasupathi (1):
yosemitev2: Multi-host information displayed in OCP debug-card
Patrick Williams (4):
build: additional cmake/meson cleanups
appcommands: handle system result for sled-cycle
oemcommands: fix invalid string find result
meson: adjust library build
Willy Tu (1):
build: Convert project to meson and C++20
Switch recipe to Meson.
Change-Id: I17ea8a88d6b03ec8df3ec554a3a71ba3fe072943
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
1. add service dependency to avoid host-ac-on service failed due to
inventory (presence_sledX) property not avaliable.
host-ac-on@X.service
|- motor-init-calibration@X.service (Requires, After)
|- phosphor-gpio-presence@presence-sledX.service (Requires, After)
2. simplify check method for ac-on & ac-off actions, just check host
ac status before set ac on/off.
3. fix host-ac-on service shows failed when ac is aready turned on
(ex: BMC reset), return 0 for both ac-on & ac-off actions no
matter GPIO (power-hostX) set required or not.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I2c878dea05ea2511e6564c0980ba34dc28a46e2c
|
|
Add a common functions script for reusing the functions which are
called frequently.
This patch depends on the patchs below:
* https://lore.kernel.org/all/20220613095150.21917-4-potin.lai.pt@gmail.com/
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I6e1602b00f1b0a19e77506be6eabe18c796e52fe
|
|
Harvey.Wu (2):
dbus-sdr: fix SEL record Generator ID to fit SPEC
dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable
Jian Zhang (1):
Add data types to Value to extend setDbusProperty
Vernon Mauery (1):
fix header install
Willy Tu (4):
cleanup: Remove all warning errors for the Meson build support
build: Add meson build for phosphor-host-ipmi
build: move all shared_library/module to library with version suffix
build: Remove dynamicsensor library if it is not enabled
Change-Id: I92503c6625d1ec2bf88c0a28afac9b4eeb8fbd75
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Iff9ec70171e4193c85a8ffc1b6f53f1044c7c601
|
|
Build success.
Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com>
Change-Id: I6f16791045cfa7389363177816da765b19b1ef28
|
|
Patrick Williams (1):
cmake: fix externalproject for latest host-ipmid
Change-Id: I58cea2a4fe27a326df47f9ded269daae5e979047
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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. add action handler for each host state, avoid action execute in the
wrong host state.
2. add checking for Host in sleep mode
3. add last action record at /tmp/sledX-last-action for identify DFU
and Recovery mode.
```
if (last_action == dfu) && (host_st == Off)
host_st = DFU
if (last_action == recovery) && (host_st == On)
host_st = Recovery
```
Change-Id: I4c9c218fbe3f887c8bfe5cdcb64600261d67e30d
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
|
|
Ebable phosphor-gpio-monitor-presence feature, create service file and
environment file for each presence-sledX pin.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I8ab59a635e22404457c42be152f4a033a173d930
|
|
The host watdog feature is based on IPMI watchdog commands.
Disable host watchdog because host on bletchley does not support IPMI.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I25b3f0ac49543003e3a36c160f6b4c4a0b736887
|