summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-system1
AgeCommit message (Collapse)AuthorFilesLines
5 daysmeta-ibm: system1: Add bios version packageAsmitha Karunanithi4-0/+97
This commit includes changes to update the bios version flashed in x86 PCH SPI flash. The version is updated in the dbus as well and cached for later use to avoid reading SPI flash subsequently. This service is started after "xyz.openbmc_project.Software.Version.service", typically during boot or when flashing a host firmware via BMC to update version information. Tested By: Built openbmc, and verified that the service is installed on the bmc. The host firmware version is updated on the dbus [1] and updated in the `/var/cache/bios_version` file, when PCH is in standby. [1] busctl get-property xyz.openbmc_project.Software.BMC.Updater /xyz/openbmc_project/software/bios_active xyz.openbmc_project.Software.Version Version Change-Id: Ic7b4bb1250b8f1b8fc62fc7fd46654375937a459 Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
11 daysmeta-ibm: system1: add phosphor-software-managerAndrew Geissler1-0/+8
phosphor-software-manager is required to pull in the new bios-version functions. Change-Id: Ic4987fcda81ce56cf9f5af59986663ed8ce70cce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2024-09-11meta-ibm: system1: Turn on serial GPIO configNinad Palsule1-0/+1
Turn on SGPIO config for the IBM system1 bmc. system1 bmc uses it to query fpga for example fault status. Change-Id: I19a5e87a252ce7b8f21235edfed079c8d98d9f93 Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
2024-09-04meta-ibm: Add SMBIOS support in meta-system1Asmitha Karunanithi3-0/+4
This commit pulls: 1. smbios-mdr recipe that is responsible for parsing the smbios table sent down by the host, and publishes the system information on the dbus objects. 2. phosphor-ipmi-blobs: this is an alternative implementation of IPMI blob transfer API. The blob handler writes the data into `/var/lib/smbios/smbios2` path (the local persistent cache for the SMBIOS table) and triggers smbios-mdr to reload and parse the table from that file. Tested By: Verified that the smbios data is transferred via IPMI to the BMC and the smbios-mdr service reads that data and populates the dbus object. Change-Id: I7eb54695c46cd8d0392b8ce7c942fedeb56b5d14 Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.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-03-19meta-ibm:system1:kernel: utilize correct device treeAndrew Geissler1-3/+1
The system1 device tree is now in openbmc/linux so utilize it Change-Id: I1e4214483b17e4fe98375d5d3f56e98934d5eedd Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
2023-12-14meta-ibm: system1: enable phosphor-power-psu-monitorAndrew Geissler1-0/+1
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-buttonsjinuthomas1-0/+2
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-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-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-12meta-ibm: system1: add phosphor-powerChris Cain1-2/+1
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-04meta-ibm: system1: add dbus-sensors with adcsensorAndrew Geissler1-0/+2
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-09-28meta-ibm: system1: add in basic chassis power controlAndrew Geissler2-0/+14
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: 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>