summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
9 daysmeta-fii: phosphor-state-manager: enable host-gpio PACKAGECONFIGPatrick Williams1-15/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4e1a23e455573909412a0cc4d251534c771f4c10
2024-04-03smbios-mdr: Add cpuinfo-peci PACKAGECONFIGJonathan Doman1-2/+0
Part of the functionality contained in the existing `cpuinfo` flag is now split into a new flag `cpuinfo-peci`. The new flag is still logically dependent on the existing one, but it gives finer control over enabled features. Remove all cpuinfo flags from default PACKAGECONFIG. Update bbappend based on new defaults. smbios-mdr: srcrev bump abdccd3af9..4e1cf09955 Jonathan Doman (1): cpuinfoapp: Make PECI features optional Change-Id: Ib9a1e634634f046b2ec6ff5629d4498bf0d5914b Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
2024-03-26meta-fii: kudo: Use entity-manager-decorators in IPMIVikram Gara1-0/+1
Enable entity-manager-decorators packageconfig for phosphor-ipmi-host. Change-Id: I42364257c3330c1332694070cb135731fba08e63 Signed-off-by: Vikram Gara <vikramgara@google.com>
2024-03-13meta-fii: kudo: Remove bmcwebVivekanand Veeracholan1-0/+5
Kudo does not use bmcweb. Remove bmcweb packages. Change-Id: I354c45686679b68ebbf5528378b80374d3789a0e Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
2023-10-04phosphor-sel-logger clears SELAlexander Hansen1-2/+2
the ambiguity is removed and there is no longer the option to choose who clears the SEL. Change-Id: I47ee70061f72cdf878c918e49c5b461019398943 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
2023-08-01meta-fii: meta-kudo: Bypass mandatory power_on led groupJonico Eustaquio1-0/+1
By setting CHASSIS_TARGETS = "", obmc-chassis-poweron/off@0.target will not have a dependency on obmc-led-groups-start/stop@power_on.service. This keeps us from having to add the led.yaml file for phosphor-led-manager since we do not require obmc-led-groups-start/stop@power_on.service to activate. Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com> Change-Id: I8e9581b067cf2a5589da9dc18a6a140c40130c63
2023-06-06obmc-console: Convert configs from socket-id to console-idAndrew Jeffery1-1/+1
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-03-29meta-fii: meta-kudo: Remove unused entity-map jsonAvenash Asai Thambi1-0/+5
To fix the IPMI runtime error we need to remove this in kudo. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I95ec7397812710992c5e4de3442e1d2ea7adbbeb
2023-03-27treewide: switch '/usr/share' to datadirPatrick Williams1-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
2023-02-14treewide: remove Logging service dependenciesBrad Bishop1-2/+0
The logging service is dbus activated now, so explicitly declaring dependencies is unnecessary and redundant. Change-Id: I87d61fbeb04a251caf88aa86cb21631e7fc2a1c4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2023-02-14meta-phosphor: mapper cleanupsBrad Bishop2-4/+0
Mapper ships with systemd unit and dbus configuration files now, so remove unnecessary bitbake classes. Mapper is dbus-activated, so obmc-mapper.target dependencies are redundant and no longer necessary. obmc-mapper.target is the last target in obmc-targets, so remove that recipe and any dependencies on it. Change-Id: I59ff8dcd480b4449d0ef59422ba80c12848dade9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2022-11-02Remove PACKAGECONFIG for nic-ethtoolJason M. Bills1-1/+0
The nic-ethtool option was removed from phosphor-network, so we also need to remove the PACKAGECONFIG option to build the phosphor-network bump. Tested: Confirmed that the latest phosphor-network builds successfully. Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com> Change-Id: Id1e12f3f2af2450500ec6c0b2acef284cb69d0a7
2022-06-30meta-fii: meta-kudo: Remove chassis power cycle targetAvenash Asai Thambi1-1/+0
Upstream phosphor-state-manager doesn't want to support obmc-chassis-powercycle target. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: Idb955d3f0bee0701bd87d265fac679e7209ff87b
2022-06-24meta-fii: meta-kudo: Change CPU_MEM_PW virtual sensors thresholdsAvenash Asai Thambi1-2/+2
The upper critical value of CPU0_MEM_PW has been changed to 100 and the max value has been set to 200 to support this change. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I1ee84cbeca688a8203e49c891b8a8a870db693fe
2022-05-06meta-fii: meta-kudo: Remove the 2p sensor supportAvenash Asai Thambi5-627/+3
Removed the 2p sensor support from the phosphor-virtual-sensor and modified the recipe accordingly to support the new config. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: Ie9896ed6473844f54ba0fb3e422de946bec52892
2022-05-06meta-fii: meta-kudo: Remove custom phosphor-pid-control.serviceAvenash Asai Thambi2-20/+0
The custom phosphor-pid-control.service is not necessary because PID control still operates with the default phosphor-pid-control.service. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: Ic0f1447c5a20f275cec9e51d26018f6f55101ed0
2022-05-04meta-fii: meta-kudo: Use host_reset in watchdog reset serviceAshwin Murali1-1/+1
The phosphor-watchdog-host-reset service used the deprecated force_reset command instead of the host_reset. Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I329006b23ce7ac50d659dd8cf59704256b2bffaa
2022-04-22meta-fii: meta-kudo: Adopt multi-host support and host GPIOCharles Boyer5-45/+62
Use GPIO instead of IPMI for host condition. Adopt the multi-host support and syntax for phosphor-state-manager services. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I58ff4291ce3ec055579df5a2463c178e53d93625
2022-04-21meta-fii: meta-kudo: Use I2C array definitions in kudo-lib.shCharles Boyer1-2/+6
Adds the I2C bus and address in array form to kudo-lib.sh, and replaces the hardcoded values with references across Kudo layer. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I69bbff444e013e61d7f7fd5051612a6d4adc8ded
2022-04-21meta-fii: meta-kudo: Use phosphor-buttons packageCharles Boyer1-0/+10
The method to monitor the power and reset buttons through the ampere_power_util.sh with phosphor-gpio-monitor was a temporary solution. It was a temporary workaround until there is support for Nuvoton GPIO in phosphor-buttons. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I34541c0f56887962ad780b811eae44f1d851059d
2022-04-21meta-fii: meta-kudo: Use GPIO line names instead of numberCharles Boyer1-4/+3
Replaces hard-coded GPIO throughout the Kudo layer with a reference to its line name from DTS. The process to dynamically obtain the GPIO number for Get is added to kudo-lib.sh, 1. Use `gpiofind <Line Name>` to obtain gpiochip# and pin# 2. If the gpiochip# exceeds the number of GPIO banks of Nuvoton, then it is an I/O Expander. a. Use `gpiodetect` and extract the I2C bus-addr b. Obtain GPIO base value from sysfs using bus-addr c. The GPIO number is then the (base + pin#) 3. If the gpiochip# is within Nuvoton GPIO banks, then calculate the GPIO number as ((gpiochip#)*32 + pin#) Then the GPIO number can be used in the export to obtain the value. Tested with Nuvoton: - Can read/set Nuvoton GPIO with defined line names - Can read/set GPIO from I/O Expanders with defined line names Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I651c0707a8bbc170d3c5a5fc261e5f9c62453e9f
2022-04-12meta-fii: meta-kudo: Use json expressions to select NBM chipset versionAvenash Asai Thambi6-322/+27
The NBM 2G and 4G chipset version is selected using expressions in the json based on the chipset used and available in SDR. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: Ibd3c683fde94206254c37c3552db828a6b78e982
2022-04-08meta-fii: meta-kudo: Fix shellcheck errorsCharles Boyer2-2/+5
Fixes bash shellcheck errors so that the exemptions in run-repotest can be removed. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I6afb059cf1151c871ddfcaf67efc6a63183f7130
2022-04-07meta-fii: meta-kudo: Remove tla2024 from kudoAvenash Asai Thambi3-19/+2
The tla2024 support has been moved into internal repo. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: Ia77538f10015b033f989b9371c69cfe5d286ee52
2022-03-24meta-fii: meta-kudo: add comment on sel-logger to match kudo codeGrant Williams1-1/+1
add comment on sel-logger to match kudo code "enable clear sel method" Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: Iae39238880c5fd9ddf86c40743d8dd6c5be73041
2022-03-01meta-fii: meta-kudo: Remove unused phosphor-state-manager featuresCharles Boyer1-1/+2
The following are not used in Kudo and can be removed. - obmc-bmc-service-quiesce@.target - ${PN}-chassis-check-power-status Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Iad82935b3b0c621ec6b1c81cd0ed56a6be55baaf
2022-02-24meta-fii: meta-kudo: Modify virtual sensor configMustafa Shehabi7-499/+1224
Add CPU detect to support 1p/2p virtual sensor json configuration Add new thermal sensors Add virtual sensor json selection support based on NBM chipset version Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com> Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: Ib5a442cc35f2402c521557d908a90a86dd091cc0
2022-02-01meta-fii/meta-kudo: Add server conf files to obmc-console SRC_URICharles Boyer1-0/+2
The server.ttyS1.conf and server.ttyS3.conf files were missing from the SRC_URI. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ic2762f8cfdb1a5b6e2965a77890a98afdc1ae31e
2022-01-28meta-fii/meta-kudo: Add fan pwm rate changeavenash.thambi1-1/+15
With the usage of new fans there is a delay in the rate of change of fan pwm from 255 to lower level so the pwm-init.sh is updated to configure the fan controller settings at boot. Signed-off-by: avenash.thambi <avenash.thambi@fii-usa.com> Change-Id: If43dd1de39702128bf61fa6483ea2d210410f67e
2022-01-27meta-fii/meta-kudo: Remove phosphor-ipmi-host bbappendavenash.thambi1-8/+0
This file is no longer needed since we moved away from using the intel-ipmi-oem. Signed-off-by: avenash.thambi <avenash.thambi@fii-usa.com> Change-Id: Ifadd213d9b26a11d88caeab37b4b5cb079ba0f52
2022-01-18meta-fii/meta-kudo: Clean obmc-console port configsCharles Boyer1-22/+5
The obmc-console recipe changes from https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/49336 add support for multiple port configurations. Therefore, the configs do not need to occur in the bbappend. Removed the additional configuration steps to configure multiple ports and used OBMC_CONSOLE_TTYS override instead. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Iba14a8b5935cd3cd8718a8bf94d5eed18de9db9e
2022-01-18meta-fii/meta-kudo: Organize executables to follow anti-patterns.mdCharles Boyer10-13/+15
According to https://github.com/openbmc/docs/blob/master/anti-patterns.md, /usr/sbin is reserved for system administration executables. The executables called by services or internal use are placed in /usr/libexec/<package>. Executables kept in /usr/sbin, - kudo.sh - kudo-ras.sh - kudo-fw.sh Executables moved to /usr/libexec, - ampere-hostctrl/ampere_power_util.sh - kudo-fw/kudo-fw-ver.sh - kudo-fw/kudo-lib.sh - kudo-boot/init_once.sh - usb-network/usb_network.sh - obmc-console/kudo_uart_mux_ctrl.sh - pwm-init/pwm_init.sh - phosphor-virtual-sensor/tla2024-enable.sh Also removed /usr/bin/env from service files. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I270eee5cb9c0ca248f1b84a87d1cff5c6dc129f3
2021-11-23meta-fii/meta-kudo: Change watchdog action to power utilityXP Chen2-2/+2
For shutdown, if it does not go through the power utility, the Chassis state will not change. For host reset, execute additional verification steps attached to the power utility service performing the host reboot. Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2f67a34ba8cfd80fd3dde999baa329d44288bdfe
2021-11-11meta-fii/meta-kudo: Revert host-check changesCharles Boyer2-0/+42
Kudo uses GPIO for checking the host status and does not use IPMI SMS. Therefore, this will remove the host-check feature as some of the recent recipe changes create stalls between host-state-manager and IPMI host control. Reference changes made in, https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/45312 Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I76b246dd003f94c95f194592647c4291014abf0b
2021-11-11meta-fii/meta-kudo: Customize chassis power cycle actionCharles Boyer1-0/+2
Instead of a host or chassis restart for a Chassis PowerCycle, have both the BMC and host perform a hard reset. This requires changes to phosphor-state-manager to add the handling of xyz.openbmc_project.State.Chassis.Transition.PowerCycle. Currently, there is handling for On and Off, but not PowerCycle. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I3d934c47a68899b2fd8fcba966f8d92c97554a77
2021-11-09meta-fii/meta-kudo: Fix power control states and timingCharles Boyer3-6/+29
Summary of changes: 1. Adjust start time of xyz.openbmc_project.State.Chassis.service to fix initial chassis state 2. Add shutdown ack service 3. Remove reset ack service 4. Remove heartbeat mode 5. Remove sysreset pin control from power_control.exe 6. Remove all phosphor-fan services that caused power off during a system reset 7. Adjustments to ampere_power_util.sh (See below) ampere_power_util.sh: 1. Use GPIO instead of dbus for host state 2. Wait 3 seconds before checking power status for power on 3. Wait 6 seconds before checking power status for power off 4. Have force_off act GPIO while power_off sets Chassis state 5. Graceful shutdown acts GPIO 6. Check host status before issuing system reset 7. Set Watchdog Expire Action to None before power off and reset Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ie2720ee60d489c4160165c6827a78a400ae4d30b
2021-09-10meta-fii/meta-kudo: Select clears-sel optionCharles Boyer1-1/+1
This will select the option within phosphor-sel-logger to clear the IPMI SEL through its Clear method. Then there will not be a Record ID sync issue from the clear of SEL and adding new entries. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I4ba21237b2726254b2a427d9bc26469c5267b565
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-1/+1
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-09-01meta-fii/meta-kudo: Support SMBIOSCharles Boyer1-0/+3
Enable support for smbios-mdr using IPMI BLOB transport protocol, and disable the cpuinfo feature. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I035889f3ce0792a06c85a8ea713a19e24c24e546
2021-08-26meta-fii/meta-kudo: Add ethtool to phosphor-networkXP Chen1-0/+1
Enable redfish response to contain EthernetInterface SpeedMbps /redfish/v1/Managers/bmc/EthernetInterfaces/eth[x] Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: I0d4179935b37c8d7bd5d0c51b122851d4f81a99d
2021-08-24meta-fii/meta-kudo: Add I2C bus 12 to blacklistMustafa Shehabi1-1/+1
Add I2C bus 12 to blacklist file in the EM configuration 12 is slave and Fru device should not be scanning it. Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com> Change-Id: I51c66f7b322113d2b4120a266b053ea3e92cc0fa
2021-08-21meta-fii/meta-kudo: Fix missing override changeMohaimen Alsamarai1-1/+1
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I83358748c2a8102c018d3e6ffb7f1fabad459c00
2021-08-20meta-fii/meta-kudo: Fix virtual sensor configMohaimen Alsamarai1-22/+119
Fix virtual sensor config so that sensors will show NA in the SDR when missing its input sensors. Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I9bba40046c58455e4ba4d8dcd963871023f6920c
2021-08-18meta-fii/meta-kudo: follow the new Yocto override syntax changeMohaimen Alsamarai14-57/+56
Changing the syntax for various yocto files ie. (_ to :) changes to bb, bbappend and conf files. Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: If25577ee9d98398c1a1ab7f85a0373c46af70245
2021-08-16meta-fii/meta-kudo: Adding distro config for kudoLancelot Kao2-0/+3
add BMC version in distro/openbmc-kudo.conf add Gbmc.conf add dev_id.json Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I84c6d735cfad55abaa272edab1d10b4b9d4b0d99
2021-08-12meta-fii/meta-kudo: Enable SEL and Redfish logsLancelot Kao2-1/+7
Enable the Redfish logs and SEL threshold, pulse, and watchdog event monitoring. Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I8b72923693a8a3a426f2b87185a89aa1add8781c
2021-08-12meta-fii/meta-kudo: Remove entity manager json fileLancelot Kao2-3571/+0
The Entity Manager JSON file is being checked into entity-manager configurations, so it can be removed from meta directory. Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ibea2fc4f79012a4c3b27d3e86409856e699b6bd7
2021-08-03meta-fii/meta-kudo: Use phosphor-state-managerMohaimen Alsamarai2-0/+30
Added 1. phosphor-state-manager 2. ampere-hostctrl 3. Nuvoton chip and skeleton GPIO support in obmc-libobmc-intf 5. obmcutil support Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I2628a0cab35a9be5afd702cc6269932c0c901e6a
2021-07-30meta-fii: meta-kudo: phosphor-sel-logger: Use packageconfigWilliam A. Kennington III1-2/+1
This makes it possible for us to change out build specific settings. Change-Id: I86e0dd6b02373f6c6a0e1766e14510c468f9c06e Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-27meta-fii/meta-kudo: Add kudo watchdog packageLancelot Kao5-0/+51
1. Add kudo watchdog service 2. Add kudo specific watchdog action services 3. Fix watchdog action.services to not autostart Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I49e672c93001a5ba7b8960b914222ff7abc37c9f Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>