summaryrefslogtreecommitdiff
path: root/meta-ibm
AgeCommit message (Collapse)AuthorFilesLines
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>
2023-09-28meta-ibm: consolidate network device mappingsAndrew Geissler9-39/+22
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: system1: add systemd-networkd-wait-onlineAndrew Geissler1-0/+6
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. Change-Id: I59b118bc7261bda76b88707426fd216359e08c44 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-28meta-ibm: system1: Initial system definitionAndrew Geissler8-0/+372
Initial commit for IBM platform system1 Tested: - Build success Change-Id: I5c0dac8c569c210d19bad6d2f2771a67a93938d9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-28meta-ibm: utilize new webui IMAGE_FEATUREAndrew Geissler6-7/+7
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: sbp1: Enable ipmbsensorPatrick Rudolph1-0/+1
Enable ipmbsensor to read Intel PCH temperature over IPMB. Tested: After updating entitymanager config the temperature can be read using ipmbsensor. Change-Id: Ifd57dcf380267a5b009c48da1fac960106ded901 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: Configure phosphor-ipmi-ipmbPatrick Rudolph3-0/+19
phosphor-ipmi-ipmb is used for Intel ME communication to get thermal sensor data and to set Intel ME into recovery mode when doing an x86 BIOS update. Tested: Intel ME responds to commands and returns thermal sensor data. Change-Id: Ie4fadafdc98d611420629011a38922cd11692d41 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-26meta-ibm: p10bmc: add entity-manager into imageAndrew Geissler1-1/+1
p10bmc utilizes entity-manager in a variety of ways. For examples, openpower-process-host-firmware.service depends on EM's compatible name. IBM is moving more and more of it's inventory function over to EM so add it in by default to p10bmc images. Change-Id: I0b97a90009e058694f88aec6b7d9bb48a7040419 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-09-26linux-aspeed: Move to Linux v6.5Joel Stanley6-10/+10
This moves the OpenBMC kernel to a v6.5 base for ASPEED. The 6.5 kernel moved all 32-bit ARM device trees, so our BMC device tress are now under an 'aspeed' subdirectory. This change means systems must describe the KERNEL_DEVICETREE with the aspeed directory prefix. There are 78 patches in the tree, with 40 of those patches not yet queued for merging in v6.6. The remaining out of tree patches include: Andrew Jeffery (6): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface Cédric Le Goater (1): /dev/mem: add a devmem kernel parameter to activate the device Eddie James (16): ARM: dts: aspeed: bonnell: Add reserved memory for TPM event log dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl soc: aspeed: xdma: Add trace events i2c: core: Add mux root adapter operations iio: si7020: Lock root adapter to wait for reset eeprom: ee1004: Enable devices on multiple busses dt-bindings: trivial-devices: Add Atmel AT30TSE004A serial eeprom eeprom: ee1004: Add OF matching support leds: pca955x: Refactor with helper functions and renaming leds: pca955x: Use pointers to driver data rather than I2C client leds: pca955x: Optimize probe led selection leds: pca955x: Add HW blink support leds: Ensure hardware blinking turns off when requested Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (14): net: ftgmac100: Ensure tx descriptor updates are visible ARM: aspeed: Add debugfs directory ARM: soc: aspeed: Add secure boot controller support dt-bindings: trivial-devices: Remove Infineon SLB9673 TPM ARM: dts: nuvoton: npmc750-evb: Add default console tpm: tis-i2c: Add more compatible strings leds: pca955x: Revert "Remove the unused function pca95xx_num_led_regs()" arm64: configs: Add Nuvoton NPCM defconfig ARM: configs: aspeed: Add new FSI drivers ARM: config: aspeed_g5: Enable SSIF BMC driver ARM: config: aspeed: Remove FIRMWARE_MEMMAP ARM: config: aspeed: Add Ampere SMPro drivers ARM: config: Add openbmc defconfig ARM: config: openbmc: Add HPE GPX and Nuvoton 7xx Johannes Holland (1): dt-bindings: tpm: Add schema for TIS I2C devices Potin Lai (1): mtd: spi-nor: winbond: Add support for w25q01jvq Change-Id: Ib97af192391af6e71c96fe14e12cfc88c23d7a7d Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-09-21meta-ibm: Add FabricAdapter Port Association ExamplesMyung Bae2-0/+48
Add some example port associations to support FabricAdapter and Port. The assocication is defined by https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/62881. FRU examples are added via https://gerrit.openbmc.org/c/openbmc/openpower-vpd-parser/+/66540 These associations will be used for bmcweb Port schema implementation. Tested: - Verify bmcweb Port schema https://gerrit.openbmc.org/c/openbmc/bmcweb/+/61097 Change-Id: I8e892f029210d5391456e0ff5827b3d6a18d9c7a Signed-off-by: Myung Bae <myungbae@us.ibm.com>
2023-09-20meta-ibm: p10bmc: Embed eMMC ABR ROM patch in OTPJoel Stanley1-3/+11
Address errata 80 from E2600-11.pdf for the IPS configuration. This is analogous to commit 352822eb45af which updated the IBM configuration. Change-Id: Ie0036a4895619cb9324f58232d93fd61e73044fa Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-09-13meta-ibm: Add missing Bonnell device calloutsMatt Spinler1-54/+198
A few paths were missing callouts Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I617085b4a1305ed264f8008b4577567d93e7150e