summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo
AgeCommit message (Collapse)AuthorFilesLines
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
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-31meta-fii: include meta-security to kudo and meta-tpm to moriTom Tung1-0/+1
glome was moved to meta-security layer and libhoth was moved to meta-tpm layer. Change-Id: I4bcfb78948da25b90e02a1db786937484c09d93f Signed-off-by: Tom Tung <shes050117@gmail.com>
2023-08-10meta-fii: meta-kudo: Add meta-tpm layerAnthony1-0/+1
meta-google layer now requires meta-tpm layer. Tested: kudo machine can be built Signed-off-by: Anthony <anthonyhkf@google.com> Change-Id: I7f5a7c43c5123a155090c171864d6e0afaf02fc2
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-07-21meta-fii: meta-kudo: Remove host status check for resetJonico Eustaquio1-4/+0
As part of performing a reset instead of DC cycling when reboot is called from the host. Remove the check on host status since previously it would prevent a host reboot. Change-Id: Id4b7888ebcb87c42cd46363b883d88ffa851d67e Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
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: Fix kudo.sh usb errorKyle Nieman1-4/+4
1. Fix syntax error resulting in "command not found" when calling "kudo.sh usb" 2. Correct device address typo in print statement 3. Display only the udc that exist Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com> Change-Id: Ic9446eccf864fc518043fc0f1f16098d50415202
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-03-11meta-phosphor: add offset for uboot environmentPatrick Williams1-0/+1
The previous static-image building code only confirmed that the u-boot image was smaller than the offset for the kernel image, but most systems place the u-boot environment after the u-boot image. It is possible that we have a u-boot image bigger than the u-boot partition, which is then overwritten on boot by the u-boot env. Check for this at image build time and prevent it from happening. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3a1e6654272cedb3e840bbea4771ae4e464c4ecd
2023-02-23foxconn-ipmi-oem: srcrev bump 46f2ae161b..40553244bdAndrew Geissler1-13/+5
Willy Tu (1): build: Migrate to meson and add clang-format Change-Id: I846dae5a4a17cebb869e23b1ff507a31f2fe4877 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
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>
2023-02-10foxconn-ipmi-oem: srcrev bump 9d6c4010b5..46f2ae161bAndrew Geissler1-1/+1
Willy Tu (1): Remove Foxconn owners to test Gerrit Owner plugins Change-Id: I5681d9a35ab8566ad1f1e01b4c0b91022541d031 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-01-27meta-fii: update service files with recent refactoringAndrew Geissler2-4/+4
As noted in the following mailing list thread: https://lists.ozlabs.org/pipermail/openbmc/2022-November/032457.html and implemented via this series of commits: https://gerrit.openbmc.org/q/topic:op-power-control-ref Some systemd services had their names changed. Update the service files in this repo to reflect this. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I3667e6aed0d6c7ac01b0f2d1c7dee7e645df8235
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-11-28rename obmc-op-control-power to phosphor-skeletonAndrew Geissler1-1/+1
This power control implementation is not specific to openpower systems (as seen by the variety of systems including it) so rename it to something more appropriate. This is using code from skeleton which is not ideal but that's a change for another day. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iffe6427b5494558b53cd6f5716a08cce82cb90d8
2022-11-09meta-fii: meta-kudo: Generalize I2C bus for ADM1266Kyle Nieman2-2/+5
ADM1266 executables now take I2C bus as a command line argument instead of being hardcoded, so they can be utilized by additional projects. Overview of changes: 1.)kudo-fw.sh - Modify call to ADM1266 to pass I2C bus 2.)kudo.sh - Modify call to ADM1266 to pass I2C bus Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com> Change-Id: I266818d3d57dd019ca0b8a78638e0f5f5a1d60b9
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-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams2-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-07-28meta-fii: meta-kudo: Add PVT definitions to kudo-lib.shCharles Boyer1-1/+2
The BOARDVER_PVT_LAST is used to indicate the last value of PVT version. The GPIO line name (BACKUP_SCP_SEL) replaces GPIO number 168. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I9057371597996cdcf620cb79d94b7e72356a535b
2022-07-26meta-fii: meta-kudo: Add kudo-lib.sh source to kudo-fw-ver.shCharles Boyer1-0/+3
Add the missing shellcheck source path to kudo-lib.sh for the references to I2C_BMC_CPLD and I2C_MB_CPLD arrays. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I97606afdf59caea3695428839d8806a96198ee96
2022-07-21meta-fii: meta-kudo: Edit Entiy Map PCIe InstanceGrant Williams1-8/+8
Editing kudo_entity_association_map json so that PCIe Instance number matches the i2c bus number. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I2c480ae288f9a9a4281d54bd4e1b3131bb427836
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-07meta-fii: meta-kudo: CPLD version byte shiftGrant Williams1-2/+2
Adjust CPLD aux version by shifting byte from 2 to 5 to 1 to 4 cmd: kudo.sh fw Before change: BMC_CPLD: 0.0.15.0 [5], [4], [3], [2]. the [5] is null Post change: BMC_CPLD: 0.15.0.0 [4], [3], [2], [1] Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I518ddb5e739fb73876f325b44b0104210a48c09c
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-05meta-fii: meta-kudo: Version bump and interpret version as decimalCharles Boyer2-4/+4
The version value used to be interpreted as hexadecimal for IPMI and then was changed to decimal to match Redfish. This will change the interpretation to decimal and increment to the next version. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I9e3513c7e51186bdbdbc2f3526a8e1dd0edf808d
2022-05-04meta-fii: meta-kudo: Updates for kudo fw and sys utilitiesKarthikeyan Sundaram2-0/+13
kudo.sh: Show which SCP EEPROM is used in (fw) option kudo-lib.sh: Added get_scp_eeprom() function Signed-off-by: Karthikeyan Sundaram <karthikeyan.sundaram@fii-na.com> Change-Id: I686ff6b3bf9ab8ef7434ab44f0668912bfffb9b2
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-05-04meta-fii: meta-kudo: Remove append from usb-network recipeGrant Williams1-2/+2
Replace append directive with += in usb-network bb recipe Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I57d40a40a3f9f50e0ec52f4f53a10b261f655097
2022-05-04meta-fii: meta-kudo: Add board version limits to kudo-lib.shCharles Boyer2-2/+6
Replaces the hardcoded board version limits with reference to name in kudo-lib.sh for Kudo layer. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I69a2a157d5f49f474b06bbc15d15377371fffcf2
2022-04-30treewide: remove meta-perlPatrick Williams1-1/+0
The only recipes which use content from meta-perl are openpower machines: ``` meta-openpower/recipes-bsp/pdata/pdata_git.bb: libxml-libxml-perl-native \ meta-yadro/meta-nicole/recipes-phosphor/logging/openpower-esel-parser_git.bb: libxml-libxml-perl-native \ ``` Remove meta-perl from the bblayers of every layer except openpower machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I51f1a8fbfbe879295c64d2339fc115dbd8823681
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-22treewide: drop unused meta-security layerBrad Bishop1-1/+0
This was added with cde0f094f for libseccomp, but shortly after that upstream moved libseccomp from meta-security to core (241c7d2e6). As such, meta-security is no longer used or required. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
2022-04-21meta-fii: meta-kudo: Use I2C array definitions in kudo-lib.shCharles Boyer7-62/+81
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 Boyer3-23/+13
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 Boyer6-100/+118
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-16meta-fii: kudo: Hotswap after targetWilliam A. Kennington III1-6/+2
We want it to be possible to order units prior to the powercycle event if state needs to be persisted prior to a powercycle. We also no longer need the logic to handle waiting for the delay as this is now part of the global target logic. Change-Id: Icba008e66c81834a65099a25b1af4f7bde4e94b5 Signed-off-by: William A. Kennington III <wak@google.com>
2022-04-13meta-fii: meta-kudo: Replace append directive with += in scp-updateAshwin Murali1-2/+2
Replace append directive with += in kudo-scp-update bb recipe Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I3d207f3aae5a504ac570472d0848e40a4699cbe7
2022-04-13meta-fii: meta-kudo: Update recipes cpld-updateGrant Williams1-2/+2
Replace append directive with += in kudo-cpld-updates bb recipe Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: If5c63210a5195033b182aade3c995e39225a6597
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-12treewide: Update BB_DISKMON_DIRS useGeorge Liu1-4/+4
Per [1][2], Yocto is starting to deprecate ABORT and has replaced the "ABORT" action in BB_DISKMON_DIRS entries with "HALT". 1. https://wiki.yoctoproject.org/wiki/Inclusive_language 2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5 Tested: Built obmc-phosphor-image successfully and eliminate the following warnings: ``` WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
2022-04-08meta-fii: meta-kudo: Fix shellcheck errorsCharles Boyer10-115/+131
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: Modify Hex to Dec conversionAshwin Murali1-2/+2
Fix an issue where the SubMajor version was not converted correctly from Hex to Dec. Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I38d9d7e93652696b9674a8719d751325160b4f13