summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-sbp1
AgeCommit message (Collapse)AuthorFilesLines
2024-08-28update configurations for phosphor-led-managerAlexander Hansen1-0/+163
phosphor-led-manager no longer assumes any default led priority. The behavior was changed in https://github.com/openbmc/phosphor-led-manager/commit/5a9f651949c133ed0868d72734c4ac82c75a7656 and https://github.com/openbmc/phosphor-led-manager/commit/55badf7979f57d5f9ed2db726eebf35e84d0dac5 The led priority needs to be configured, so updating all configurations here. Before, led-manager assumed a default led priority of 'Blink'. So this patch is just making that explicit in the existing configurations. There should be no behavior change from this patch. Change-Id: I74aabb567ccf6682d56877f8bb42e636fc1746f6 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
2024-04-23meta-ibm/meta-sbp1: Enable pull-ups on FM_CPU_SKTOCC_NPatrick Rudolph1-4/+4
Enable integrated pull-ups on FM_CPU_SKTOCC_N GPIOs. The previous generation had external pull-ups, while SBP1 does not. This wasn't noticed until now as: - Usually all CPUs are plugged, pulling the GPIO low - When a CPU is not plugged, the system behaves as normal This change fixes the webui presence status and prevents CPU VRs for empty sockets to be enabled, reducing the systems power draw. Change-Id: Ic25873ff3d1ac0d0100ad941f480c5a8ea85d411 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2024-03-22treewide: remove meta-poky usagePatrick Williams1-1/+0
Upstream poky made a commit that adds an `/etc/motd` with a strong warning that meta-poky is not intended to be used for production purposes. There isn't anything we use directly from meta-poky anymore, so clean up all references to it. See poky commit a226865c8683398b5f58628ba2ec5aee1ee6c19d for additional context. We could potentially switch from using the `poky` subtree to picking up OECore directly, but right now it also provides us a qualified set of OECore + bitbake. Tested: Built yosemite4 and confirmed `motd` output is absent when SSHing in. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9c08650d2278b3ba26794c009adad3e593767f58
2024-02-01meta-ibm: sbp1: Include flash packagePatrick Rudolph2-0/+5
Add the flash package to the default build. Change-Id: I5c0b20ed277b672adc642310cbc44676582c7f55 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-12-15meta-ibm/sbp1: Handle presence GPIOsPatrick Rudolph4-0/+226
Mark static inventory items that only have a presence GPIO, but no FRU EEPROM as present using phosphor-gpio-monitor. This will be used by other OpenBMC systems to determine the presence of FRU devices and to run additional services. Tested: Inventory on SBP1 is properly updated according to GPIOs. Change-Id: I7f83bf82625a86c23fd0781ebe2d415cf486dadb Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
2023-10-12meta-ibm: Add phosphor-virtual-sensorPatrick Rudolph1-0/+1
Enable virtual sensor to: - provide sensor 'total_power' - expose QSFP temperature sensors to webui Change-Id: I13c64cd9891aee11019dd85a6fa2158482a38c67 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-09-28meta-ibm: consolidate network device mappingsAndrew Geissler2-16/+0
Move to a common file for all platforms that use the common mapping of ethernet0 and ethernet1. This was done as an optimization while adding system1 support in. Tested: - Confirmed sbp1 and system1 had correct common file - Confirmed witherspoon had it's specific ibm-ac-server file Change-Id: Id96ac9f669fa5cf1241958c5d2d958a95065b25e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-28meta-ibm: utilize new webui IMAGE_FEATUREAndrew Geissler1-1/+0
Remove RDEPENDS usage to bring in the webui and move to the new IMAGE_FEATURE Tested: - Confirmed system1 has webui Change-Id: I942509a3b5db2de8caf693f81f78850afd90f58d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-28meta-ibm/SBP1: Add LEDsPatrick Rudolph5-0/+530
Configure phosphor-led-manager and run bmc_booted after network is online and the LED services have started. Tested: The led BMC_READY turns on and the leds ID_DWR turn off when the BMC finishes booting and is reachable over network. Change-Id: Ib8d7cc994d9ecaffedb4935f7344a041930f6451 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-09-28meta-ibm: Enable phosphor-hwmon for epcos,b57891s0103Patrick Rudolph6-0/+19
Read QSFP temperature sensors that are compatible to epcos,b57891s0103. Those are non I2C temperature sensors. Tested: Temperature can be read and is visible in webui. Change-Id: If34ed6c4c896ef34c93f70b48c4e113490de6540 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-09-28meta-ibm/meta-sbp1: Support x86 host BIOS updatesPatrick Rudolph3-0/+149
Add the obmc-flash-host-bios@.service service and bios-update.sh bash script to update the BIOS on the x86 SPI flash. The bios-update.sh enables x86 PCH power, puts the Intel ME into recovery mode and then flashes the x86 SPI flash over eSPI. After updating the Intel ME is reset and the system shut down again. Tested: The x86 BIOS can be updated. Change-Id: I99fc67612d5e16b07fb924858fb013685f8c4a7b Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-09-28meta-ibm/sbp1: Enable openbmc zram packageNaresh Solanki1-0/+1
When updating the 64MiB x86 SPI flash OOM conditions were observed as the compressed and uncompressed BIOS image is placed in /tmp. Enable zram to prevent that. Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com> Change-Id: Ica7f05f755f24bcb0d0618893970f36e7e1fda02
2023-09-28meta-ibm: sbp1: make required kernel dts changeAndrew Geissler1-1/+1
This system still just utilizes the evb dts but it does need to be updated for the latest 6.5 changes that moved these to an aspeed sub-directory. Tested: - Confirmed sbp1 builds again Change-Id: Ide9dde8233255f3dc06348a586d15b943025f834 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-08meta-ibm/sbp1: Add entity-manager configPatrick Rudolph3-0/+14
- Enable dbus-sensors - Add board specific blacklist Change-Id: I04c02a3b2302cb480e05eed258cacf3bd3bd88db Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-09-08meta-ibm/meta-sbp1/recipes-phosphor: Fix inventoryPatrick Rudolph3-7/+18
Fix commit d7191a5492f3a6864a28806cf8ea2d21e5482499 "meta-ibm/sbp1: Add inventory". Actually do generate an inventory based on added YAML. TEST: Verified that generated.cpp is not empty. Change-Id: Ib626f3777ba1db29dfee653b487256a5bed4f592 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-09-08meta-ibm: meta-sbp1: phosphor-ipmi-fru: Fix configPatrick Rudolph1-4/+2
After rebasing on upstream the config wasn't properly updated to use SBP1 custom YAML config. Update the config to actually read the MAC from EEPROM and set it on Dbus. Tested: MACAddress field is set on DBus ans phosphor-networkd applies the MAC address to the network interface. Change-Id: I44fa3f3350e5b532ab56f5317e4228b36a4a5a14 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-08-16meta-ibm/sbp1: Assign static MACPatrick Rudolph7-0/+107
Add phosphor-ipmi-fru and ipmi-fru-properties configurations to parse the MAC address from board IPMI EEPROM. Add config for phosphor-network to sync MAC to u-boot env. Change-Id: Ib470d71df06e75f9936f31efa3b86708dc226d57 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-08-16meta-ibm/sbp1: Add inventoryPatrick Rudolph2-0/+2345
Add static inventory devices that have no FRU EEPROM and are known to be present. entity-manager doesn't support creating those inventory items, so add them here. The following commits will add more functionality around the created inventory items. Each item has a presence GPIO and additional actions are triggered when a presence is detected. Change-Id: I267b05765d408c88a50e005a3e5c2f4505c00f42 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-08-10meta-ibm: Add new board SBP1Naresh Solanki5-0/+353
Add support for the IBM SBP1 board. It's an evaluation platform based on Aspeed AST2600 SoC powering a 4 socket Intel Sapphire Rapids platform. The main difference to regular platforms is the non-existence of a CPLD/FPGA. Everything on this board is directly connected to and controlled by BMC including power sequence for PCH/CPU. The power-sequencing makes use of in kernel PMBUS drivers that are currently upstreamed and needs to be backported to OpenBMC kernel fork. Change-Id: I34a0b70e1f7f6c1ab2be38e8d66d5912950e0d82 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>