summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-07-27meta-fii/meta-kudo: use the chassis capabilities commandLancelot Kao2-0/+25
enabled the ipmi chassis capabilities command Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I0dd4a6eb90a070987a371649385f6d8f037d4e67 Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-06-18meta-fii/meta-kudo: Increase obmc console logs size to 1MMohaimen Alsamarai3-7/+3
Increase the /var/log/obmc-console*.log file to 1M Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I07cecebb6fe9c1d8e2d123951c67b3d33ce0da3b
2021-05-28meta-fii/meta-kudo: remove duplicate packageLancelot Kao1-1/+0
1. remove the usb-network from obmc-phosphor-image.bbappend Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: Iaccd431f0b712b201b213f9af44fd446a1c54b1f
2021-05-27meta-fii/meta-kudo: fixed naming in EM jsonLancelot Kao1-3/+3
1. correct the sensor name in EM json file Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I98df21ba91820fefccf86640433ca8786a81dcf5
2021-05-22meta-fii/meta-kudo: Use virtual sensorMohaimen Alsamarai2-12/+344
add virtual sensors for DIMMG and CPU power Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: Id7c8269899caddcb68f11c75e867fa173b0b8ee4
2021-05-14meta-fii/meta-kudo: Fix eeprom addressMohaimen Alsamarai1-2/+2
change blobs binarystore i2c address Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I479810d5f086a57c593a45d36ca8e26c33044414
2021-05-14meta-fii/meta-kudo: fix sensors used by entity-managerMohaimen Alsamarai3-975/+652
1. Fix sensors in kudo.json a. Update FAN threshold b. Change NBM name c. Change NBM zone name d. Add DIMMG as virtual sensors e. Update DIMMG threshold f. Update NBM threshold 2. Add black list to fix pmbus scan issue Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: Id2b781bcc5d2740cec3895ce3096ed793990707b
2021-05-10meta-fii/meta-kudo: Add missing packages and fix issue with ipmi-hostMohaimen Alsamarai2-0/+13
1. Add bbappend to phosphor-ipmi-host to include a needed header file 2. Add missing packages to obmc-phopsphor-image Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Signed-off-by: XP Chen <xiao-peng.Chen@fii-na.com> Change-Id: Ib28a1232e0a84a1efa80b4b819cf7f9d3cb68955
2021-05-06meta-fii/meta-kudo: Using Virtual sensormustafa4-0/+97
1- Using Virtual sensor Signed-off-by: mustafa <mustafa.shehabi@fii-na.com> Change-Id: Id942cb0a1fb1032589476bc202148f47d1953c6e Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-05-05meta-fii/meta-kudo: add sol connectionLancelot Kao5-0/+112
1. support the Ampere host and SCP Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: Ifb07bac01264c8d04741e6996f421ab457291d39 Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-05-03meta-fii/meta-kudo: add misc configurationLancelot Kao3-2/+14
1. add the hotswap-power-cycle 2. add the entity-association-map 3. add the phosphor-ipmi-blobs-binarystore Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: Ieea8f21a35c81ed066eedab0c8264494b743f3bb Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-04-23meta-fii/meta-kudo: Entity Managermustafa1-1/+1
1- Add space to fix build issue Signed-off-by: mustafa <mustafa.shehabi@fii-na.com> Change-Id: Ic08c2e94e2271c8ab67f6ef60b0886379a70354b
2021-04-19meta-fii/meta-kudo: Using Entity managermustafa3-0/+3907
1- Using Entity manager 2- Using Entity manger PID 3- Using EntityIds Signed-off-by: mustafa <mustafa.shehabi@fii-na.com> Change-Id: Icfaae4556e03b99e7b44baa15f22d6a453d9bf54 Signed-off-by: mohaimen.alsamarai@fii-na.com <mohaimen.alsamarai@fii-na.com>
2021-04-19meta-fii/meta-kudo: PID Fan Controlmustafa5-0/+66
1- Using PID Fan Control 2- Switch Fan Control from Phosphor PID Control to Entity Manager PID Signed-off-by: mustafa <mustafa.shehabi@fii-na.com> Change-Id: I29305ba959dd2f4dd2fd0131af324f105d28a7bc
2021-04-16meta-fii/meta-kudo: Using SEL logmustafa1-0/+2
1- Using SEL log Signed-off-by: mustafa <mustafa.shehabi@fii-na.com> Change-Id: I65a6c0094262e598bbb1c8240b11c76c9fbe51eb Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-04-13meta-fii/meta-kudo: support the bios update featureLancelot Kao1-3/+0
1. add kudo-bios-update package to support bios update Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: Ic245828ed3bb0ddf6d7363e7c2c4d3b8b538aa88 Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Signed-off-by: Mohaimen Alsamarai <Mohaimen.alsamarai@fii-na.com>
2021-04-09meta-fii/meta-kudo: Add USB-NIC configurationLancelot Kao1-0/+1
1. add USB-NIC functions Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I1eba438c770c8ccd5794b1184d4a25ef7fbfb0e6
2021-04-08meta-fii/meta-kudo: Use nuvoton loadsvf cpld update functionLancelot Kao2-0/+4
1. Use Nuvoton cpld function to support update MB CPLD and BMC CPLD 2. include phosphor ipmi flash Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I0eb852a20c35670c6a62c9858182320ed0c925a6
2021-01-30meta-fii/meta-kudo: Add new meta layer for Fii Kudo projectLancelot Kao1-0/+7
First drop for the meta-kudo layer, initial machine configuration to supports Nuvoton npcm730 chip and the Ampere ARM system Tested-by: 1. Load image on the Nuvoton RunBMC CRB 2. Use ipmitool to test the command under BMC console a. ipmitool mc info b. ipmitool sdr c. ipmitool lan print d. ipmitool channel info 1 e. ipmitool user list 1 f. ipmitool chassis status g. ipmitool raw 0x06 0x01 h. ipmitool power status Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: Ic34b77affe0c08e84762ef795f9f06011bd269ce