summaryrefslogtreecommitdiff
path: root/meta-ibm
AgeCommit message (Collapse)AuthorFilesLines
2023-08-10meta-ibm: systemd-networkd-wait-online overridePatrick Rudolph1-1/+7
IBM systems do not always configure both eth0 and eth1 ports. This causes this service to fail and hold up the boot of the BMC by the 2 minute timeout. Override this service file to have IBM systems only wait for eth0 OR eth1 to become active. The SBP1 BMC has two NICs. Be happy with a link up on one of them. TEST=Build for SBP1 & make sure with waits for either of the two NIC to be active. Change-Id: I2ed633805f7e71021c010b9bc53e076f2c55732e Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.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>
2023-08-05meta-ibm: update admin user home directoryRavi Teja4-1/+47
currently admin user created with home directory '/' and there is an error while deleting admin user. this commit updates admin user home directory to /home/admin. Tested by: Notice admin home directory and Delete admin user Change-Id: I32210435ac0a94555d2f369e226df7e04f49d88c Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
2023-08-03meta-ibm: Use gpioset in reset-fan-watchdogMatt Spinler5-5/+2
The reset-fan-watchdog service needs to toggle a GPIO in order to unlock the fan watchdog circuit so fans can be controlled after the watchdog has expired and locked them at high speed. This gets called on every power on to bring the fans under control again in case the watchdog had expired on the previous boot. This was done previously using a custom application which used libgpiod under the covers, which was written before gpioset was around. Now that gpioset is available, just use it instead to toggle the GPIO so there's less custom code we have to worry about maintaining. The actual minimum timing requirement of the toggle is around 5ns, so the 1us being used by all the config files meets that. Tested: Expired the watchdog by stopping the fan-watchdog service, then powered off and back on and made sure the fans can still be controlled. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ibd36ff17e83b57d521364f0092dfa1f5abf34856
2023-08-03meta-ibm/genesis3: Assign MAC from board EEPROMPatrick 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: I76c294f8822da11da2fedef5fdd842ce6d10efd0 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-08-03meta-ibm/genesis3: enable phosphor-pid-controlPatrick Rudolph1-0/+5
Enable the fan control PID loop. It depends on the D-Bus configuration posted here: https://gerrit.openbmc.org/c/openbmc/entity-manager/+/58421 Change-Id: I32979f5705a745dcf0abdab5cce9d62340c33fbf Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-08-03meta-ibm/genesis3: Configure dbus-sensorsPatrick Rudolph1-0/+6
Change-Id: I5be5a644de26648d194b66ae70148201b4dafd58 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-08-03meta-ibm/genesis3: Add LEDsPatrick Rudolph3-0/+397
Change-Id: Ic6a5bc3547e6416897a2a27eb59c0484a9abf67e Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-08-03meta-ibm/genesis3: Add inventoryPatrick Rudolph2-0/+1959
Change-Id: Iffad7afabba59e0c50d2d7151847f166f9af0b9d Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-08-03meta-ibm: systemd-networkd-wait-online overridePatrick Rudolph2-0/+12
IBM systems do not always configure both eth0 and eth1 ports. This causes this service to fail and hold up the boot of the BMC by the 2 minute timeout. Override this service file to have IBM systems only wait for eth0 OR eth1 to become active. The Genesis3 BMC has two NICs. Be happy with a link up on one of them. TEST=Build for Genesis3 & make sure with waits for either of the two NIC to be active. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Change-Id: I0ffd652fabd5e998b14e23621d89046a9eed5455 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-08-01meta-ibm:sensors:p10bmc: Modify ACBEL READ_VOUT labelFaisal Awada2-4/+4
Modify ACBEL PSU configuration file to read output voltage from sysfs in2_label and to read the output current from curr2_label. Testing: Placed the modified config file in /etc//default/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf then verified the output voltage and current output shows up on the BMC sensors web page and redfish. Change-Id: Iacf1469295b99f6a7363d26983786f9c7ed8826a Signed-off-by: Faisal Awada <faisal@us.ibm.com>
2023-08-01meta-ibm: Add sysctl configuration for networkRavi Teja2-0/+7
Currently same subnet IPv4 configuration on both ethernet interfaces does not work. This commit sets kernel ARP settings which allow same subnet routes on both ethernet interfaces at the same time. Tested by: Configure same subnet IP addresses on both interfaces and network configuration works Change-Id: I01962b8bf066ccf7006915e77f07287b6e5544d4 Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
2023-07-28meta-ibm/genesis3: Include the meta-ibm layerPatrick Rudolph5-9/+10
Adjust meta-ibm to add support for the new machine. Change-Id: I2eb61f3d9c85c23b16f026f8f9eb4506c78e97ad Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2023-07-21meta-ibm: Set Dbus timeout for PLDM to 10 secondsvkaverap@in.ibm.com1-0/+7
Dbus timeout for PLDM is set to 5 secs. After reset reload BMC is too busy and cannot return in 5 secs. Increasing the dbus timeout value to 10 seconds to address this issue. Change-Id: I1f513062a617d53061ec3e0a4aca03c996f11d0e Signed-off-by: vkaverap@in.ibm.com <vkaverap@in.ibm.com>
2023-07-20ipmi-fru-parser: srcrev bump 06514028f8..7153343816Andrew Geissler3-15/+7
Patrick Williams (6): clang-format: copy latest and re-format writefrudata: remove vla strgfnhandler: suppress unused parameter warnings frup: suppress stringop-truncation warning scripts: accept absolute paths to YAML build: enable meson builds build: install strgfnhandler into ipmi-providers dir Vernon Mauery (1): Set new maintainer as Patrick Williams Willy Tu (1): fru-parser: Remove the use of mktime Switch to Meson. Change-Id: Iec9c41cc17a72f84248b8cd75f70353e053f17e2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-18meta-ibm: only use openpower bbappend when including layerAndrew Geissler8-0/+6
There is a desire to add non-openpower systems to the meta-ibm layer. To do that, need to ensure the bbappend files that are appending to openpower recipes are only included if the machine being built includes the meta-openpower layer. Tested: - Confirmed a system not including meta-openpower builds ok with this - Confirmed p10bmc still uses the bbappend files Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I32a08e9f20a20152d51c77cdfca6bbc15b5e93d4
2023-07-12meta-ibm: Enable the proper power button profileMatt Spinler1-0/+1
Tell phosphor-buttons the proper power button profile to use for IBM p10bmc systems so it meets IBM's requirements. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I48337c9b2d31c47c9e3aa0bfaa5f8ebda80e8577
2023-07-04meta-phosphor: libpldm: Rework ABI PACKAGECONFIG configurationAndrew Jeffery1-1/+1
Define three categories of ABI configuration via PACKAGECONFIG: 1. abi-production: Only deprecated and stable symbols are exposed 2. abi-maintenance: Only stable and testing symbols are exposed 3. abi-development: All deprecated, stable and testing symbols are exposed This makes it relatively straight-forward to perform broad testing for use of deprecated functions by setting `PACKAGECONFIG = "abi-maintenance"` in a `libpldm_%.bbappend` in the relevant meta layer. However, build for abi-production by default. Change-Id: I9df824e2543829dbe66a7203240e5367ffded3e3 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-06-26meta-ibm: p10bmc: Move Bonnell dtb to be first on listAdriana Kobylak1-3/+7
The first dtb listed in the KERNEL_DEVICETREE list is the default used for the BMC's genesis boot. The Bonnell device tree specifies an eeprom that's larger in size than other p10bmc systems. Therefore the device driver currently truncates the data on this eeprom when doing a genesis boot on Bonnell since the default device tree is for Rainier. Move Bonnell to the top of the list to be the default since it has the larger eeprom size. Tested: Booted Rainier and Everest on simulation to test a genesis BMC boot. Verified they first booted with the Bonnell's device tree, then the BMC automatically rebooted after the machine type was identified and the device tree corresponding to the system was loaded. Change-Id: Icb9abe7d8b04d42befd9eb906d095f4fa046ab3c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2023-06-20phosphor-state-manager: add PACKAGECONFIG optionsAndrew Geissler1-3/+4
Clearly define the optional features and their defaults within the PSM repo. Change-Id: Ibf466d9319b4176c816ef22c4cdbfd8cd693a90b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-06-14meta-ibm: p10bmc: add a MCTP DISTRO_FEATURES switchRashmica Gupta2-1/+2
The switch enables AF_MCTP and adds the `mctp` tool and `mctpd` so we can setup and manage an in-kernel MCTP network. Enable it for p10bmc and also add CONFIG_TUN so we can use a tun device to transport packets between the kernel and the astlpc interface implemented in libmctp. Change-Id: I21d0af9e751f91975c760b4b4708b3b401b95417 Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
2023-06-13meta-ibm: first-boot-disable-ipmi-net: Improve performanceAndrew Jeffery1-8/+5
The documentation for systemctl's `disable` verb[1] states: > This command implicitly reloads the system manager configuration after > completing the operation. Note that this command does not implicitly > stop the units that are being disabled. If this is desired, either > combine this command with the --now switch, or invoke the stop command > with appropriate arguments later. [1]: https://www.man7.org/linux/man-pages/man1/systemctl.1.html In simulation, reloads get expensive as they involve a bunch of IO. During boot, under qemu, such a reload can take on the order of 15 seconds. Further, Andrew Geissler states (no reference, private slack): > The service-config-manager is responsible for enabling and disabling > IPMI. On startup, it looks for the service and socket files via > systemd d-bus queries and caches in a file, /etc/srvcfg-mgr.json. If > you don’t run the services once on a fresh startup, > service-config-manager never sees them and therefore never provides a > way to enable/disable them. So on a fresh factory reset boot, you let > them start, service-config-manager sees them and caches them, and then > you disable them from there on out. As evidenced by the `After` statements in the unit, the expectation is that the units we're disabling have already been started. The documentation for systemctl's `mask` verb[1] provides a useful perspective: > Mask one or more units, as specified on the command line. This will > link these unit files to /dev/null, making it impossible to start > them. This is a stronger version of disable, since it prohibits all > kinds of activation of the unit, including enablement and manual > activation. The key insight here is the `disable` keyword tends to best be used to prevent the unit from being started as part of a given target, e.g. the default target. Given that we would only need to reload the systemd configuration to prevent the units from being started as part of a default target, and the fact that they must have already been started in accordance with `After` directive, there's no need to force an immediate reload of the systemd configuration upon disabling the units. Further, it's possible to combine the stop and the disable operation into one with `--now` as demonstrated in the `disable` documentation above. And finally, as the disable verb takes a unit PATTERN and not a singular unit, we can compress the operation down to a single invocation. Tested: 1. Booted up fresh p10bmc (factory reset), verified IPMI disabled by default via Redfish API 2. Enabled IPMI via Redfish API, verified bmcweb indicated IPMI enabled and services running 3. Rebooted BMC, verified IPMI was still enabled after BMC reboot 4. Disabled IPMI over Redfish, rebooted BMC, confirmed IPMI was still disabled Change-Id: I0926e9d16a56c2f022e415f4f40c35695dd155b8 Tested-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-06-13meta-ibm: first-boot-disable-ipmi-net: Fix unit conditionAndrew Jeffery1-2/+1
The [Service] section specifies: ``` ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time ``` However, the [Unit] section specifies the following condition: ``` ConditionFileNotEmpty=!/var/lib/ipmi-net-disable-one-time ``` The documentation for ConditionFileNotEmpty[1] states: > ConditionFileNotEmpty= is similar to ConditionPathExists= but verifies > that a certain path exists and refers to a regular file with a > non-zero size. [1]: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#ConditionFileNotEmpty= And the documentation for `touch`[2] states: > A FILE argument that does not exist is created empty, unless -c or -h > is supplied. [2]: https://www.man7.org/linux/man-pages/man1/touch.1.html Neither `-c` nor `-h` are supplied, therefore the ExecStart= directive will create an empty file. As the ConditionFileNotEmpty= directive is negated the condition will always pass: Either the file doesn't exist, or it does exist and is empty. Therefore, as configured, this unit always runs. Always running the unit is counter to its 'one-time' name. Switch to `ConditionPathExists=`[3] to enforce the one-time nature. [3]: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#ConditionPathExists= Change-Id: I1a8418a03c4fb9c6754f72f8651384b2f7e17715 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-06-09meta-ibm: enable only-allow-boot-when-bmc-ready featureAndrew Geissler1-0/+3
IBM systems do not want to allow boot operations unless the BMC is in the Ready state Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic28cb6df9e7f803998a3fb380b3236ed31d6d4ec
2023-06-06obmc-console: Convert configs from socket-id to console-idAndrew Jeffery5-8/+8
As of 9a8f30ec5b58 ("obmc-console: Introduce console-id, deprecate socket-id") in obmc-console `console-id` is preferred over `socket-id`. Convert all in-tree configurations to `console-id` to enable removal of support for the deprecated `socket-id` configuration option. Change-Id: Ifd50603c378cfed5eb793b829b8296b7964e4194 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-06-06meta-ibm: fix some shellcheck issuesPatrick Williams2-220/+220
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3792c2aa7f4bcd92254717c5bd00bc438f9101be
2023-06-05meta-ibm: Add LED endpoints for SystemAlpana Kumari3-0/+33
LED endpoints with Identifying, Identified_by for System was missing in Association json,as a result of that LocationIndicatorActive for system was null in redfish GET output. Also, from GUI, System identify LED was not functioning. If we try to set it, it goes away once we refresh the page,and no impact on led group. So this has been addressed for P10bmc Rainier and Everest system. Tested:- -Toggling reflects on LocationIndicatorActive as well as LED state of associated LED group. -It Works fine with redfish curl command as well as GUI button. $ curl -k -H "X-Auth-Token: $bmc_token" -X PATCH https://${bmc}/redfish/v1/Systems/system -d '{"LocationIndicatorActive": true}' $ $ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Systems/system |grep "LocationIndicatorActive" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6262 100 6262 0 0 42026 0 --:--:-- --:--: "LocationIndicatorActive": true, - It shows up the result on hardware as below- ~# busctl introspect xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/enclosure_identify NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Led.Group interface - - - .Asserted property b true emits-change writable ~# cat /var/lib/phosphor-led-manager/savedGroups { "value0": [ "/xyz/openbmc_project/led/groups/bmc_booted", "/xyz/openbmc_project/led/groups/enclosure_identify" ] }# Change-Id: I20dd57cc0c4edb0e28039ca9a276075914adc9f6 Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
2023-06-02meta-ibm: p10bmc-distributed: enable etcd packageojayanth1-0/+1
This feature helps to support a system where multiple BMC's will be a part of a single composed system. etcd is a strongly consistent, distributed key-value store that provides a reliable way to store data that needs to be accessed by a distributed system or cluster of machines. Enabled "etcd" package to install etcd binaries and the required systemd units to start etcd in cluster configuration. Tested: verified image. Installed binaries and systemd unit files. rootfs/etc/etcd.d/etcd-existing.conf rootfs/etc/etcd-new.conf.sample rootfs/etc/systemd/system/multi-user.target.wants/etcd-new.service rootfs/etc/systemd/system/multi-user.target.wants/etcd.service rootfs/lib/systemd/system/etcd-new.service rootfs/lib/systemd/system/etcd.service rootfs/usr/bin/etcd rootfs/usr/bin/etcdctl Change-Id: Iad30df3475b861491492168f975d7b347a1481a6 Signed-off-by: ojayanth <ojayanth@in.ibm.com>
2023-06-02meta-ibm: introduce new p10bmc-distributed machineAndrew Geissler2-0/+6
This new machine will be based on the p10bmc machine. It will be utilized to prototype and develop next generation distributed OpenBMC technology. Change-Id: Id9cef6fae52867a8eabf9e38a210c26dfa04ed25 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-06-02meta-ibm: make search path non-machine specificAndrew Geissler1-1/+1
Would like to make a variant of the p10bmc machine that includes some of the new etcd function. To do that, the search paths need to not include the MACHINE variable. bitbake is smart enough to look under the sub-directory and find the appropriate files. Change-Id: I542b4568c18210870b3e621461585a4c7eee3121 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-05-19openpower-vpd-parser: srcrev bump 390fccb10f..99f7a66305Andrew Geissler1-0/+10
Andrew Geissler (1): systemd: no installation in templated targets Includes needed service installation. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I22023bee9be60928a1ab990d627dc3d5553f30ad
2023-05-17meta-ibm: introduce p10.incAndrew Geissler1-1/+1
Similar to previous generation of the POWER processor, introduce a p10.inc that can be included on P10 systems. Without this, the needed op-proc-control services and functions are not brought in. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I58490e95e69ef8b4b31b0f4bc9213787058f0bba
2023-05-17meta-ibm: witherspoon: Set QB_DEFAULT_FSTYPE for use of UBIAndrew Jeffery1-0/+1
Witherspoon uses UBI instead of static partitioning for flash management, so make sure the qemu helper script can find the flash image. Tested: Reached a login prompt with `runqemu nographic slirp`. Change-Id: I513d0a5b878c553456d70bef25adedfa25bf9c90 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-05-15phosphor-power: srcrev bump aded7a0d44..8c90f319d5Andrew Geissler1-0/+1
Andrew Geissler (1): systemd: no installation in templated targets Includes changes required to ensure services are properly installed. Tested: -Confirmed services were installed into correct targets when building p10bmc machine Change-Id: I2d675ba083b2901ad1c26485d2f8b075fd6b3a25 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12Revert "Add socket-id for the first console"Andrew Jeffery5-5/+0
This reverts commit ec7cab9378f548e94ee4af83946b2583d1fc7194. ec7cab9378f5 ("Add socket-id for the first console") was only a partial fixup of the obmc-console configurations found in the tree. For historical reasons not all platforms that support multiple consoles install a client configuration file for all consoles. Instead they relied on some default behaviour that was removed in obmc-console's 4e7186918599 ("Fixed broken dbus interface for multiple consoles"). Applying the configuration changes in the manner of ec7cab9378f5 ("Add socket-id for the first console") resulted in an asymmetric configuration between the client and server, breaking some SSH SOL instances. As of ae2460d0b8e8 ("obmc-console: Provide a default value for `console-id`.") in obmc-console the requirement to specify `socket-id`[^1] is lifted. Instead, the configuration can choose to override a default value. This restores the original behaviour and unbreaks SSH SOL. [^1]: Now an alias of the `console-id` configuration key Websocket and IPMI consoles remain broken. A fix is under development that also takes a proper approach to supporting multiple consoles in bmcweb, and the same solution pattern can be applied in ipmid. More discussion of the problems involved can be found here: https://amboar.github.io/notes/2023/05/08/happenings-in-obmc-console.html Change-Id: I274284c791758f336da6d6301dc523bac2b5dd69 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-05-12meta-ibm:witherspoon: no installation in templated targetsAndrew Geissler1-1/+1
Upstream yocto introduced a change via e510222 (systemd-systemctl: fix instance template WantedBy symlink construction). This fixes a bug that we in OpenBMC had been taking advantage of in that we were able to document our templated target dependencies without it actually doing anything. The real installation of services within targets occurs in our bitbake recipes due to the complexity of chassis and host instances on a per machine basis. Leave the dependency information in the service files but comment them out. It's useful to be able to look at a service and understand which targets it's going to be installed into by the bitbake recipes. Change-Id: I1bf3bc6ce7a79d6c5847f5f1b4e6a97ca67332f8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-05-12meta-ibm:fans: no installation in templated targetsAndrew Geissler1-1/+1
Upstream yocto introduced a change via e510222 (systemd-systemctl: fix instance template WantedBy symlink construction). This fixes a bug that we in OpenBMC had been taking advantage of in that we were able to document our templated target dependencies without it actually doing anything. The real installation of services within targets occurs in our bitbake recipes due to the complexity of chassis and host instances on a per machine basis. Leave the dependency information in the service files but comment them out. It's useful to be able to look at a service and understand which targets it's going to be installed into by the bitbake recipes. Change-Id: I9c485cbd19eb2804efe9916d4080ba3c662f65e5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-05-11ibm-logging: srcrev bump 35262538d2..6a2b895648Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: Ib3888ded06c8d0766b158293420b64644d600d7e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-10meta-ibm: p10bmc: Update OCC to processor associationsChris Cain3-32/+32
This corrects the associations between processor and OCC. The OCC is power_managing the processor. The processor is power_managed_by the OCC. Retrieving the element that OCC is managing: as 1 "/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0/cpu0" Signed-off-by: Chris Cain <cjcain@us.ibm.com> Change-Id: I45bce16127c34c70dadc133530ece0ed15c10b98
2023-05-09meta-ibm: Enable bmcweb-logging to error levelMyung Bae1-0/+1
bmcweb now supports to specify the logging level by https://gerrit.openbmc.org/c/openbmc/bmcweb/+/60212 This is to enable the Error or higher bmcweb logging levels for meta-ibm. Tested: - Build BMC image - Run bmcweb and verify Error/Critical logging messages - Verify Redfish Validator Change-Id: Ic431eafbaed22d25391201149976bd173a553c4e Signed-off-by: Myung Bae <myungbae@us.ibm.com>
2023-05-02meta-ibm: enable persist-mac flagIsha Sahni1-0/+1
-mac address wasn't persisting after reboot Tested by: 1. Assign a valid MAC address aa:e2:84:14:28:79 to the system using curl -k -H "X-Auth-Token:${bmc_token}" -X PATCH -D patch.txt -d '{"MACAddress":"AA:E2:84:14:28:79"}' https://$bmc/redfish/v1/Managers/bmc/EthernetInterfaces/eth0 2. Now GET and verify if the MAC address has changed using curl -k -H "X-Auth-Token:${bmc_token}" -X GET https://${bmc}/redfish/v1/Managers/bmc/EthernetInterfaces/eth0 3. Now reboot the BMC and verify if the MAC address remains the same Change-Id: I334f1936f433e3e7e30ca5e669a89112f9879276 Signed-off-by: Isha Sahni <isha.sahni1@ibm.com>
2023-04-27meta-ibm: Using append in override syntaxChirag Sharma1-1/+1
Currently, scripts in install_ibm_plugins link_ibm_plugins are not getting added in BMC image as a result of which changing "+=" to append. Tested: Post change can see the scripts are getting added in the image. Change-Id: I932257e3652d0d6911923d4e9e0a57abeeb392ce Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
2023-04-21meta-ibm:Adding rsyslog service in P10BMCPavithra Barithaya1-3/+0
This commit adds the rsyslogd process in P10BMC systems. This is the revert of the commit - https://gerrit.openbmc.org/c/openbmc/openbmc/+/59038 The OpenBMC community has defaulted to rsyslog as the more feature rich alternative to syslog. Even though we don’t need the remote offload capabilities of rsyslog, it provides other features (like forwarding other users of syslog to the journal). Change-Id: I5f114d0157ec4d6c2390dccc5972019647f1ab20 Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
2023-04-21meta-ibm: p10bmc: Add occ to processor associationsChris Cain3-0/+176
Adding an association between the OCCs and processors, so that the throttle status can be associated with the applicable processor. The processor is power_managed_by the OCC. The OCC is power_managing the processor. Change-Id: I4f5b9f4ec347665316dae87e1995cebb52ef374c Signed-off-by: Chris Cain <cjcain@us.ibm.com>
2023-04-21Add socket-id for the first consoleNinad Palsule5-0/+5
This drop adds socket-id for first console. This was left out before but with the new design this parameter is required and enforced by obmc-console code. It is decided to set "socket-id = console0" initially because that is the current path used by bmcweb but in future you can change this value to whatever is appropriate. The console information is now available through the DBUS interface. Each console server register it's object path on DBUS. The leaf node of the object path is used to create a console path. For example in the following console0 the leaf node "console0" is used to make up the console path and the GUI will use console path "/console/console0" to connect to the console. busctl tree xyz.openbmc_project.Console.console0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/console `-/xyz/openbmc_project/console/console0 Here is a discord thread where new design was discussed. https://discord.com/channels/775381525260664832/1083551792094249051 Tested: Tested on the rainier system. Related commits: 1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486 2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496 3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525 Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
2023-04-21meta-phosphor: obmc-console: Convert recipe to mesonAndrew Jeffery1-1/+1
Upstream obmc-console now supports the meson build system. I consider the autotools build system deprecated and intend to remove it. Change-Id: Ic8eea195bee0b3bea1cb9418593596ce1aaceeae Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-04-19openpower: Add support for PM eLog trace parsingpremjha2@in.ibm.com1-0/+1
Commit is intended to enable import of trace parser modules from hostboot repo. It aims to pullin modules which parse trace section of eLog committed by XGPE, PGPE and QME. Change-Id: I067af7b9594df13dab7184e568d0d008d4e47c65 Signed-off-by: Prem Shanker Jha <premjha2@in.ibm.com>
2023-04-19meta-ibm: fix some shellcheck issuesPatrick Williams5-22/+25
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iced76041c1207dc9ab28a83fd849ba3cd0a07bb5
2023-04-17meta-ibm:sensors:p10bmc:Add power-supply hwmon configsLakshmi Yadlapati3-0/+28
Add the power-supply configuration files for the acbel-fsg032 power supplies used in the Bonnell systems in order to get telemetry data added to D-Bus via phosphor-hwmon. Bonnell power supplies on bus 3 at 0x5a and 0x5b Change-Id: I97a1e1ba57ee1b2da6462b6921f121683498fe87 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
2023-04-17meta-ibm: linux-aspeed: Enable acbel-fsg032 driverLakshmi Yadlapati1-0/+1
Enable Bonnell power supply driver acbel-fsg032 Change-Id: I271682b659565d5eb679ce624fc2fcc6b4b5c8c0 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>