summaryrefslogtreecommitdiff
path: root/meta-ibm
AgeCommit message (Collapse)AuthorFilesLines
2024-02-07meta-ibm: Update Everest max31785 hwmon conf pathMatt Spinler2-1/+1
Kernel commit 4b46d86c978bbca24c110a5b0d6890380ed4b6c7 changed all PCA954x i2c-switch DTS node names to i2c-mux, so update the phosphor-hwmon config file path accordingly. Change-Id: I4c4f6f26f8e6931ddd43f449661c032a55350f4c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2024-02-06meta-ibm: sudo: Update matching sudoers stringAdriana Kobylak1-1/+1
The format of the sudoers file has changed per: ``` https://github.com/sudo-project/sudo/commit/1d13533ea3cda05ec666c45c6c533b614fdd97aa ``` Change-Id: Id34ae728c7b04c4ae8ae4f06b6262e1043ab8421 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2024-02-01meta-ibm: Link PCIeSlots to Processor associationSunny Srivastava3-1/+408
This commit is to populate link(s) to processor associated with given PCIeDevice which is established via the assoication with PCIeSlot. https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/65076 Tested: - dbus has the association between processor and slot ``` /xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot10 \ xyz.openbmc_project.Association.Definitions Associations ... "connected_to" "connecting" "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0" ``` Change-Id: I983c8444e4e3b206c60cf86c83d5b5cbf575f386 Signed-off-by: Myung Bae <myungbae@us.ibm.com>
2024-02-01meta-ibm: sbp1: phosphor-virtual-sensor: Add sensorNaresh Solanki1-0/+268
The regulator PVCCD_HV_CPU* only has sensors to measure output power and input voltage. Calculate input power and input current for PVCCD_HV_CPU* based on output power and input voltage considering 90% efficiency. TEST: webui shows newly added PVCCD_HV_CPU* sensors. Change-Id: I3ae49beaca4453595116b640177fde822d195ab6 Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
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>
2024-01-19meta-ibm: system1: Turn on TPM configNinad Palsule1-0/+2
Turn on TPM config for the IBM system1 bmc. Change-Id: Idc5b7c13780e7790c362d05590e6d5b470774889 Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
2024-01-18meta-ibm: Bind MCTP daemon in tandem to PLDM daemonManojkiran Eda3-0/+10
Applications that operate on BMC typically rely on the standard systemd recovery mechanism. In this setup, systemd automatically restarts applications when they encounter issues. However, for critical daemons like PLDM in IBM systems, the situation is more nuanced. PLDM plays a vital role in IBM infrastructures as it facilitates communication between BMC and the host. Therefore, if the PLDM daemon experiences a crash or restarts unexpectedly, it's crucial to notify the remote PLDM endpoints. This notification ensures that the remote endpoints can detect the disruption and initiate corrective measures to synchronize critical data, such as PDRs, between the two endpoints. To efficiently communicate the status of a remote endpoint when the PLDM faces an interruption, the MTCP channel serves as a key mechanism. Specifically, when the mctp-demux daemon undergoes a restart, it reinitializes the MCTP channel. This action effectively signals the remote endpoint that an issue has occurred. By doing so, the remote side can promptly take the necessary corrective actions to maintain data synchronization and system integrity. Change-Id: I7d28ef9b3fc8263a100d7ff1f5378fcddcdd3f89 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
2024-01-17meta-ibm: Rename device callout filesMatt Spinler5-13/+13
The entity-manager config for these systems now provides the Compatible inventory decorator interface which has Names property values like com.ibm.Hardware.Chassis.Model.Everest. The error logging code code uses these values to lookup a callout file, so rename them to match. Tested: - Files show up in rootfs Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic2be73fc6e5cc0114baca027c2057d9068b1cd1f
2024-01-11meta-ibm: openpower-fru-vpd: Add new servicesSunny Srivastava1-0/+2
Openpower bb append file has been updated to bundle some more services in the package. Change-Id: I95921def411aead7b81cd985788c7fedef243470 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
2024-01-10pldm: Add oem-ibm build optionGeorge Liu1-4/+1
Currently, several machines use the oem-ibm function in the pldm_%.bbappend file. It should be added to PACKAGECONFIG in the pldm_git recipe and disabled by default. Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: Ia120de9ad80f24333575e3b278ff14c3272a4733
2024-01-03meta-ibm: p10bmc: fix inconsistency in stringPatrick Williams1-1/+1
bitbake uses double-quotes for strings. Switch the stray single-quoted string to use double-quote. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icbc9295ce2468ed7646ab0039b9bc5480a43e6fa
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-12-14meta-ibm: system1: enable phosphor-power-psu-monitorAndrew Geissler2-0/+3
System1 will take advantage of the features found in the power supply monitor package within phosphor-power. Change-Id: I2ab3476a16927db2c53867b5965507eea0b3a3e7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-12-13meta-ibm: system1: add phosphor-buttonsjinuthomas2-0/+7
Add phosphor-buttons to use the standard GPIOs to power on/off the machine when the user presses the power button on the system Also added the GPIO definition for the power button based on the GPIO it is connected seen in the schematics. Change-Id: I62e5179de37042020de016cc7b44afbe08e5638f Signed-off-by: Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com>
2023-12-08meta-ibm: Disable redfish bmc-journal entriesMyung Bae1-0/+1
/redfish/v1/Managers/bmc/LogServices/Journal/Entries gives the system journal entries which may be a lot of entries. In addition, if the system clock goes backward while some journal entries were created, redfish validator may potentially complain the failures. Those entries may not be found by `sd_journal_seek_realtime_usec()`[1] which uses bisect search (based on the time order in journal). For example, ``` ERROR - Members: GET of resource at URI /redfish/v1/Managers/bmc/LogServices/Journal/Entries/1699839632005117 returned HTTP error. Check URI. ERROR - Members: GET of resource at URI /redfish/v1/Managers/bmc/LogServices/Journal/Entries/1699839632053933 returned HTTP error. Check URI. ERROR - Members: GET of resource at URI /redfish/v1/Managers/bmc/LogServices/Journal/Entries/1699839632056655 returned HTTP error. Check URI. ``` Journal entries are ``` { "MESSAGE_ID" : "39f53479d3a045ac8e11786248231fbf", "MESSAGE" : "Started Time & Date Service.", "__REALTIME_TIMESTAMP" : "1699839632179843", "_SOURCE_REALTIME_TIMESTAMP" : "1699839632179536", } ---Backward Begin { "_SOURCE_REALTIME_TIMESTAMP" : "1699839632004914", "MESSAGE" : "Clock change detected. Flushing caches.", "__REALTIME_TIMESTAMP" : "1699839632005117", } { "MESSAGE" : "Time jumped backwards, rotating.", "__REALTIME_TIMESTAMP" : "1699839632053933", } { "__REALTIME_TIMESTAMP" : "1699839632056655", "MESSAGE_ID" : "c7a787079b354eaaa9e77b371893cd27", "MESSAGE" : "Changed local time to Mon 2023-11-13 01:40:32 UTC", "_SOURCE_REALTIME_TIMESTAMP" : "1699839632018027", } ---End of backward { "__REALTIME_TIMESTAMP" : "1699839662049861", "MESSAGE_ID" : "7ad2d189f7e94e70a38c781354912448", "_SOURCE_REALTIME_TIMESTAMP" : "1699839662049794", "MESSAGE" : "systemd-timedated.service: Deactivated successfully.", } ``` Tested: - Redfish Validator passes - GET Journal Entries will not be found ``` $ curl -k -X GET https://${bmc}:18080/redfish/v1/Managers/bmc/LogServices/Journal/Entries { "error": { "@Message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The requested resource of type named 'Entries' was not found.", "MessageArgs": [ "", "Entries" ], "MessageId": "Base.1.16.0.ResourceNotFound", "MessageSeverity": "Critical", "Resolution": "Provide a valid resource identifier and resubmit the request." } ], "code": "Base.1.16.0.ResourceNotFound", "message": "The requested resource of type named 'Entries' was not found." } } ``` [1] https://github.com/openbmc/bmcweb/blob/7164bc62dd26ec92b01985aaae97ecc48276dea5/redfish-core/lib/log_services.hpp#L2690 Change-Id: I778e3ff1e0d3de508d33a1d53aed5e57ca096f37 Signed-off-by: Myung Bae <myungbae@us.ibm.com>
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams6-6/+6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams6-6/+6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
2023-11-08meta-ibm:Remove execution of set-all-groups-assertedSunny Srivastava2-32/+1
The commit removes dependecy of obmc-led-set-all-groups-asserted from the recipe file of phosphor-led-manager. The script executed by the service curently sets asserted property of all the LED groups to false on BMC boot which is now being set using operational status. Hence the script is no longer required. Change-Id: I6ddfa17ec70d75f115931d78d5866dab8a7e1f21 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
2023-11-07meta-ibm: romulus: enable bmcweb info logsAndrew Geissler1-0/+4
Romulus is only used for CI purposes at this point and when a CI failure is hit within QEMU, bmcweb is usually in the middle of it. Enable info logs and above on bmcweb so the appropriate debug data is collected on fails. Tested: - Confirmed info logs are in the journal from bmcweb in romulus QEMU Change-Id: I6ac5a62c4dbad3e97af6f70ab0a4988c8ed35429 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-11-07ledmanager: Disable persistent-led-asserted by defaultGeorge Liu1-1/+1
Since not all systems start persistent-led-asserted by default, persistent-led-asserted should be disabled by default in Yocto. However, IBM’s p10 machine needs to be enabled by default. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I9b5302f541bf814f96d5af7d20662b5bfcc4e6a8
2023-11-06meta-ibm: genesis3: Handle presence GPIOsPatrick Rudolph4-0/+192
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: The inventory on Genesis3 is properly updated. Change-Id: Id3927e7d01d1150da53294fa78cef5d6c10880ba Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-11-06meta-ibm: genesis3: make required kernel dts changePatrick Rudolph1-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 genesis3 builds again Change-Id: I0bea023e2f1e58b4b52ea22eda4de063febc5a39 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-11-06meta-ibm: genesis3: Add entity-manager configPatrick Rudolph3-0/+11
- Add blacklist for I2C buses that have no FRU devices. - Default to dbus-sensors. Tested: All configured sensors are visible in the webui. Change-Id: Ia08f473775eac836e01ab7cc9a7e0eaf56d99192 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-11-03meta-ibm: p10bmc: set windows-num overrideAndrew Geissler1-0/+1
p10bmc machines utilize the reserved 64MB of memory for both HIOMAP and MCTP transport implementations. HIOMAP gets the first 63MB and MCTP gets the last 1MB. Tested: - Confirmed mboxd started with "--window-num 63" parameter Change-Id: I2f82875da4b75dbcc4fdd59e9dcea8f0fc46154a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-11-01meta-ibm: sbp1: ipmi-net: Update ALT_RMCPP_IFACENaresh Solanki1-0/+6
SBP1 BMC has two network interface i.e., eth0/1. Update ALT_RMCPP_IFACE to eth1. TEST=Build for sbp1, check working of IPMI command: ipmitool -C 17 -H 10.93.130.28 -U root -P 0penBmc -I lanplus \ fru print Change-Id: Ibb2325b7b0760f2dfd1057a908100a98098eb774 Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
2023-10-27meta-ibm: system1: define blacklist for entity-managerAndrew Geissler2-0/+12
The only buses we should have EM look at are 0 and 6. I2C bus 6 has a mux so we also need to look at the virtual bus 36 too. The virtual bus is defined as an alias in the device tree, i.e. i2c36 = &i2c6mux0chn4; This will have EM look at the backplane and op-panel seeproms. Tested: - Confirmed a lot less "fru-device" busy errors in the journal and that the required eerpom's were still read. Change-Id: I0f0695173eed10f7bf40970c5cdf3732d34e7671 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-25meta-ibm: system1: enable bmcweb redfish logsAndrew Geissler1-0/+1
Tested: - Confirmed logs present under /redfish/v1/Managers/bmc/LogServices/EventLog/Entries Change-Id: I88daf714e2422924f4a6906d906f0d535d036869 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-25meta-ibm: system1: increase bmcweb upload limitAndrew Geissler1-0/+4
System1 will utilize the large EMMC configuration seen on p10bmc machines so increase its http body limit to match what p10bmc gets via its meta-openpower distro feature override. Tested: - Confirmed a large image upload worked Change-Id: I4d164c3ffb5176cd4fdc5d4c55a268ca71018afe Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-24meta-ibm: pldm: force mctp-demuxPatrick Williams1-0/+3
IBM systems are not ready to transition to the in-kernel MCTP, so force the mctp-demux transport. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I76c635e0ea8e3ce6101fdc882836ca7142dce12f
2023-10-24meta-ibm: override mctp default binding for IBM systemsManojkiran Eda1-0/+12
This commit would override the default null binding with astlpc binding for IBM p10 systems. Tested: - Built the rootfs of both tacoma & p10bmc and made sure the right configuration of mctp is placed in /etc/default location. Change-Id: I446be5ed1ceab44ba914a22d437d65f09b4a77f8 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
2023-10-24meta-ibm: Add libmctp to witherspoon-tacoma rootfsManojkiran Eda1-1/+1
Usage of libmctp is deprecated, and ideally, we would want to be using the in-kernel implementation of mctp (more so as the upstream pldm repo already supports it). But, IBM would probably want some more time before it consumes the in-kernel mctp implementation as the majority of the apps in p10bmc still relies on the libmctp API's to communicate with host. This would be a patch to just fix the broken image temporarily until we migrate to the in-kernel implementation. Change-Id: I6aaf52cd8ce83cd2263af161d94213ab80fe383a Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
2023-10-19meta-ibm: system1: add conf file for obmc-console-clientAndrew Geissler2-0/+5
Required for SOL support Tested: - Confirmed expected conf file was in system1 image Change-Id: I3b655b7cf46d1fb06b2b72d3531dccb7a37717ad Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-19meta-ibm: system1: add in network IPMI supportAndrew Geissler3-0/+185
System1 requires out of band IPMI management so configure some defaults for it. Tested: - Confirmed ipmitool could communicate with system1 out of band with "chassis power status" command Change-Id: Ie52a08ac4861ada682984a5ae695d82d9bb1c31e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-19meta-ibm: p10bmc:system1: fix power workaroundAndrew Geissler1-2/+2
The variable used to override a portion of the phosphor-skeleton power recipe changed name in the base recipe. Need to adapt our override in meta-ibm layer to match. Tested: - Confirmed the org.openbmc.control.Power instance service was not present on system1 Change-Id: Icd48020cfd2c0a954b79b264b153e71fede9904a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-19meta-ibm: system1: enable hwmontempsensorAndrew Geissler1-0/+1
Will be utilized to read sensors off of the mudflap panel Change-Id: Ie894f39ae22629fee33b17ab4504969c1a15366f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-12meta-ibm: Add phosphor-virtual-sensorPatrick Rudolph3-0/+179
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-10-12meta-ibm: system1: add phosphor-powerChris Cain2-2/+2
Add phosphor-power to use the standard GPIOs to initiate power on/off and check pgood. Tested with multiple obmcutil chassison / chassisoff loops Change-Id: I7a03fc40a60513003ed8ebfdb5b5bdbcf80a676b Signed-off-by: Chris Cain <cjcain@us.ibm.com>
2023-10-12meta-ibm: witherspoon: remove un-needed packagesAndrew Geissler1-1/+1
The latest yocto has moved us close to our flash size limit so remove some more image features, fru-ipmi and remote-logging-mgmt Witherspoon HW CI continues to provide some useful regression testing so we want to continue as long as possible. Change-Id: I6093483e00844ba65c1836958f76c9a9ea98a13f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-11meta-ibm: p10bmc: remove explicit 'mctp' DISTRO_FEATUREPatrick Williams1-1/+1
The 'mctp' distro feature (and df-mctp override flag) is now enabled as a side-effect of openpower-hostfw-over-pldm.inc. Remove the explicit feature flag enablement to clean up. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia34e1d045d048e5953d0e991fe070ab0aaad37ba
2023-10-11meta-phosphor: packagegroup-obmc-apps: simplify software packagePatrick Williams1-4/+4
Eliminate the variable indirection for the package content. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I016e6aa370e7d62e20484af4e91250b38c4c01a0
2023-10-11treewide: clean up webui selectionPatrick Williams1-2/+0
The webui-vue package is now enabled by default. Clean up all the meta layers to clean up the explicit enablement. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4895be56c70d2c8666dd96cec18d2c097f0c05a3
2023-10-11meta-ibm: witherspoon: opt out of webuiPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If72ad1be6df2e1782128ce1aeba8d025c42e9454
2023-10-05meta-ibm: system1: enable side switch featureAsmitha Karunanithi2-0/+2
This commit enables side switching feature between images on IBM systems. Change-Id: I837d23a56e723f0596004e80fbb5834af536d9ee Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
2023-10-05libmctp: Drop 'astlpc-raw-kcs' PACKAGECONFIG optionAndrew Geissler3-5/+2
Earlier the 'astlpc-raw-kcs' PACKAGECONFIG option was used to populate udev rules from the 'libmctp' repository to the system. Now udev rules are dropped from the repo in favor of a KCS device path argument provided via 'mctp' configuration file. Correct recipe file and all the affected platforms to this new approach. libmctp: srcrev bump 8803dc12a9..400766f943 Konstantin Aladyshev (1): astlpc: Provide KCS device path as a binding argument Change-Id: I480fe1f9d211dca6db29fbedb7836d469ad2ee02 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2023-10-04meta-ibm: system1: add dbus-sensors with adcsensorAndrew Geissler2-0/+6
system1 will utilize the AST2600 ADC engine for the RTC battery reading as well as for some lab debug. Change-Id: I6313af29b277371417128ad2008e399f8cabba22 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-04meta-ibm: system1: add entity-managerAndrew Geissler1-0/+2
entity-manager will be utilized to host most of the system1 inventory so be sure it's included by default. Change-Id: Ic9df2f9636967ddf55272a7c5215447ae500780f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-04meta-ibm: system1: enable and configure ipmi-fruAndrew Geissler5-0/+89
Utilize the ipmi-fru features to read the MAC address from the board VPD and populate on d-bus for the networking code. Tested: - Confirmed MAC addresses were read from the seeprom and put on d-bus Change-Id: Ia292b10b80539376639b444c44a49285cadff4c1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-10-04meta-ibm: p10bmc: Added adcsensor to dbus-sensorsTom Ippolito1-1/+4
Change-Id: I54f1719b12a0c8429cb1e793adacfb1153e1a7c9 Signed-off-by: Tom Ippolito <thomas.ippolito@ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-28meta-ibm: system1: add in basic chassis power controlAndrew Geissler3-0/+34
Need to eventually get full chassis power support in but for now, to allow BMC Ready, just put in the basic skeleton power control. Change-Id: I8647b11acb472662a40b986f23d28aa3e6a4d8d5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-28meta-ibm: system1: disable LED functionAndrew Geissler1-0/+4
This function prevents the BMC from reaching Ready. Remove it until we can do the necessary configuration files for the LED function. Change-Id: Ib63e7ccd9557a18d2bf4465ef8b9fb8393f48999 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>