Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|