summaryrefslogtreecommitdiff
path: root/meta-fii
AgeCommit message (Collapse)AuthorFilesLines
2022-11-28rename obmc-op-control-power to phosphor-skeletonAndrew Geissler2-2/+2
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-09meta-fii: meta-mori: 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.)mori-fw.sh - Modify call to ADM1266 to pass I2C bus 2.)mori.sh - Modify call to ADM1266 to pass I2C bus Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com> Change-Id: Id9d5e7d829557a30d929dad119326ac16e901c9b
2022-11-02Remove PACKAGECONFIG for nic-ethtoolJason M. Bills2-2/+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-10-27meta-fii: meta-mori: Set up phosphor-led-managerVincent Chou8-0/+106
Summary of changes: 1. Create a yaml file to set up the action of SYSTEM BOOT STATUS LED 2. Add bb file to install yaml to phosphor led manager package 3. Add a script to control the SYSTEM BOOT STATUS LED corresponding to the OS status 4. Set up phosphor led sysfs so the physical led can be controlled 5. Set CHASSIS TARGET to none to remove unnecessary service call to obmc-led-group-start/stop@power_on/off. Signed-off-by: Vincent Chou <vincent.chou@fii-na.com> Change-Id: Ia7b136c52518a1e2af6662ffc42b4f72b3e15584
2022-10-14treewide: more obmc-host-ctl cleanupsPatrick Williams1-1/+0
obmc-host-ctl is defined as a MACHINE, DISTRO, and IMAGE feature. The IMAGE feature pulls in a virtual provider only if the COMBINED feature (MACHINE + DISTRO) is enabled. This is only done on openpower machines. There are a lot of other places where machines are half-way disabling this feature and/or changing variables which have zero effect anyhow. Clean up almost all references to `obmc-host-ctl`. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I090d782bb6a34dc4e3c43df97e8ccf6e1812fed5
2022-09-30add langdale to compatible layerAndrew Geissler3-3/+3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-21meta-fii: meta-mori: add phosphor console packageGrant Williams8-6/+75
Add phosphor console mori_uart_mux_ctrl script,obmc-console service files, and .conf files - Added console feature for host & mpro - Added mori_uart_mux_ctrl.sh to set gpio S0_UART0_BMC_SEL and S0_UART1_BMC_SEL allowing routing between host & mpro consoles to bmc - Added host_console_uart_configuration.service so that it runs before obmc-console. Set it to require multi-user.target, which is also required by obmc-console. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I5d7002c20c5d1b87fa5c78e69b0885fc635c6145
2022-09-15meta-fii: meta-mori: Add u-boot configurations for moriAshwin Murali4-0/+37
Summary of Changes: - Add basic fw_env.config for Nuvoton system. - Add u-boot configuration file Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I3e0f44b965ee402c105e4020c41235ebebda375b
2022-09-15meta-fii: meta-mori: Add phosphor-state-manager configurationsCharles Boyer4-0/+70
Summary of Changes: - Add custom Chassis and Host services - Enable Host Condition GPIO using host0-ready Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I74330028d4ce20d8abf4d6a5169c1bc6c491c7d4
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams2-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 Williams4-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-08-23meta-fii: meta-mori: Add I2C arrays of power regulators in mori-lib.shKyle Nieman1-0/+2
Defined I2C bus and address for ADM1272(HOTSWAP_CTRL) and PM6764(STBUCK). Added to prevent hardcoding and promote modularity. Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com> Change-Id: I6bd3e993d944e87b9242d6237850d2a4b0e30ada
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-22meta-fii: meta-mori: Consolidate kernel configurationsCharles Boyer1-46/+28
For the upgrade to Kernel 5.15.29, - Consolidate the configurations between those required to be added and those already included - Organize the configurations into categories Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ia0df58344772af576e9ddb5346d8d505ce11fd1b
2022-07-22meta-fii: meta-mori: Add phosphor-buttons and gpio_defs.jsonCharles Boyer3-0/+37
Adds the packages to support the button handler and signals. Add the GPIO definitions for obmc-libobmc-intf of the skeleton repository. The GPIOs configured are, - PGOOD: Host power good - POWER_BUTTON: Power button input - RESET_BUTTON: Reset button input Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I1a8ca713c00b7220793c58b1695ae680882a3404
2022-07-22meta-fii: meta-mori: Add pwm_init packageAshwin Murali4-0/+71
Add pwm_init service to set fans to pwm mode and initialise them to a value of 50% on boot. Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I07963eda9b0c264e66d1dd4f2a0d31f4e74d831e
2022-07-22meta-fii: meta-mori: Add Entity MapGrant Williams3-0/+41
Adding Mori Entity Association Map .bb and .json files. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I3e090f9cc4258d0215a1af836ea8d85e7b852483
2022-07-22meta-fii: meta-mori: Add ipmi flash and firmware update servicesGrant Williams12-0/+207
Adding bios update, bmc update, cpld update, and phosphor ipmi flash packages Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I5543f520f710e065a476999991a48bdaf0544c0c
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-07-20meta-fii: meta-mori: Add mori-boot and mori-cmdCharles Boyer6-0/+369
Summary of Changes: - Add basic mori.sh tool - Add mori-boot for host and switch initialization Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2cee6a2b6a15a1e2f9a53baf331fb452f73f080d
2022-07-15meta-fii: meta-mori: Add mori-fw-utility filesGrant Williams6-0/+284
Add the mori-fw file and package in packagegroup. Supports: CPLD, BIOS, and Bootstrap flashing. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I5541af3d07c01a0602f7794c5f1b6610622e93ee
2022-07-15meta-fii: meta-mori: Add phosphor-ipmi-blobs-binarystoreAvenash Asai Thambi3-0/+15
Add phosphor-ipmi-blobs-binarystore package with the config support for Mori. The EEPROM is at bus 4 behind mux channel 3 as virtual bus 42 and its address is 0x55. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I071488261f97311ea094c4b575134361da4ad272
2022-07-15meta-fii: meta-mori: Add phosphor image packageGrant Williams1-1/+41
Add phosphor image obmc-phosphor-image bbappend file. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I170ef615677f69ff570673a3343995f8efa393a3
2022-07-13meta-fii: meta-mori: Update conf filesCharles Boyer3-5/+35
Summary of Changes: - Add BBLAYERS for security, phosphor, nuvoton, google, and mori - Remove BBLAYERS_NON_REMOVABLE - Add LAYERDEPENDS for mori-layer - Add mori u-boot device tree - Use obmc-phosphor-image appends instead of packagegroups Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I7f3ae13678f36581df5abaf7ba95220a0859843d
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-30meta-fii: meta-mori: Add bmcweb optionsAshwin Murali1-0/+4
1. Enable Dump log service transactions through Redfish 2. Enable BMC journal access through Redfish Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I92dcd5e6ae1ec72cf70be0d6267fb7074c4f9e18
2022-06-30meta-fii: meta-mori: Adding hotswap power cycleGrant Williams2-0/+31
Adds hotswap power cycle features. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: Iadb9a312420a1fe70d5c2a31640b7cd2bda480a4
2022-06-30meta-fii: meta-mori: Add nic-ethtoolGrant Williams1-0/+1
Adding NIC-ethtool packageconfig to the phosphor-network bbappend file Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I10ee053a9daa49493d16851a583b7a699fe71df4
2022-06-30meta-fii: meta-mori: Add SEL Logger ConfigurationGrant Williams2-1/+3
Enables monitoring of Threshold, pulse, and watchdog systems. clear-sel packageconfig requires sel-logger-clears-sel phosphor-ipmi-host packageconfig Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I6cbd7492562ae96b97787e6c7578ad95bfc5a8f0
2022-06-28meta-fii: meta-mori: Add smbios configurationGrant Williams2-0/+5
Add the smbios-mdr configuration for Mori. cpuinfo: removed due to libpeci binaries dependency smbios-ipmi-blob: extracts SMBIOS table data Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: Ibeff229ece565925f142a1f34b8f4748fe74860a
2022-06-28meta-fii: meta-mori: Add rsyslog configurationsGrant Williams6-0/+157
Add the recipes-extended file containing the rsyslog configuration. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I58c42c613111363db0d783aa5338a72a9f2004d3
2022-06-24meta-fii: meta-mori: Add phosphor-ipmi-configAvenash Asai Thambi2-0/+8
Add phosphor-ipmi-config package with the config for mori machine. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I697de45514757a5d45fdf4263d2dedcdea910584
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-19meta-fii: meta-mori: Override chassis capabilities settingsCharles Boyer2-0/+25
This commit adds the settings for the IPMI Chassis Capabilities command. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2fe225a49f960eaa29d6a2d598cde77998ab28a2
2022-05-11meta-fii: meta-mori: Add mori kernel confAshwin Murali2-0/+131
Add mori kernel conf Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I13807a55806a8fa6348879bbd27e02e9888aff1c
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-30meta-fii: Add Charles Boyer as an OWNERCharles Boyer1-1/+1
Remove Mustafa Shehabi and add Charles Boyer Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ie7a642334e77d3896ddd999b7bcdf52304efff48
2022-04-30treewide: remove meta-perlPatrick Williams2-2/+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 Bishop2-2/+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