summaryrefslogtreecommitdiff
path: root/meta-facebook
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21meta-facebook: add packagegroup-security-tpm2 when tpm2 is enabledPotin Lai1-1/+1
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I3e576e5f9f831a4f73cf9d048859f37d471f3ed7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-12-20meta-yosemitev2: fixing the build warnings.Logananth Sundararaj1-8/+8
while applying the patch facing some build warnings. Tested : Tested in Yosemitev2. Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: I1544059d205413823e148eff1a56b994ca2b05c1
2021-12-20meta-bletchley: add led managerPotin Lai3-0/+109
add support of phosphor-led-manager for Bletchley Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I4c27fb1a7658b89ff20f8f2ee4c38ae5bd17ffc0
2021-12-17meta-facebook: fb-ipmi-oem: add pkgconfigPatrick Williams1-1/+1
This is required by newer versions of Yocto. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7011bb03b3a384903f44154d2ea2a8f283afd237
2021-12-15meta-bletchley: Enable kernel configs for platform-specific devicesHoward Chiu2-0/+29
1. AST26xx ADC driver 2. AST26xx PWM v14 driver 3. AST26xx Tach driver from Aspeed-linux 4. Enable driver for PHY fixed link 5. HDC1080 humidity sensor driver 6. PCF85363 RTC driver 7. FUSB302 USB-PD PHY driver 8. MP5023 HSC driver 9. DEVMEM driver for early debug purpose Signed-off-by: Howard Chiu <howard.chiu@quantatw.com> Change-Id: Ib87de12cabd5aef4ef8bd25ac3451a1df56d3fc1
2021-12-15meta-bletchley: add phosphor-nvmeHoward Chiu3-0/+45
Use phosphor-nvme to monitor the temperature of NVMe SSD on each sled Signed-off-by: Howard Chiu <howard.chiu@quantatw.com> Change-Id: Ib61dca1742f66b93cab7bee86b27b33cc7dce969
2021-12-10meta-yosemitev2: Fixing the u-boot console debugging.Logananth Sundararaj2-70/+48
Removed the debug uboot console prints. Initialized the baudrate to 57600. Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: Ia6cd59e3d6a8a0d73d6a6113c60e13bba0f90b22
2021-12-06meta-yosemiteV2:Fix x86-power-ctrl config filesLogananth Sundararaj4-16/+16
Corrected invalid gpio configurations for YosemiteV2. Dbus based gpio config change due code logic change in ipmbgpiosensor. Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: I8bafd6b077471ef9910954d1342274fc075274fa
2021-12-02x86-power-control: Switch to meson buildJason M. Bills1-1/+1
Change-Id: Ia32f0baf56fb7a3e035198ece7e74fe18f8fa05c Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov3-43/+0
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required. As it said by Yocto documentation it can be used by `Hob` https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE that already removed since Yocto-2.1 https://www.yoctoproject.org/tools-resources/projects/hob Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-11-17meta-facebook:Added timezone support.Logananth Sundararaj2-0/+4
Changed the default timezone as PST, minimal core-region timezone files are installed. TESTED: Tested and verified in YosemiteV2 Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: Ia05987c5c68c831aab5b4ae3bd953a03f368cf89
2021-11-10meta-facebook: simplify SERIAL_CONSOLESPatrick Williams4-6/+2
The majority of our hardware uses ttyS4 and 57600. Rather than have each machine specify this, put it into a generic "facebook" override as the default for all our machines. Assuming OVERRIDES is set correctly, machines can still make specific overrides as alternatives. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id8b704163dc57d94e27481dba7aef1bdf66aeee5
2021-11-10meta-facebook: revamp OVERRIDESPatrick Williams6-10/+12
Ensure OVERRIDES are specific, MACHINE or DISTRO, rather than extending the primary OVERRIDES variable. Fix the order so that the variables are ordered from least-specific to most-specific since bitbake applies overrides in increasing order. This makes it so that 'fb-withhost' is applied before 'fb-compute-multihost' is applied before 'yosemitev2'. Thus, if a recipe has a specialization for 'yosemitev2' it is used rather than the weaker specialization for 'fb-withhost'. Tested by checking the OVERRIDES and MACHINEOVERRIDES for Bletchley, Tiogapass, and Yosemitev2 to verify they look correct. ``` MACHINEOVERRIDES="armv7a:aspeed:aspeed-g6:fb-nohost:bletchley" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-singlehost:tiogapass" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-multihost:yosemitev2" ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5fa38de29c748e4ceafd5ef5c831b4f6434ea01
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams2-0/+3
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-11-04meta-facebook: fix shellcheck issues in scriptsPatrick Williams3-65/+66
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I62cf17d414795e91d673d468a196d4f0a6c0a71b
2021-10-26treewide: remove obmc-system-mgmt featurePatrick Williams2-3/+0
Every machine layer treats 'system-management' as either part of a package-group or removes the feature. The sample implementation in meta-phosphor is a do-nothing shell script (and up until recently was a Python script). There appears to be no useful purpose to this feature as a stand-alone concept, so remove it. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams2-2/+2
Modify the machine meta-layer configs to remove the use of the OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES variable instead. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
2021-10-25fb-ipmi-oem: srcrev bump 35d12546ca..dd0415b507Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Iffaa976f9522a806bbef6d257fd72e8b81d4b154 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-23meta-yosemiteV2:Add x86-power-ctrl config files for multi hostLogananth Sundararaj5-0/+219
These config files contains the gpio configuartion which will be used by the x86 power control. PGood config is dbus based gpio configuration is added for all hosts. TESTED:Tested and verified in YosemiteV2. Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: I94c12545b26ac3bae8226ac6434e61c7c1ee9e06
2021-10-16fb-ipmi-oem: srcrev bump 485f9b31cb..35d12546caAndrew Geissler1-1/+1
Patrick Williams (1): catch exceptions as const Change-Id: I98ce5f5a6f3fe329f0240ac140c2a7889120bee8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-16treewide: fix comments for rpm/ipkPatrick Williams3-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
2021-09-13meta-facebook: switch to ipk packagesPatrick Williams3-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I75f71a404016949179cca78605ae5be4613249e3
2021-09-04phosphor-host-ipmid,fb-ipmi-oem: srcrev bumpsPatrick Williams1-1/+1
phosphor-host-ipmid: srcrev bump d1bd8c48c0..7a3296df0c Arun P. Mohanan (1): Add check for reserved sensor number Chanh Nguyen (1): chassishandler: Support Hard Reset command Hieu Huynh (1): Implement the set/get system boot option parameters 0x04 P Dheeraj Srujan Kumar (1): NULL check before pointer dereference Patrick Williams (1): exception: switch to public sdbus exception Vernon Mauery (4): Use SecureString where there is data to be cleansed Add a SecureBuffer class properly handle unexpected exceptions Rewrite Set User Password command with new API fb-ipmi-oem: srcrev bump 58c1ca2f7c..485f9b31cb Patrick Williams (1): biccommands: use SecureBuffer for IPMB call Change-Id: I4df3dbda793f9ebab5e898d3c5556b1dfe05b247 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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-08-31meta-facebook: move rsyslog redfish config from tiogapassPatrick Williams5-0/+0
The rsyslog configuration previously done in tiogapass is necessary for Redfish event logs. Move this to be used by all machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib2315287b17ee68ba18a24c9f67f7446ead9b65a
2021-08-25meta-bletchley: enable tpm2-toolsPatrick Williams4-0/+11
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams4-4/+4
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-11meta-facebook: increment CONF_VERSIONPatrick Williams3-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iefe6488f6447fb3976c8f9597674227e83ad8b83
2021-08-11meta-facebook: more prep for new override syntaxPatrick Williams11-86/+208
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
2021-08-10Remove redundant code to set root passwordJoseph Reynolds3-15/+3
Background: The OpenBmc project default root account password is set in meta-phosphor/conf/distro/include/phosphor-defaults.inc and can be customized in each layer's local.conf file. Many of these local.conf.sample files had redundant code to set the password, which probably should not have been there. Removing them allows the defaults in phosphor-defaults.inc to take effect. Tested: No. Only meta-ibm was tested. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Change-Id: I76dce00d269d7afa005d7bcfd63f846d3cf45596
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams36-107/+107
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-08-05meta-bletchley: configure 57600 baudrateHoward Chiu3-0/+41
Specific patch for bletchley only Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849 Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
2021-07-30meta-facebook: phosphor-sel-logger: Use packageconfigWilliam A. Kennington III1-3/+1
This makes it possible for us to change out build specific settings. Change-Id: Iebcf178e7f392381d06480c72a193907b3a61f96 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-16meta-facebook: fix IPMB channel nameKumar Thangavel1-1/+1
TESTED: Tested and verified in YosemiteV2. Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I7bbea7c0caf51fc1fc4acfc6923a795e8b280e6e
2021-07-12meta-bletchley: remove image-mklibsPatrick Williams1-4/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5c3926bd7f021abec612015b5b4f69d9ca2aeb01
2021-07-01meta-facebook: bletchley: add valid virtual-sensor configPatrick Williams1-0/+1
phosphor-virtual-sensors was crashing on bletchley due to an empty file, which is invalid JSON. Add a valid JSON file, which is just an empty array, instead. Tested: Ran in QEMU and ensured service no longer crashes. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibf30771a158344cbce519260d44ea945a0e12723
2021-06-23meta-facebook: bletchley: enable u-boot SPLPatrick Williams1-1/+2
The latest u-boot no longer boots on AST2600 without enabling the SPL. Port the changes from commit d84b7f4455406807637b7fecf9e96b73e17fcf62 and tested in QEMU. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5ce3f3a97d44ae58c54e3d44251726a84fcc6098
2021-06-15meta-facebook: Add rsyslog for Redfish.Jayashree Dhanapal1-1/+16
Added template for Redfish format in rsyslog conf file to save the journal entry as Redfish event. Tested : Verified journalctl log in tiogapass using Redfish. Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: Ic09530c824e65c5dd27fc4c6dac5a385370bdadc
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III2-4/+2
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-06-04meta-facebook: bletchley: create basic machinePatrick Williams6-0/+285
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5801ad2ce5b7e421a62619c57787465bfa585e95
2021-06-04meta-facebook: remove console for nohostPatrick Williams2-0/+8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I629b298d659f5e593e2b04e702ccfe92867d1c1d
2021-06-04meta-facebook: fb-apps: change deps for nohostPatrick Williams1-5/+13
Further refine the dependencies in packagegroup-fb-apps to ensure some host management applications are not installed for the 'nohost' flavor. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2a453fca817f9fa48da934927f39b2ac999056a7
2021-06-04meta-facebook: prep for host-less machinesPatrick Williams4-8/+19
Create config files that split "nohost" and "withost" variants of facebook machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I23460d8da076d02ebb6e5105b80244ca8a5681a4
2021-04-30meta-facebook:Yv2:add ipmi channel config for OCP debug cardManikandan Elumalai1-0/+7
Tested: Tested in Yosemitev2 with OCP debug card. Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I6260a84862f71012dc07cea372dccea02de77f54
2021-04-23meta-facebook: yv2: fix chassis-system-reset.servicePatrick Williams1-1/+1
Fixes 4c0316fe388c2a623f5ed20a22b42927bcbf41b1. Version of service file with bad syntax was committed, which prevents yv2 from being able to even run `bitbake`. Fixed syntax of systemd service file provided for yv2. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I54c7a5045fa7184c9a6618586992d3e065c4f9d9
2021-04-22fb-ipmi-oem: srcrev bump f0cf66586b..58c1ca2f7cAndrew Geissler1-1/+1
Kumar Thangavel (1): Fix build Failures in postcode handler. Patrick Williams (2): MAINTAINERS: update file build: build biccommands always Change-Id: I5e93e43525141edef17712ca1dc47448e3b06215 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-22yosemitev2: Add sled cycle support for meta-yosemitev2Jayashree-D1-0/+11
This change provide support for sled cycle implementation in meta-yosemitev2. TESTED: Tested and verified in YosemteV2. The sled cycle functionality is working as expected in yosemitev2. Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I097b42b2df4606fddbfaff27263e26ce4d96fa52
2021-04-08fb-ipmi-oem: srcrev bump c723d6a591..f0cf66586bAndrew Geissler1-1/+1
Jayashree-D (1): Add boot order configuration support for yosemitev2. Change-Id: I7a262132dcd900b4f9d71af05a521c8cf63abe56 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-07Add Airflow virtual sensor supportKumar Thangavel4-0/+109
Added support in the machine layer for Airflow sensor as virtual sensor. TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. Verified the airflow sensor values in the phosphor-virtual-sensor dbus objects. Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I46b377cc119a31f76286ba2d03f14764f578283f
2021-04-06hardknott: yocto releaseAndrew Geissler3-3/+3
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163