summaryrefslogtreecommitdiff
path: root/meta-fii
AgeCommit message (Collapse)AuthorFilesLines
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 Williams2-8/+8
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: Increase rate-limit for rsyslogCharles Boyer1-2/+2
The SEL Record IDs are observed to skip in /var/log/ipmi_sel and the issue has been traced to the rate-limit of rsyslog. When messages are dropped due to rate-limiting, some of them are SEL messages. Phosphor-sel-logger is inserting the Record ID into the message without checking if previous records make it into ipmi_sel. This causes the skip in Record IDs. To prevent SEL messages from being dropped, the rate-limit has been increased. The side-effect is that more messages are being allowed within a minute to lower performance. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Iff015e1f45e7f79f73d1a03d05af88832b6f972d
2021-09-01meta-fii/meta-kudo: Support SMBIOSCharles Boyer2-0/+4
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-31meta-fii/meta-kudo: Fix distro/conf with correct version yocto syntaxXP Chen1-1/+1
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: I276c7333f9f01949db2387735edb5d9a97c4fa1d
2021-08-27meta-fii/meta-kudo: Modify kudo-fw.sh SCP EEPROM update methodsXP Chen2-26/+42
1. Update both primary and backup SCP EEPROMS when updating the BIOS Modify the 2. Switch the SCP mux correctly on EVT and DVT hw Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Idd07f4b57bfd2eaa13795f60b653915f1cf7c161
2021-08-26meta-fii/meta-kudo: Modify kudo.conf to use kudo bmc-updateMustafa Shehabi2-1/+2
Add PREFERRED_PROVIDER_virtual/bmc-update in kudo.conf to fix bmc_update build conflict with gbmc's bmc_update. Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com> Change-Id: Ideb5cbde0f4c94c7197984c1641223da1583111d
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-20meta-fii/meta-kudo: Add kudo-chassis to packagegroupMohaimen Alsamarai2-2/+4
Adding chassis management packages Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I334f925414815961fd9e6dcb309a52c14d670f03
2021-08-18meta-fii/meta-kudo: follow the new Yocto override syntax changeMohaimen Alsamarai35-134/+133
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 Kao4-1/+9
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-13meta-kudo: update kernel configure for 5.10Lancelot Kao1-1/+2
update the kernel configure file for 5.10 kernel Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I423ed5a6fa78c43d356d3098e3eb518da1f7476f Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
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 Alsamarai12-0/+314
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: update kudo utilityLancelot Kao2-12/+52
1. Update to support DVT board 2. Support command for console redirection 3. Disable 2nd CPU clock when only 1 CPU is installed 4. Set HPM_STBY_RST_N to High to match dcscm spec Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I300b272587ddc2c7d82aa76196e5db100d02aae2 Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
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-28meta-fii/meta-kudo: Fix reading of CPLD versionMohaimen Alsamarai1-2/+2
Fix reading of CPLD versions Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I0557905dfa08080da19a0ff836a9014d6e54a9ac Signed-off-by: Xiaopeng Chen <xiao-peng.chen@fii-na.com>
2021-07-27meta-fii/meta-kudo: Modify kudo-fw.sh to check if utilities existXP Chen1-2/+53
Modify kudo-fw.sh for better flash failure detection Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Id9418a8fc162e1fa1dc8f8eb0714337785526972
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: add adm1266 flashMohaimen Alsamarai2-4/+31
add unbind adm1266 driver to support the flash Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I4221e646279b41b84c1d2be89ad3fb0df2220407
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-26foxconn-ipmi-oem: srcrev bump 163226efd0..35c1ac40e4Andrew Geissler1-1/+1
Mohaimen Alsamarai (2): Revert "Add Fii oem command" Add Fii-oem-ipmi command Change-Id: Iac6bd7eb76c65db930ae992890bfff8189217420 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-25meta-fii/meta-kudo: modify host-powerctrl to start after ssifbridgeXP Chen1-0/+2
Modify the initial script to boot host after the ssifbridge service Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: I76a4d3b08ebd974edc097e4a52cdfc996dc28452
2021-06-18meta-fii/meta-kudo: Set Ampere CPU LPI_FREQ_DisableXP Chen1-0/+2
Add method to disable LPI mode for Ampere CPU when flash kudo bios Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Ieec4b93bceceb9e809482b14686582d0b1cbc971
2021-06-18meta-fii/meta-kudo: Update kudo.conf with latest changesXP Chen1-5/+5
1. Fix kernel_partiton offset after changes to upstream 2. Fix mac address settings for eth1 Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Ia959dadce1c3336e4860c205d5702b186d11beff
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-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+1
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-28meta-fii/meta-kudo: kudo tools updateLancelot Kao3-6/+5
update the recipes-kudo files Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I2ecf2156c0f7533d6d228967f8075cc306af6e00
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-15meta-fii/meta-kudo: Remove unneeded binaries from imageMohaimen Alsamarai1-0/+2
Remove obmc-health-monitor Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I3a842f4a16212d143c8feb6b06ace1f7e074cb1c
2021-05-15meta-fii/meta-kudo: fix packagegroup kudo appsMohaimen Alsamarai2-1/+2
Change the provider(kudo-fw) from virtual-obmc-system-mgmt to virtual-obmc-flash-mgmt to avoid overwrite by other package Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I55fad7c3a778ce9478313cd5303137622ea6741c
2021-05-14meta-fii/meta-kudo: Linux cfg to add max deviceMohaimen Alsamarai1-0/+2
1. Add MAX34440 and MAX31790 to kudo.cfg Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: Id5e3109f5c25224b180974bd8e925ab676ad1b75
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-14meta-fii/meta-kudo: Fix bb file syntaxXP Chen1-1/+0
1. remove FILESEXTRAPATHS_prepend from kudo-cmd.bb Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Ib043c7346a017f970818e5014442dc9e4bceed9d
2021-05-14meta-fii/meta-kudo: Enable PID fan controlĀ Mohaimen Alsamarai2-0/+11
Using phosphor-pid-control Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: Iea73a96bf4d8921d717fcf335ec463d0054089a5
2021-05-14meta-fii/meta-kudo: Add kudo-cmd a collection of kudo system utilsXP Chen4-0/+874
1. Add Kudo.sh, a script for display and controlling kudo system 2. Add kudo-ras.sh for debug Ampere system errors on kudo system Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: I5763e0de4be942b9b851b910448d15135ca9db16 Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-05-13meta-fii/meta-kudo: Modify kudo system initXP Chen4-10/+11
1. Modify kudo-boot.bb with latest sbin 2. Update init_once.sh with modified GPIO pins 3. Fix install for kudo-lib.sh for kudo-fw.bb Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Id91d1325c70721bdc4e9fc7c541d43df33f05806 Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
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-06meta-fii/meta-kudo: Add hardknott compatibilityMohaimen Alsamarai2-2/+2
Setting compatibility to the hardknott openbmc version Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I86786013fcb3ed8614ab0f101ad21a3b1f16f456
2021-05-06meta-fii/meta-kudo: fix bb file name to include gitMohaimen Alsamarai1-0/+0
Add _git to fii-ipmi-oem bb file file Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: Iec68d1f9eebbe9a0aa51d675579012e4ffac2af1
2021-05-06meta-fii/meta-kudo: add fii-ipmi-oem commandLancelot Kao2-0/+27
1. Support PCIe bifurcation information 2. Support BIOS boot count Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I2e9560bae7cd1dc1be680bfb9ef91917aced50e2 Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
2021-05-06meta-fii/meta-kudo: configure kudo system during bmc bootLancelot Kao6-11/+92
1. do initialize during BMC boot Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com> Change-Id: I5d3ff526a973152a96d00433eb86f7d7dd59e2d3 Signed-off-by: Mohaimen Alsamarai <Mohaimen.Alsamarai@fii-na.com>